Upload LGAI-EXAONE_K-EXAONE-236B-A23B_0.txt with huggingface_hub
Browse files123456789101112131415161718192021222324252627282930313233343536```CODE: # Use a pipeline as a high-level helperfrom transformers import pipeline
pipe = pipeline("text-generation", model="LGAI-EXAONE/K-EXAONE-236B-A23B")messages = [ {"role": "user", "content": "Who are you?"},]pipe(messages)```
ERROR: Traceback (most recent call last): File "/tmp/.cache/uv/environments-v2/70e3935133a397ad/lib/python3.13/site-packages/transformers/models/auto/configuration_auto.py", line 1384, in from_pretrained config_class = CONFIG_MAPPING[config_dict["model_type"]] ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/.cache/uv/environments-v2/70e3935133a397ad/lib/python3.13/site-packages/transformers/models/auto/configuration_auto.py", line 1087, in __getitem__ raise KeyError(key)KeyError: 'exaone_moe'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/tmp/LGAI-EXAONE_K-EXAONE-236B-A23B_0o7v97A.py", line 26, in <module> pipe = pipeline("text-generation", model="LGAI-EXAONE/K-EXAONE-236B-A23B") File "/tmp/.cache/uv/environments-v2/70e3935133a397ad/lib/python3.13/site-packages/transformers/pipelines/__init__.py", line 734, in pipeline config = AutoConfig.from_pretrained( model, _from_pipeline=task, code_revision=code_revision, **hub_kwargs, **model_kwargs ) File "/tmp/.cache/uv/environments-v2/70e3935133a397ad/lib/python3.13/site-packages/transformers/models/auto/configuration_auto.py", line 1386, in from_pretrained raise ValueError( ...<8 lines>... )ValueError: The checkpoint you are trying to load has model type `exaone_moe` 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.
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`LGAI-EXAONE_K-EXAONE-236B-A23B_0.txtAdded+36