pulsatrix 1.1.0
Loading...
Searching...
No Matches
pulsatrix::ChoiceScores Struct Reference

Scores of single-token choices after each prompt. Indexed [example][choice]. More...

#include <lm_scoring.hpp>

Public Attributes

std::vector< std::vector< double > > log_probs
 log P(choice | prompt) over the whole vocabulary
 
std::vector< std::vector< double > > choice_log_probs
 the same, renormalized over the choices
 
std::vector< double > choice_mass
 the probability the choices take together
 

Detailed Description

Scores of single-token choices after each prompt. Indexed [example][choice].

Member Data Documentation

◆ choice_log_probs

std::vector<std::vector<double> > pulsatrix::ChoiceScores::choice_log_probs

the same, renormalized over the choices

◆ choice_mass

std::vector<double> pulsatrix::ChoiceScores::choice_mass

the probability the choices take together

◆ log_probs

std::vector<std::vector<double> > pulsatrix::ChoiceScores::log_probs

log P(choice | prompt) over the whole vocabulary


The documentation for this struct was generated from the following file: