mirror of
https://github.com/mii443/tokenizers.git
synced 2025-08-22 16:25:30 +00:00
Update documentation of Rust feature (#1711)
* Update documentation of Rust feature * Synchronize README.md and src/lib.rs
This commit is contained in:
@ -137,3 +137,5 @@ fn main() -> Result<()> {
|
|||||||
**progressbar**: The progress bar visualization is enabled by default. It might be disabled if
|
**progressbar**: The progress bar visualization is enabled by default. It might be disabled if
|
||||||
compilation for certain targets is not supported by the [termios](https://crates.io/crates/termios)
|
compilation for certain targets is not supported by the [termios](https://crates.io/crates/termios)
|
||||||
dependency of the [indicatif](https://crates.io/crates/indicatif) progress bar.
|
dependency of the [indicatif](https://crates.io/crates/indicatif) progress bar.
|
||||||
|
**http**: This feature enables downloading the tokenizer via HTTP. It is disabled by default.
|
||||||
|
With this feature enabled, `Tokenizer::from_pretrained` becomes accessible.
|
||||||
|
@ -125,6 +125,8 @@
|
|||||||
//! **progressbar**: The progress bar visualization is enabled by default. It might be disabled if
|
//! **progressbar**: The progress bar visualization is enabled by default. It might be disabled if
|
||||||
//! compilation for certain targets is not supported by the [termios](https://crates.io/crates/termios)
|
//! compilation for certain targets is not supported by the [termios](https://crates.io/crates/termios)
|
||||||
//! dependency of the [indicatif](https://crates.io/crates/indicatif) progress bar.
|
//! dependency of the [indicatif](https://crates.io/crates/indicatif) progress bar.
|
||||||
|
//! **http**: This feature enables downloading the tokenizer via HTTP. It is disabled by default.
|
||||||
|
//! With this feature enabled, `Tokenizer::from_pretrained` becomes accessible.
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate log;
|
extern crate log;
|
||||||
|
Reference in New Issue
Block a user