Packages

Fast Hugging Face tokenizer.json, OpenAI tiktoken, and SentencePiece model bindings for Elixir via the IREE tokenizer runtime

Current section

Files

Jump to
iree_tokenizers test fixtures bytelevel_utf8_split.json
Raw

test/fixtures/bytelevel_utf8_split.json

{
"model": {
"type": "BPE",
"vocab": {
"ð": 0,
"Ł": 1,
"ļ": 2,
"Ģ": 3,
"ðŁ": 4,
"ļĢ": 5
},
"merges": [
"ð Ł",
"ļ Ģ"
]
},
"pre_tokenizer": {
"type": "ByteLevel",
"add_prefix_space": false,
"trim_offsets": false,
"use_regex": true
},
"decoder": {
"type": "ByteLevel",
"add_prefix_space": false,
"trim_offsets": false
}
}