Upload ERNIE-4.5-0.3B-PT_0.txt with huggingface_hub
Browse files- ERNIE-4.5-0.3B-PT_0.txt +16 -0
ERNIE-4.5-0.3B-PT_0.txt
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Traceback (most recent call last):
|
| 2 |
+
File "/tmp/ERNIE-4.5-0.3B-PT_0GRQ2TD.py", line 17, in <module>
|
| 3 |
+
pipe(messages)
|
| 4 |
+
~~~~^^^^^^^^^^
|
| 5 |
+
File "/tmp/.cache/uv/environments-v2/61531d63445076a1/lib/python3.13/site-packages/transformers/pipelines/text_generation.py", line 309, in __call__
|
| 6 |
+
return super().__call__(Chat(text_inputs), **kwargs)
|
| 7 |
+
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 8 |
+
File "/tmp/.cache/uv/environments-v2/61531d63445076a1/lib/python3.13/site-packages/transformers/pipelines/base.py", line 1464, in __call__
|
| 9 |
+
return self.run_single(inputs, preprocess_params, forward_params, postprocess_params)
|
| 10 |
+
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 11 |
+
File "/tmp/.cache/uv/environments-v2/61531d63445076a1/lib/python3.13/site-packages/transformers/pipelines/base.py", line 1470, in run_single
|
| 12 |
+
model_inputs = self.preprocess(inputs, **preprocess_params)
|
| 13 |
+
File "/tmp/.cache/uv/environments-v2/61531d63445076a1/lib/python3.13/site-packages/transformers/pipelines/text_generation.py", line 345, in preprocess
|
| 14 |
+
inputs = self.tokenizer.apply_chat_template(
|
| 15 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 16 |
+
AttributeError: 'NoneType' object has no attribute 'apply_chat_template'
|