incerto.llm.SurprisalScore#
- class incerto.llm.SurprisalScore[source]#
Bases:
objectSurprisal (negative log-probability) of generated tokens.
Also called information content. Higher values indicate the token was less expected by the model (higher uncertainty).
- __init__()#
Methods