| tok_trainer | R Documentation |
Generic training class
Generic training class
.trainera pointer to a raw trainer
new()Initializes a generic trainer from a raw trainer
tok_trainer$new(trainer)
trainerraw trainer (internal)
clone()The objects of this class are cloneable with this method.
tok_trainer$clone(deep = FALSE)
deepWhether 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.