UFDClassifierModel¶
-
class
UFDClassifierModel(config)[source]¶ The UFD Classifier Model used for supervised training for source domain data.
This method inherits from
UFDClassifierPreTrainedModelfor weights initalization and utility functions from transformerPreTrainedModelclass.- Parameters
config (
UFDClassifierConfig) – Model configuration class with all parameters required for the model. Initializing with a config file does not load the weights associated with the model, only the configuration. Use thefrom_pretrainedmethod to load the model weights.