Instructions to use SimoneJLaudani/trainer2F with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SimoneJLaudani/trainer2F with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="SimoneJLaudani/trainer2F")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("SimoneJLaudani/trainer2F") model = AutoModelForSequenceClassification.from_pretrained("SimoneJLaudani/trainer2F", device_map="auto") - Notebooks
- Google Colab
- Kaggle
trainer2F
This model is a fine-tuned version of distilbert-base-uncased on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.6323
- Precision: 0.8002
- Recall: 0.7955
- F1: 0.7949
- Accuracy: 0.7955
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: 5e-05
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 2
Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| 1.9352 | 0.14 | 30 | 1.8435 | 0.1778 | 0.1849 | 0.1056 | 0.1849 |
| 1.739 | 0.27 | 60 | 1.4925 | 0.6011 | 0.5602 | 0.5263 | 0.5602 |
| 1.3792 | 0.41 | 90 | 1.1872 | 0.6241 | 0.5574 | 0.5130 | 0.5574 |
| 1.163 | 0.54 | 120 | 1.0570 | 0.7002 | 0.6779 | 0.6658 | 0.6779 |
| 1.0629 | 0.68 | 150 | 0.9289 | 0.7742 | 0.7507 | 0.7489 | 0.7507 |
| 0.9604 | 0.81 | 180 | 0.8598 | 0.7434 | 0.7283 | 0.7185 | 0.7283 |
| 0.8055 | 0.95 | 210 | 0.8032 | 0.7874 | 0.7619 | 0.7510 | 0.7619 |
| 0.6769 | 1.08 | 240 | 0.7419 | 0.7731 | 0.7591 | 0.7541 | 0.7591 |
| 0.4748 | 1.22 | 270 | 0.7268 | 0.7712 | 0.7591 | 0.7577 | 0.7591 |
| 0.4624 | 1.35 | 300 | 0.7063 | 0.8049 | 0.7899 | 0.7875 | 0.7899 |
| 0.399 | 1.49 | 330 | 0.6556 | 0.7832 | 0.7731 | 0.7721 | 0.7731 |
| 0.4207 | 1.62 | 360 | 0.6346 | 0.8130 | 0.8067 | 0.8049 | 0.8067 |
| 0.3445 | 1.76 | 390 | 0.6396 | 0.7955 | 0.7871 | 0.7854 | 0.7871 |
| 0.3265 | 1.89 | 420 | 0.6395 | 0.7923 | 0.7871 | 0.7868 | 0.7871 |
Framework versions
- Transformers 4.39.3
- Pytorch 2.2.1+cu121
- Datasets 2.18.0
- Tokenizers 0.15.2
- Downloads last month
- 9
Model tree for SimoneJLaudani/trainer2F
Base model
distilbert/distilbert-base-uncased