dot-get_token_vocab: Look Up Token Vocabulary

.get_token_vocabR Documentation

Look Up Token Vocabulary

Description

Given a string representing the name of a token vocabulary, return the vocabulary.

Usage

.get_token_vocab(vocab_name)

Arguments

vocab_name

Character; the name of the vocabulary.

Value

The specified token vocabulary.


macmillancontentscience/torchtransformers documentation built on Aug. 6, 2023, 5:35 a.m.