aife_transformer_maker | R Documentation |
R6
object of the AIFETransformerMaker
classObject for creating the transformers with different types. See AIFETransformerMaker class for details.
aife_transformer_maker
An object of class AIFETransformerMaker
(inherits from R6
) of length 3.
Other Transformer:
AIFETrType
,
AIFETransformerMaker
# Use 'make' method of the 'aifeducation::aife_transformer_maker' object
# Pass string with the type of transformers
# Allowed types are "bert", "deberta_v2", "funnel", etc. See aifeducation::AIFETrType list
my_bert <- aife_transformer_maker$make("bert")
# Or use elements of the 'aifeducation::AIFETrType' list
my_longformer <- aife_transformer_maker$make(AIFETrType$longformer)
# Run 'create' or 'train' methods of the transformer in order to create a
# new transformer or train the newly created one, respectively
# my_bert$create(...)
# my_bert$train(...)
# my_longformer$create(...)
# my_longformer$train(...)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.