ariG23498 HF Staff commited on
Commit
b7868c6
·
verified ·
1 Parent(s): 4f53936

Upload 18-06-25/openbmb_MiniCPM4-0.5B_0_exception.txt with huggingface_hub

Browse files
18-06-25/openbmb_MiniCPM4-0.5B_0_exception.txt ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Traceback (most recent call last):
2
+ File "/tmp/openbmb_MiniCPM4-0.5B_0DzE7Y5.py", line 17, in <module>
3
+ pipe(messages)
4
+ ~~~~^^^^^^^^^^
5
+ File "/tmp/.cache/uv/environments-v2/51060ff1fc6c0ad6/lib/python3.13/site-packages/transformers/pipelines/text_generation.py", line 295, in __call__
6
+ return super().__call__(Chat(text_inputs), **kwargs)
7
+ ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8
+ File "/tmp/.cache/uv/environments-v2/51060ff1fc6c0ad6/lib/python3.13/site-packages/transformers/pipelines/base.py", line 1431, in __call__
9
+ return self.run_single(inputs, preprocess_params, forward_params, postprocess_params)
10
+ ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
11
+ File "/tmp/.cache/uv/environments-v2/51060ff1fc6c0ad6/lib/python3.13/site-packages/transformers/pipelines/base.py", line 1437, in run_single
12
+ model_inputs = self.preprocess(inputs, **preprocess_params)
13
+ File "/tmp/.cache/uv/environments-v2/51060ff1fc6c0ad6/lib/python3.13/site-packages/transformers/pipelines/text_generation.py", line 331, in preprocess
14
+ inputs = self.tokenizer.apply_chat_template(
15
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
16
+ AttributeError: 'NoneType' object has no attribute 'apply_chat_template'