UFDEmbeddingModel

class UFDEmbeddingModel(config)[source]

The UFD Embedding Model used for to generate embeddings for model inputs.

This method inherits from XLMRobertaModel for weights initalization and utility functions from transformer PreTrainedModel class.

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 the from_pretrained method to load the model weights.