Text Classification
Transformers
Safetensors
Vietnamese
vnsabsa
feature-extraction
finance
custom_code
Instructions to use ptdat/vn-smartphone-absa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ptdat/vn-smartphone-absa with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ptdat/vn-smartphone-absa", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ptdat/vn-smartphone-absa", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "architectures": [ | |
| "VnSmartphoneAbsaModel" | |
| ], | |
| "auto_map": { | |
| "AutoConfig": "configuration_vnsabsa.VnSmartphoneAbsaConfig", | |
| "AutoModel": "modeling_vnsabsa.VnSmartphoneAbsaModel" | |
| }, | |
| "embed_dim": 768, | |
| "encoder_dropout": 0.1, | |
| "fc_dropout": 0.4, | |
| "fc_hidden_size": 128, | |
| "model_type": "vnsabsa", | |
| "num_encoders": 4, | |
| "num_heads": 8, | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.41.2", | |
| "vocab_size": 5272 | |
| } | |