.infer_case_from_vocab | R Documentation |
Determine whether or not a wordpiece vocabulary is case-sensitive.
.infer_case_from_vocab(vocab)
vocab |
The vocabulary as a character vector. |
If none of the tokens in the vocabulary start with a capital letter, it will be assumed to be uncased. Note that tokens like "\[CLS\]" contain uppercase letters, but don't start with uppercase letters.
TRUE if the vocabulary is cased, FALSE if uncased.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.