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
File size: 446 Bytes
9c00bea 6074409 9c00bea 6074409 9c00bea | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | {
"architectures": [
"VnSmartphoneBERTModel"
],
"auto_map": {
"AutoConfig": "configuration_vnsabsa.VnSmartphoneBERTConfig",
"AutoModel": "modeling_vnsabsa.VnSmartphoneBERTModel"
},
"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
}
|