Skip to contents

Check the passed type of transformer.

Usage

.aife_transformer.check_type(type)

Arguments

type

string A type of the new transformer. Allowed types are bert, roberta, funnel, longformer, mpnet, modernbert. See AIFETrType list.

Value

If success - nothing, otherwise - an error.