ariG23498 HF Staff commited on
Commit
774fd20
·
verified ·
1 Parent(s): acba6d9

Upload tencent_Hunyuan-0.5B-Instruct_0.txt with huggingface_hub

Browse files
Files changed (1) hide show
  1. tencent_Hunyuan-0.5B-Instruct_0.txt +24 -0
tencent_Hunyuan-0.5B-Instruct_0.txt ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Traceback (most recent call last):
2
+ File "/tmp/.cache/uv/environments-v2/2a6a6f0875dd3018/lib/python3.13/site-packages/transformers/models/auto/configuration_auto.py", line 1271, in from_pretrained
3
+ config_class = CONFIG_MAPPING[config_dict["model_type"]]
4
+ ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
5
+ File "/tmp/.cache/uv/environments-v2/2a6a6f0875dd3018/lib/python3.13/site-packages/transformers/models/auto/configuration_auto.py", line 966, in __getitem__
6
+ raise KeyError(key)
7
+ KeyError: 'hunyuan_v1_dense'
8
+
9
+ During handling of the above exception, another exception occurred:
10
+
11
+ Traceback (most recent call last):
12
+ File "/tmp/tencent_Hunyuan-0.5B-Instruct_039Ya9m.py", line 19, in <module>
13
+ pipe = pipeline("text-generation", model="tencent/Hunyuan-0.5B-Instruct")
14
+ File "/tmp/.cache/uv/environments-v2/2a6a6f0875dd3018/lib/python3.13/site-packages/transformers/pipelines/__init__.py", line 909, in pipeline
15
+ config = AutoConfig.from_pretrained(
16
+ model, _from_pipeline=task, code_revision=code_revision, **hub_kwargs, **model_kwargs
17
+ )
18
+ File "/tmp/.cache/uv/environments-v2/2a6a6f0875dd3018/lib/python3.13/site-packages/transformers/models/auto/configuration_auto.py", line 1273, in from_pretrained
19
+ raise ValueError(
20
+ ...<8 lines>...
21
+ )
22
+ ValueError: The checkpoint you are trying to load has model type `hunyuan_v1_dense` but Transformers does not recognize this architecture. This could be because of an issue with the checkpoint, or because your version of Transformers is out of date.
23
+
24
+ You can update Transformers with the command `pip install --upgrade transformers`. If this does not work, and the checkpoint is very new, then there may not be a release version that supports this model yet. In this case, you can get the most up-to-date code by installing Transformers from source with the command `pip install git+https://github.com/huggingface/transformers.git`