sentencepiece-model
SentencePiece model parser generated from the SentencePiece protobuf definition.
use SentencePieceModel;
let model = from_file?;
assert_eq!;
assert_eq!;
Usage
[]
= "0.1"
sentencepiece-model uses prost-build and protoc to generate Rust code from the SentencePiece protobuf definition.
If an existing protoc binary is not found in the path, the build script will download it from the protobuf releases during the first build.