wordpiece_vocab | R Documentation |
A wordpiece vocabulary is a named integer vector with class "wordpiece_vocabulary". The names of the vector are the tokens, and the values are the integer identifiers of those tokens. The vocabulary is 0-indexed for compatibility with Python implementations.
wordpiece_vocab(cased = FALSE)
cased |
Logical; load the uncased vocabulary, or the cased vocabulary? |
A wordpiece_vocabulary.
head(wordpiece_vocab()) head(wordpiece_vocab(cased = TRUE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.