Mila
Deep Neural Network Library
Loading...
Searching...
No Matches
Mila::Data::BpeVocabulary Member List

This is the complete list of members for Mila::Data::BpeVocabulary, including all inherited members.

BpeVocabulary()=delete (defined in Mila::Data::BpeVocabulary)Mila::Data::BpeVocabulary
containsToken(const std::string &token) constMila::Data::BpeVocabularyinline
getByteDecoder() (defined in Mila::Data::BpeVocabulary)Mila::Data::BpeVocabularystatic
getByteEncoder() (defined in Mila::Data::BpeVocabulary)Mila::Data::BpeVocabularystatic
getConfig() const (defined in Mila::Data::BpeVocabulary)Mila::Data::BpeVocabularyinline
getMergePriority(const std::string &left, const std::string &right) const (defined in Mila::Data::BpeVocabulary)Mila::Data::BpeVocabularyinline
getMergeRules() const (defined in Mila::Data::BpeVocabulary)Mila::Data::BpeVocabularyinline
getSize() const overrideMila::Data::BpeVocabularyinlinevirtual
getSpecialTokenId(const std::string &token_str) constMila::Data::BpeVocabularyinline
getSpecialTokenList() constMila::Data::BpeVocabularyinline
idToToken(TokenId id) const overrideMila::Data::BpeVocabularyinlinevirtual
isByteLevel() const (defined in Mila::Data::BpeVocabulary)Mila::Data::BpeVocabularyinline
load(const fs::path &path)Mila::Data::BpeVocabularyinlinestatic
loadGemma(const fs::path &path)Mila::Data::BpeVocabularystatic
loadGpt2(const fs::path &tokenizer_path)Mila::Data::BpeVocabularystatic
loadLlama32(const fs::path &path)Mila::Data::BpeVocabularystatic
loadMistral(const fs::path &vocab_path, const fs::path &merges_path)Mila::Data::BpeVocabularystatic
save(const fs::path &path) const overrideMila::Data::BpeVocabularyinline
Mila::Data::TokenizerVocabulary::save(const std::filesystem::path &path) const =0Mila::Data::TokenizerVocabularypure virtual
tokenToId(const std::string &token) const overrideMila::Data::BpeVocabularyinlinevirtual
train(const std::string &corpus, const BpeVocabularyConfig &config)Mila::Data::BpeVocabularyinlinestatic
trainFromFile(const fs::path &corpus_path, const BpeVocabularyConfig &config)Mila::Data::BpeVocabularyinlinestatic
~TokenizerVocabulary()=defaultMila::Data::TokenizerVocabularyvirtual