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

Ragged sequences: real tokens 1..kVocab-1 followed by padding (input 0, target -100). More...

#include <tagger_finetune_example.hpp>

Collaboration diagram for pulsatrix::TaggingBatch:

Public Attributes

Tensor inputs
 (N, kSeqLen) token ids as whole-number floats
 
Tensor targets
 (N, kSeqLen) tags, -100 at padding
 

Detailed Description

Ragged sequences: real tokens 1..kVocab-1 followed by padding (input 0, target -100).

Member Data Documentation

◆ inputs

Tensor pulsatrix::TaggingBatch::inputs

(N, kSeqLen) token ids as whole-number floats

◆ targets

Tensor pulsatrix::TaggingBatch::targets

(N, kSeqLen) tags, -100 at padding


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