Type Alias DebertaTokenClassificationOutput

Source
pub type DebertaTokenClassificationOutput = BertTokenClassificationOutput;
Expand description

Container for the DeBERTa token classification model output.

Aliased Type§

struct DebertaTokenClassificationOutput {
    pub logits: Tensor,
    pub all_hidden_states: Option<Vec<Tensor>>,
    pub all_attentions: Option<Vec<Tensor>>,
}

Fields§

§logits: Tensor

Logits for each sequence item (token) for each target class

§all_hidden_states: Option<Vec<Tensor>>

Hidden states for all intermediate layers

§all_attentions: Option<Vec<Tensor>>

Attention weights for all intermediate layers