Instructions to use dtran612/phobert-base-vinli-ph with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dtran612/phobert-base-vinli-ph with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="dtran612/phobert-base-vinli-ph")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("dtran612/phobert-base-vinli-ph") model = AutoModelForSequenceClassification.from_pretrained("dtran612/phobert-base-vinli-ph") - Notebooks
- Google Colab
- Kaggle
phobert-base-vinli-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.3984
- Accuracy: 0.8595
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.1012 | 1.0 | 142 | 1.0750 | 0.4594 |
| 1.0143 | 2.0 | 284 | 0.9419 | 0.5782 |
| 0.8990 | 3.0 | 426 | 0.8025 | 0.6758 |
| 0.8533 | 4.0 | 568 | 0.6941 | 0.7288 |
| 0.7260 | 5.0 | 710 | 0.6040 | 0.7650 |
| 0.6594 | 6.0 | 852 | 0.5203 | 0.8145 |
| 0.6001 | 7.0 | 994 | 0.5053 | 0.8087 |
| 0.5556 | 8.0 | 1136 | 0.4411 | 0.8436 |
| 0.4895 | 9.0 | 1278 | 0.4059 | 0.8640 |
| 0.5975 | 10.0 | 1420 | 0.3984 | 0.8595 |
Framework versions
- Transformers 5.0.0
- Pytorch 2.10.0+cu128
- Datasets 4.0.0
- Tokenizers 0.22.2
- Downloads last month
- 280
Model tree for dtran612/phobert-base-vinli-ph
Base model
vinai/phobert-base