package
0.1.1
Repository: https://github.com/gomlx/go-huggingface.git
Documentation: pkg.go.dev

# Functions

ParseConfigContent parses the given json content (of a tokenizer_config.json file) into a Config structure.
ParseConfigFile parses the given file (holding a tokenizer_config.json file) into a Config structure.
SpecialTokenString retrieves an enum value from the enum constants string name.
SpecialTokenStrings returns a slice of all String values of the enum.
SpecialTokenValues returns all values of the enum.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Config struct to hold HuggingFace's tokenizer_config.json contents.
No description provided by the author

# Interfaces

Tokenizer interface allows one convert test to "tokens" (integer ids) and back.

# Type aliases

SpecialToken is an enum of commonly used special tokens.