tok_trainer | R Documentation |
Generic training class
Generic training class
.trainer
a pointer to a raw trainer
new()
Initializes a generic trainer from a raw trainer
tok_trainer$new(trainer)
trainer
raw trainer (internal)
clone()
The objects of this class are cloneable with this method.
tok_trainer$clone(deep = FALSE)
deep
Whether to make a deep clone.
Other trainer:
trainer_bpe
,
trainer_unigram
,
trainer_wordpiece
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.