UFDClassifierModel¶
-
class
UFDClassifierModel
(config)[source]¶ The UFD Classifier Model used for supervised training for source domain data.
This method inherits from
UFDClassifierPreTrainedModel
for weights initalization and utility functions from transformerPreTrainedModel
class.- 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_pretrained
method to load the model weights.