tok_model | R Documentation |
Generic class for tokenization models
Generic class for tokenization models
.model
stores the pointer to the model. internal
new()
Initializes a genric abstract tokenizer model
tok_model$new(model)
model
Pointer to a tokenization model
clone()
The objects of this class are cloneable with this method.
tok_model$clone(deep = FALSE)
deep
Whether to make a deep clone.
Other model:
model_bpe
,
model_unigram
,
model_wordpiece
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.