CoolFace
Datasetpublic

model-metadata/custom_code_execution_files

sourceHugging Faceupdated 11mo agoView on Hugging Face
1likes4.2kdownloads
tencent_Hunyuan-7B-Instruct_0.txt25 linesDownload Raw Back to root
1Traceback (most recent call last):2  File "/tmp/.cache/uv/environments-v2/4146d04fd154d95d/lib/python3.13/site-packages/transformers/models/auto/configuration_auto.py", line 1271, in from_pretrained3    config_class = CONFIG_MAPPING[config_dict["model_type"]]4                   ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^5  File "/tmp/.cache/uv/environments-v2/4146d04fd154d95d/lib/python3.13/site-packages/transformers/models/auto/configuration_auto.py", line 966, in __getitem__6    raise KeyError(key)7KeyError: 'hunyuan_v1_dense'8 9During handling of the above exception, another exception occurred:10 11Traceback (most recent call last):12  File "/tmp/tencent_Hunyuan-7B-Instruct_0fvToDh.py", line 19, in <module>13    pipe = pipeline("text-generation", model="tencent/Hunyuan-7B-Instruct")14  File "/tmp/.cache/uv/environments-v2/4146d04fd154d95d/lib/python3.13/site-packages/transformers/pipelines/__init__.py", line 909, in pipeline15    config = AutoConfig.from_pretrained(16        model, _from_pipeline=task, code_revision=code_revision, **hub_kwargs, **model_kwargs17    )18  File "/tmp/.cache/uv/environments-v2/4146d04fd154d95d/lib/python3.13/site-packages/transformers/models/auto/configuration_auto.py", line 1273, in from_pretrained19    raise ValueError(20    ...<8 lines>...21    )22ValueError: 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 24You 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`25