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
Stop sequences are used to make the model stop generating tokens at a desired point, such as the end of a sentence or a list. It would be very useful if we could define an array of possible stop sequences to force the model to stop generating. This is specially useful when using Chat Prompt Templates because some LLM tend to continue the conversation exceeding their system role, appending extra undesired messages.
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
-
Stop sequences are used to make the model stop generating tokens at a desired point, such as the end of a sentence or a list. It would be very useful if we could define an array of possible stop sequences to force the model to stop generating. This is specially useful when using Chat Prompt Templates because some LLM tend to continue the conversation exceeding their system role, appending extra undesired messages.
Beta Was this translation helpful? Give feedback.
All reactions