| tok_model | R Documentation |
Generic class for tokenization models
Generic class for tokenization models
.modelstores the pointer to the model. internal
new()Initializes a genric abstract tokenizer model
tok_model$new(model)
modelPointer to a tokenization model
clone()The objects of this class are cloneable with this method.
tok_model$clone(deep = FALSE)
deepWhether 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.