| llama_vocab_is_eog | R Documentation |
Returns 'TRUE' for EOS, EOT, and other tokens that signal end of output. Useful for implementing custom generation loops.
llama_vocab_is_eog(model, token)
model |
Model handle returned by [llama_load_model] |
token |
Integer token ID (0-based) |
A logical scalar.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.