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
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
-
Hi, I am using the chatcompletion API.
I am using a prompt that asks to rewrite a code snippet, e.g.
However, the response from the chatcompletion is truncated after "->".
If I delete "-> None" it stops after "n3 is not"
It smells as if the answer from the model was tokenized and "None" tokens were converted to python None, stopping the output.
Has anybody observed a similar behavior? Is there a solution or workaround?
Regards
Jochen
Beta Was this translation helpful? Give feedback.
All reactions