Hugging Face Tokenizer Wrapper
Wraps a HuggingFace tokenizer. These are subword tokenizers meaning they return subword tokens. Instantiated by calling the HuggingFace models name.
Constructors
Link copied to clipboard
public HuggingFaceTokenizerWrapper HuggingFaceTokenizerWrapper(String modelName)
Content copied to clipboard
Link copied to clipboard
public HuggingFaceTokenizerWrapper HuggingFaceTokenizerWrapper(HuggingFaceTokenizer tokenizer)
Content copied to clipboard