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

A model's comparison against an AttnLRP reference file. More...

#include <attnlrp_parity.hpp>

Public Attributes

std::vector< AttnLrpSequenceResult > sequences
 
float min_token_correlation = 1.0f
 The lowest token, key and value correlations over all sequences.
 
float min_kv_correlation = 1.0f
 
float max_relative_diff = 0.0f
 The largest max_relative_diff over all sequences (reported; not part of passed).
 
float threshold = 0.0f
 
bool passed = false
 Every correlation above the threshold.
 
std::map< std::string, std::string > metadata
 The reference file's metadata: model, revision, versions.
 

Detailed Description

A model's comparison against an AttnLRP reference file.

Member Data Documentation

◆ max_relative_diff

float pulsatrix::AttnLrpReport::max_relative_diff = 0.0f

The largest max_relative_diff over all sequences (reported; not part of passed).

◆ metadata

std::map<std::string, std::string> pulsatrix::AttnLrpReport::metadata

The reference file's metadata: model, revision, versions.

◆ min_kv_correlation

float pulsatrix::AttnLrpReport::min_kv_correlation = 1.0f

◆ min_token_correlation

float pulsatrix::AttnLrpReport::min_token_correlation = 1.0f

The lowest token, key and value correlations over all sequences.

◆ passed

bool pulsatrix::AttnLrpReport::passed = false

Every correlation above the threshold.

◆ sequences

std::vector<AttnLrpSequenceResult> pulsatrix::AttnLrpReport::sequences

◆ threshold

float pulsatrix::AttnLrpReport::threshold = 0.0f

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