% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/llama.R
\name{llama_vocab_get_score}
\alias{llama_vocab_get_score}
\title{Get the score of a token}
\usage{
llama_vocab_get_score(model, token)
}
\arguments{
\item{model}{Model handle returned by [llama_load_model]}

\item{token}{Integer token ID (0-based)}
}
\value{
A numeric scalar.
}
\description{
Returns the log-probability score stored in the vocabulary (used by SPM/UGM tokenizers).
}
