Instructions to use phunganhsang/Phobert_CITA_phishlang with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use phunganhsang/Phobert_CITA_phishlang with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="phunganhsang/Phobert_CITA_phishlang", device_map="auto")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("phunganhsang/Phobert_CITA_phishlang") model = AutoModelForSequenceClassification.from_pretrained("phunganhsang/Phobert_CITA_phishlang", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Phobert_CITA_phishlang
This model is a fine-tuned version of vinai/phobert-base-v2 on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.4959
- Accuracy: 0.8559
- F1: 0.8504
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: 32
- eval_batch_size: 32
- seed: 42
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: cosine_with_restarts
- num_epochs: 10
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|---|---|---|---|---|---|
| 0.3972 | 1.0 | 1138 | 0.3913 | 0.8439 | 0.8290 |
| 0.3538 | 2.0 | 2276 | 0.3871 | 0.8481 | 0.8425 |
| 0.3216 | 3.0 | 3414 | 0.3698 | 0.8574 | 0.8491 |
| 0.2877 | 4.0 | 4552 | 0.3631 | 0.8600 | 0.8518 |
| 0.2584 | 5.0 | 5690 | 0.4515 | 0.8531 | 0.8482 |
| 0.2313 | 6.0 | 6828 | 0.4392 | 0.8593 | 0.8511 |
| 0.2075 | 7.0 | 7966 | 0.4380 | 0.8584 | 0.8521 |
| 0.1949 | 8.0 | 9104 | 0.4870 | 0.8559 | 0.8505 |
| 0.1806 | 9.0 | 10242 | 0.4915 | 0.8563 | 0.8509 |
| 0.1775 | 10.0 | 11380 | 0.4959 | 0.8559 | 0.8504 |
Framework versions
- Transformers 4.48.0
- Pytorch 2.1.2
- Datasets 2.19.1
- Tokenizers 0.21.0
- Downloads last month
- 1
Model tree for phunganhsang/Phobert_CITA_phishlang
Base model
vinai/phobert-base-v2