dot-get_tokenizer: Look Up Tokenizer Function

.get_tokenizerR Documentation

Look Up Tokenizer Function

Description

Given a string representing the name of a tokenization algorithm, return the corresponding tokenization function.

Usage

.get_tokenizer(tokenizer_name)

Arguments

tokenizer_name

Character; the name of the tokenization algorithm.

Value

The function implementing the specified algorithm.


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