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
When using the /completion endpoint, the EOS token (</s>) gets embedded right into the content response.
How can an API detect that </s> is the EOS token so it can strip it before showing it to the user? Different models use different tokens, and there seems nothing in the API response that maps </s> to the EOS token.
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
Uh oh!
There was an error while loading. Please reload this page.
-
When using the
/completion
endpoint, the EOS token (</s>
) gets embedded right into thecontent
response.How can an API detect that
</s>
is the EOS token so it can strip it before showing it to the user? Different models use different tokens, and there seems nothing in the API response that maps</s>
to the EOS token.Beta Was this translation helpful? Give feedback.
All reactions