SenticGCNBertEmbeddingModel¶
-
class
SenticGCNBertEmbeddingModel
(config: sgnlp.models.sentic_gcn.config.SenticGCNBertEmbeddingConfig)[source]¶ The SenticGCN Bert Embedding Model used to generate embeddings for model inputs.
This class inherits from
BertModel
for weights initalization and utility functions from transformersPreTrainedModel
class.- Parameters
config (
SenticGCNBertEmbeddingConfig
) – 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.