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

A generated token to explain. More...

#include <masked_diffusion_lrp.hpp>

Public Attributes

int64_t position = 0
 A position the trajectory wrote.
 
std::optional< int64_t > token
 The token whose logit is explained, at the step that last wrote the position. Unset: the token written there. Set: a fixed reference token, the check DLIG (arXiv 2610.01177) found more informative than the model's own choice. Relevance relayed to the position from later steps always goes to the written token.
 

Detailed Description

A generated token to explain.

Member Data Documentation

◆ position

int64_t pulsatrix::CommitmentTarget::position = 0

A position the trajectory wrote.

◆ token

std::optional<int64_t> pulsatrix::CommitmentTarget::token

The token whose logit is explained, at the step that last wrote the position. Unset: the token written there. Set: a fixed reference token, the check DLIG (arXiv 2610.01177) found more informative than the model's own choice. Relevance relayed to the position from later steps always goes to the written token.


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