You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
INFO 03-20 14:38:29 init.py:190] Automatically detected platform cuda.
03/20 14:38:30 - OpenCompass - INFO - Try to load the data from /home/wzp/.cache/opencompass/./data/math/
Traceback (most recent call last):
File "/cx8k/fs100/wzp/code/opencompass/opencompass/tasks/openicl_eval.py", line 475, in
inferencer.run()
File "/cx8k/fs100/wzp/code/opencompass/opencompass/tasks/openicl_eval.py", line 86, in run
self._score()
File "/cx8k/fs100/wzp/code/opencompass/opencompass/tasks/openicl_eval.py", line 179, in _score
pred_strs = [proc(s, **kwargs) for s in pred_strs]
File "/cx8k/fs100/wzp/code/opencompass/opencompass/tasks/openicl_eval.py", line 179, in
pred_strs = [proc(s, **kwargs) for s in pred_strs]
File "/cx8k/fs100/wzp/code/opencompass/opencompass/utils/text_postprocessors.py", line 278, in extract_non_reasoning_content
if think_start_token not in text and think_end_token in text:
TypeError: argument of type 'NoneType' is not iterable
Other information
No response
The text was updated successfully, but these errors were encountered:
Hi @simplew2011, you can troubleshoot by removing the pred_postprocessor and see if you get any predictions that way. If you do, it is likely due to the postprocessor function not extracting the content correctly. If you don't, check that your api server returns model responses as expected.
Prerequisite
Type
I'm evaluating with the officially supported tasks/models/datasets.
Environment
version 0.4.1
Reproduces the problem - code/configuration sample
Reproduces the problem - command or script
test math-500 using deepseek-r1 model
Reproduces the problem - error message
INFO 03-20 14:38:29 init.py:190] Automatically detected platform cuda.
03/20 14:38:30 - OpenCompass - INFO - Try to load the data from /home/wzp/.cache/opencompass/./data/math/
Traceback (most recent call last):
File "/cx8k/fs100/wzp/code/opencompass/opencompass/tasks/openicl_eval.py", line 475, in
inferencer.run()
File "/cx8k/fs100/wzp/code/opencompass/opencompass/tasks/openicl_eval.py", line 86, in run
self._score()
File "/cx8k/fs100/wzp/code/opencompass/opencompass/tasks/openicl_eval.py", line 179, in _score
pred_strs = [proc(s, **kwargs) for s in pred_strs]
File "/cx8k/fs100/wzp/code/opencompass/opencompass/tasks/openicl_eval.py", line 179, in
pred_strs = [proc(s, **kwargs) for s in pred_strs]
File "/cx8k/fs100/wzp/code/opencompass/opencompass/utils/text_postprocessors.py", line 278, in extract_non_reasoning_content
if think_start_token not in text and think_end_token in text:
TypeError: argument of type 'NoneType' is not iterable
Other information
No response
The text was updated successfully, but these errors were encountered: