hf_tokenizers 0.1.1
hf_tokenizers: ^0.1.1 copied to clipboard
HuggingFace tokenizers for Dart over FFI. Load any tokenizer.json and get byte-exact BPE, WordPiece, and Unigram encoding, backed by the Rust crate.
0.1.1 #
- Rename the example to
example/hf_tokenizers_example.dartso it is found under the package's published name. - Shorten the pubspec description so it fits pub.dev's 180-character guideline.
0.1.0 #
- Initial release.
Tokenizer.fromFile/Tokenizer.fromBytes: load any HuggingFacetokenizer.json, backed by the Rusttokenizerscrate over FFI.encode/decode: byte-exact token ids and round-trip text.vocabSize, prompt native cleanup viaclose()plus a finalizer.- Platform: macOS (arm64) in this release; other platforms to follow as the build hook gains prebuilt/CI coverage.