Skip to content

Commit a414762

Browse files
committed
Update conversion script, add vocab of model
1 parent 0512089 commit a414762

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

convert_hf_to_gguf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -892,7 +892,7 @@ def get_vocab_base_pre(self, tokenizer) -> str:
892892
# ref: https://huggingface.co/inclusionAI/LLaDA-MoE-7B-A1B-Base
893893
res = "llada-moe"
894894
if chkhsh == "49fc0303c9e0d2c2c565c510f64b2d9b271276acdcdadff733249eda9f7d59df":
895-
# ref: https://huggingface.co/arcee-ai/AFMoE
895+
# ref: https://huggingface.co/arcee-ai/Trinity-Tokenizer
896896
res = "afmoe"
897897

898898
if res is None:

convert_hf_to_gguf_update.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ class TOKENIZER_TYPE(IntEnum):
140140
{"name": "exaone4", "tokt": TOKENIZER_TYPE.BPE, "repo": "https://huggingface.co/LGAI-EXAONE/EXAONE-4.0-32B", },
141141
{"name": "mellum", "tokt": TOKENIZER_TYPE.BPE, "repo": "https://huggingface.co/JetBrains/Mellum-4b-base", },
142142
{"name": "llada-moe", "tokt": TOKENIZER_TYPE.BPE, "repo": "https://huggingface.co/inclusionAI/LLaDA-MoE-7B-A1B-Base", },
143+
{"name": "afmoe", "tokt": TOKENIZER_TYPE.BPE, "repo": "https://huggingface.co/arcee-ai/Trinity-Tokenizer", },
143144
]
144145

145146
# some models are known to be broken upstream, so we will skip them as exceptions

models/ggml-vocab-afmoe.gguf

6.99 MB
Binary file not shown.

0 commit comments

Comments
 (0)