Description Usage Arguments See Also
View source: R/features_text.R
Byte encodes text
1 | byte_text_encoder(additional_tokens = NULL)
|
additional_tokens |
list of additional tokens. These will be assigned vocab ids [1, 1+len(additional_tokens)]. Useful for things like "end-of-string" tokens (e.g. ""). |
save_byte_text_encoder()
, load_byte_text_encoder()
, encode()
and decode()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.