| llama_vocab_get_score | R Documentation |
Returns the log-probability score stored in the vocabulary (used by SPM/UGM tokenizers).
llama_vocab_get_score(model, token)
model |
Model handle returned by [llama_load_model] |
token |
Integer token ID (0-based) |
A numeric scalar.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.