UFDAdaptorGlobalPreTrainedModel

class UFDAdaptorGlobalPreTrainedModel(config: transformers.configuration_utils.PretrainedConfig, *inputs, **kwargs)[source]

The UFD Adaptor Global Pre-Trained Model used as base class for derived Adaptor Global Model.

This model is the abstract super class for the UFD Adaptor Global model which defines the config class types and weights initalization method. This class should not be used or instantiated directly, see UFDAdaptorGlobalModel class for usage.

config_class

alias of sgnlp.models.ufd.config.UFDAdaptorGlobalConfig