dot-get_attention_tokens: Pull the Designated Tokens from the Attention tibble

Description Usage Arguments Value

Description

Pull the Designated Tokens from the Attention tibble

Usage

1
.get_attention_tokens(attention, this_segment_index)

Arguments

attention

The attention component from extract_features(..., features = "attention").

this_segment_index

The segment to pull.

Value

A character vector of tokens.


jonathanbratt/RBERTviz documentation built on June 19, 2021, 6:27 p.m.