liblloyal 1.0.0
Branched Inference for llama.cpp
Loading...
Searching...
No Matches
lloyal::metrics::PerplexityState Struct Reference

Rolling NLL accumulator for perplexity computation. More...

#include <lloyal/metrics.hpp>

Public Attributes

float nll_sum_nats = 0.0f
 
int count = 0
 

Detailed Description

Rolling NLL accumulator for perplexity computation.

Definition at line 93 of file metrics.hpp.

Member Data Documentation

◆ count

int lloyal::metrics::PerplexityState::count = 0

◆ nll_sum_nats

float lloyal::metrics::PerplexityState::nll_sum_nats = 0.0f

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