Check the passed type of transformer.
Arguments
- type
string
A type of the new transformer. Allowed types are bert, roberta, funnel, longformer, mpnet, modernbert. See AIFETrType list.
See also
Other Transformers for developers:
.AIFEModernBertTransformer
,
.AIFETrConfig
,
.AIFETrModel
,
.AIFETrModelMLM
,
.AIFETrObj
,
.AIFETrTokenizer
,
aife_transformer.load_model()
,
aife_transformer.load_model_config()
,
aife_transformer.load_model_mlm()
,
aife_transformer.load_tokenizer()