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

Masked-LM quality on held-out sequences. More...

#include <protein_training.hpp>

Public Attributes

double loss = 0
 mean cross-entropy over picked tokens, in nats
 
double perplexity = 0
 exp(loss)
 
double accuracy = 0
 share of picked tokens whose argmax is the original
 
int64_t tokens = 0
 

Detailed Description

Masked-LM quality on held-out sequences.

Member Data Documentation

◆ accuracy

double pulsatrix::MaskedLMEvaluation::accuracy = 0

share of picked tokens whose argmax is the original

◆ loss

double pulsatrix::MaskedLMEvaluation::loss = 0

mean cross-entropy over picked tokens, in nats

◆ perplexity

double pulsatrix::MaskedLMEvaluation::perplexity = 0

exp(loss)

◆ tokens

int64_t pulsatrix::MaskedLMEvaluation::tokens = 0

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