Instructions to use tarekAeb/dziriBert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tarekAeb/dziriBert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="tarekAeb/dziriBert")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("tarekAeb/dziriBert") model = AutoModelForSequenceClassification.from_pretrained("tarekAeb/dziriBert") - Notebooks
- Google Colab
- Kaggle
dziriBert
This model is a fine-tuned version of alger-ia/dziribert on the None dataset. It achieves the following results on the evaluation set:
- Loss: 1.0076
- Accuracy: 0.6583
- Precision: 0.6574
- Recall: 0.6583
- F1: 0.6546
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: 0.0002
- train_batch_size: 8
- 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
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|---|---|---|---|---|---|---|---|
| 1.34 | 1.0 | 855 | 1.0945 | 0.6282 | 0.6302 | 0.6282 | 0.6276 |
| 1.1609 | 2.0 | 1710 | 1.0527 | 0.6412 | 0.6395 | 0.6412 | 0.6355 |
| 1.1146 | 3.0 | 2565 | 1.0749 | 0.6337 | 0.6483 | 0.6337 | 0.6293 |
| 1.0773 | 4.0 | 3420 | 1.0542 | 0.6317 | 0.6275 | 0.6317 | 0.6255 |
| 1.0471 | 5.0 | 4275 | 1.0475 | 0.6419 | 0.6511 | 0.6419 | 0.6393 |
| 1.0267 | 6.0 | 5130 | 1.0348 | 0.6494 | 0.6548 | 0.6494 | 0.6432 |
| 1.0138 | 7.0 | 5985 | 1.0165 | 0.6576 | 0.6602 | 0.6576 | 0.6538 |
| 0.9747 | 8.0 | 6840 | 1.0093 | 0.6548 | 0.6538 | 0.6548 | 0.6517 |
| 0.9656 | 9.0 | 7695 | 1.0057 | 0.6569 | 0.6539 | 0.6569 | 0.6533 |
| 0.9531 | 10.0 | 8550 | 1.0076 | 0.6583 | 0.6574 | 0.6583 | 0.6546 |
Framework versions
- Transformers 4.57.3
- Pytorch 2.10.0+cu128
- Datasets 4.5.0
- Tokenizers 0.22.1
- Downloads last month
- 1
Model tree for tarekAeb/dziriBert
Base model
alger-ia/dziribert