stop sequence

A string that ends generation as soon as the model produces it.

In more detail

Stop sequences are useful for cutting a reply at a known marker, such as a closing tag. The marker itself is not included in the reply, and the stop reason reports which sequence fired.

Related terms

Taught in

References

Certification courses