Instructions to use qdovan03/phobert-base-v2-uit-vsmec with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use qdovan03/phobert-base-v2-uit-vsmec with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="qdovan03/phobert-base-v2-uit-vsmec")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("qdovan03/phobert-base-v2-uit-vsmec") model = AutoModelForSequenceClassification.from_pretrained("qdovan03/phobert-base-v2-uit-vsmec") - Notebooks
- Google Colab
- Kaggle
phobert-base-v2-uit-vsmec
This model is a fine-tuned version of vinai/phobert-base-v2 on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 1.3894
- Accuracy: 0.6035
- F1 Weighted: 0.6060
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 2e-05
- train_batch_size: 64
- eval_batch_size: 128
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 0.1
- num_epochs: 20
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Weighted |
|---|---|---|---|---|---|
| 1.9129 | 1.0 | 87 | 1.8691 | 0.2697 | 0.2424 |
| 1.6207 | 2.0 | 174 | 1.4480 | 0.5175 | 0.5172 |
| 1.2848 | 3.0 | 261 | 1.2322 | 0.5496 | 0.5522 |
| 1.0120 | 4.0 | 348 | 1.1340 | 0.5962 | 0.5962 |
| 0.9033 | 5.0 | 435 | 1.1333 | 0.5802 | 0.5865 |
| 0.7219 | 6.0 | 522 | 1.1301 | 0.5816 | 0.5873 |
| 0.6231 | 7.0 | 609 | 1.1674 | 0.6122 | 0.6186 |
| 0.5202 | 8.0 | 696 | 1.2272 | 0.6283 | 0.6327 |
| 0.3941 | 9.0 | 783 | 1.2120 | 0.6152 | 0.6215 |
| 0.3614 | 10.0 | 870 | 1.3088 | 0.6181 | 0.6217 |
| 0.3108 | 11.0 | 957 | 1.3894 | 0.6035 | 0.6060 |
Framework versions
- Transformers 5.0.0
- Pytorch 2.10.0+cu128
- Datasets 4.8.5
- Tokenizers 0.22.2
- Downloads last month
- 14
Model tree for qdovan03/phobert-base-v2-uit-vsmec
Base model
vinai/phobert-base-v2