UFDAdaptorGlobalModel¶
-
class
UFDAdaptorGlobalModel
(config)[source]¶ The UFD Adaptor Global Model used for unsupervised training for global context.
This method inherits from
UFDAdaptorGlobalPreTrainedModel
for weights initalization and utility functions from transformerPreTrainedModel
class.- Parameters
config (
UFDAdaptorGlobalConfig
) – 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.