@@ -427,6 +427,9 @@ def get_vocab_base_pre(self, tokenizer) -> str:
427
427
# NOTE: if you get an error here, you need to update the convert-hf-to-gguf-update.py script
428
428
# or pull the latest version of the model from Huggingface
429
429
# don't edit the hashes manually!
430
+ if chkhsh == "0ef9807a4087ebef797fc749390439009c3b9eda9ad1a097abbe738f486c01e5" :
431
+ # ref: https://huggingface.co/meta-llama/Meta-Llama-3-8B
432
+ res = "llama-bpe"
430
433
if chkhsh == "049ecf7629871e3041641907f3de7c733e4dbfdc736f57d882ba0b0845599754" :
431
434
# ref: https://huggingface.co/deepseek-ai/deepseek-llm-7b-base
432
435
res = "deepseek-llm"
@@ -454,12 +457,18 @@ def get_vocab_base_pre(self, tokenizer) -> str:
454
457
if chkhsh == "6221ad2852e85ce96f791f476e0b390cf9b474c9e3d1362f53a24a06dc8220ff" :
455
458
# ref: https://huggingface.co/smallcloudai/Refact-1_6-base
456
459
res = "refact"
460
+ if chkhsh == "9c2227e4dd922002fb81bde4fc02b0483ca4f12911410dee2255e4987644e3f8" :
461
+ # ref: https://huggingface.co/CohereForAI/c4ai-command-r-v01
462
+ res = "command-r"
457
463
if chkhsh == "e636dc30a262dcc0d8c323492e32ae2b70728f4df7dfe9737d9f920a282b8aea" :
458
464
# ref: https://huggingface.co/Qwen/Qwen1.5-7B
459
465
res = "qwen2"
460
466
if chkhsh == "b6dc8df998e1cfbdc4eac8243701a65afe638679230920b50d6f17d81c098166" :
461
467
# ref: https://huggingface.co/allenai/OLMo-1.7-7B-hf
462
468
res = "olmo"
469
+ if chkhsh == "a8594e3edff7c29c003940395316294b2c623e09894deebbc65f33f1515df79e" :
470
+ # ref: https://huggingface.co/databricks/dbrx-base
471
+ res = "dbrx"
463
472
if chkhsh == "0876d13b50744004aa9aeae05e7b0647eac9d801b5ba4668afc01e709c15e19f" :
464
473
# ref: https://huggingface.co/jinaai/jina-embeddings-v2-base-en
465
474
res = "jina-v2-en"
@@ -2811,6 +2820,7 @@ def write_tensors(self):
2811
2820
if len (experts ) > 0 :
2812
2821
raise ValueError (f"Unprocessed experts: { experts } " )
2813
2822
2823
+
2814
2824
@Model .register ("T5ForConditionalGeneration" )
2815
2825
@Model .register ("T5WithLMHeadModel" )
2816
2826
class T5Model (Model ):
0 commit comments