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
What is exactly the use of these code? When the input text is None, it throws exception of "TypeError: 'NoneType' object is not iterable"
I modified the code like this. Is there any impact on the origin logic of the code? Thanks
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In file https://github.com/open-compass/opencompass/blob/0.3.8/opencompass/utils/text_postprocessors.py, there is code snippet from line 141:
What is exactly the use of these code? When the input text is None, it throws exception of "TypeError: 'NoneType' object is not iterable"
I modified the code like this. Is there any impact on the origin logic of the code? Thanks
Beta Was this translation helpful? Give feedback.
All reactions