UFDEmbeddingModel¶
-
class
UFDEmbeddingModel(config)[source]¶ The UFD Embedding Model used for to generate embeddings for model inputs.
This method inherits from
XLMRobertaModelfor weights initalization and utility functions from transformerPreTrainedModelclass.- Parameters
config (
UFDEmbeddingConfig) – 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.