Module rust_tokenizers::adapters [−][src]
Expand description
Adapter helpers to load datasets
While this crate does not aim at providing built-in support for loading dataset, it exposes a few adapters for testing and benchmarking purposes (e.g. for SST2 sentence classification)
Structs
SST2 sample
Enums
Sentiment analysis label
Functions
Reads a SST2 dataset file and returns a vector of SST2 examples