.new_wordpiece_vocabulary | R Documentation |
Constructor for Class wordpiece_vocabulary
.new_wordpiece_vocabulary(vocab, is_cased)
vocab |
Character vector of tokens. |
is_cased |
Logical; whether the vocabulary is cased. |
The vocabulary with is_cased
attached as an attribute, and the
class wordpiece_vocabulary
applied.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.