Instructions to use phunganhsang/web-content-sumary-cls with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use phunganhsang/web-content-sumary-cls with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="phunganhsang/web-content-sumary-cls")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("phunganhsang/web-content-sumary-cls") model = AutoModelForSequenceClassification.from_pretrained("phunganhsang/web-content-sumary-cls") - Notebooks
- Google Colab
- Kaggle
web-content-sumary-cls
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: 0.8634
- Accuracy: 0.8536
- F1: 0.8306
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: 64
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 15
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|---|---|---|---|---|---|
| No log | 0.4545 | 150 | 0.6755 | 0.8109 | 0.6816 |
| No log | 0.9091 | 300 | 0.5390 | 0.8249 | 0.7189 |
| 0.8237 | 1.3636 | 450 | 0.4743 | 0.8422 | 0.7509 |
| 0.8237 | 1.8182 | 600 | 0.4311 | 0.8602 | 0.8292 |
| 0.4445 | 2.2727 | 750 | 0.4558 | 0.8520 | 0.8265 |
| 0.4445 | 2.7273 | 900 | 0.4401 | 0.8558 | 0.8251 |
| 0.3085 | 3.1818 | 1050 | 0.4545 | 0.8566 | 0.8247 |
| 0.3085 | 3.6364 | 1200 | 0.4792 | 0.8532 | 0.8318 |
| 0.2279 | 4.0909 | 1350 | 0.5053 | 0.8551 | 0.8246 |
| 0.2279 | 4.5455 | 1500 | 0.5163 | 0.8520 | 0.8280 |
| 0.1636 | 5.0 | 1650 | 0.4917 | 0.8520 | 0.8204 |
| 0.1636 | 5.4545 | 1800 | 0.5680 | 0.8536 | 0.8316 |
| 0.1636 | 5.9091 | 1950 | 0.5694 | 0.8558 | 0.8344 |
| 0.1296 | 6.3636 | 2100 | 0.6383 | 0.8549 | 0.8313 |
| 0.1296 | 6.8182 | 2250 | 0.6428 | 0.8553 | 0.8205 |
| 0.1009 | 7.2727 | 2400 | 0.5933 | 0.8551 | 0.8356 |
| 0.1009 | 7.7273 | 2550 | 0.6333 | 0.8577 | 0.8281 |
| 0.0902 | 8.1818 | 2700 | 0.6797 | 0.8513 | 0.8281 |
| 0.0902 | 8.6364 | 2850 | 0.7155 | 0.8507 | 0.8231 |
| 0.0668 | 9.0909 | 3000 | 0.7104 | 0.8553 | 0.8343 |
| 0.0668 | 9.5455 | 3150 | 0.7154 | 0.8575 | 0.8358 |
| 0.0577 | 10.0 | 3300 | 0.7607 | 0.8524 | 0.8196 |
| 0.0577 | 10.4545 | 3450 | 0.7449 | 0.8539 | 0.8315 |
| 0.0577 | 10.9091 | 3600 | 0.7884 | 0.8557 | 0.8288 |
| 0.0465 | 11.3636 | 3750 | 0.7804 | 0.8532 | 0.8291 |
| 0.0465 | 11.8182 | 3900 | 0.8055 | 0.8570 | 0.8332 |
| 0.0406 | 12.2727 | 4050 | 0.8304 | 0.8564 | 0.8318 |
| 0.0406 | 12.7273 | 4200 | 0.8124 | 0.8560 | 0.8359 |
| 0.0345 | 13.1818 | 4350 | 0.8259 | 0.8570 | 0.8355 |
| 0.0345 | 13.6364 | 4500 | 0.8670 | 0.8566 | 0.8362 |
| 0.0281 | 14.0909 | 4650 | 0.8322 | 0.8553 | 0.8350 |
| 0.0281 | 14.5455 | 4800 | 0.8623 | 0.8538 | 0.8276 |
| 0.0276 | 15.0 | 4950 | 0.8634 | 0.8536 | 0.8306 |
Framework versions
- Transformers 4.57.1
- Pytorch 2.6.0+cu124
- Datasets 4.1.1
- Tokenizers 0.22.1
- Downloads last month
- 1