Instructions to use dtran612/phobert-base-vianli-ph with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dtran612/phobert-base-vianli-ph with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="dtran612/phobert-base-vianli-ph")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("dtran612/phobert-base-vianli-ph") model = AutoModelForSequenceClassification.from_pretrained("dtran612/phobert-base-vianli-ph") - Notebooks
- Google Colab
- Kaggle
phobert-base-vianli-ph
This model is a fine-tuned version of vinai/phobert-base on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.7052
- Accuracy: 0.731
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: 1e-05
- train_batch_size: 16
- eval_batch_size: 8
- 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
- num_epochs: 10
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 1.0973 | 1.0 | 63 | 1.0833 | 0.427 |
| 1.0996 | 2.0 | 126 | 1.0630 | 0.52 |
| 1.0702 | 3.0 | 189 | 1.0231 | 0.564 |
| 1.0429 | 4.0 | 252 | 0.9627 | 0.623 |
| 0.9888 | 5.0 | 315 | 0.9089 | 0.596 |
| 0.9376 | 6.0 | 378 | 0.8309 | 0.665 |
| 0.8761 | 7.0 | 441 | 0.7797 | 0.688 |
| 0.8601 | 8.0 | 504 | 0.7363 | 0.733 |
| 0.8115 | 9.0 | 567 | 0.7142 | 0.735 |
| 0.7684 | 10.0 | 630 | 0.7052 | 0.731 |
Framework versions
- Transformers 5.0.0
- Pytorch 2.10.0+cu128
- Datasets 4.0.0
- Tokenizers 0.22.2
- Downloads last month
- 17
Model tree for dtran612/phobert-base-vianli-ph
Base model
vinai/phobert-base