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
BertModelfor weights initalization and utility functions from transformersPreTrainedModelclass.- 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_pretrainedmethod to load the model weights.