Instructions to use SimoneJLaudani/trainer2b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SimoneJLaudani/trainer2b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="SimoneJLaudani/trainer2b")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("SimoneJLaudani/trainer2b") model = AutoModelForSequenceClassification.from_pretrained("SimoneJLaudani/trainer2b", device_map="auto") - Notebooks
- Google Colab
- Kaggle
trainer2b
This model is a fine-tuned version of bert-base-uncased on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.0096
- Accuracy: 1.0
- F1: 1.0
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: 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: 15
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|---|---|---|---|---|---|
| 0.0077 | 1.2 | 30 | 0.3129 | 0.8333 | 0.8183 |
| 0.0029 | 2.4 | 60 | 0.0733 | 0.9762 | 0.9760 |
| 0.0009 | 3.6 | 90 | 0.0198 | 0.9762 | 0.9760 |
| 0.0006 | 4.8 | 120 | 0.0228 | 0.9762 | 0.9760 |
| 0.0005 | 6.0 | 150 | 0.0129 | 1.0 | 1.0 |
| 0.0005 | 7.2 | 180 | 0.0126 | 1.0 | 1.0 |
| 0.0004 | 8.4 | 210 | 0.0083 | 1.0 | 1.0 |
| 0.0003 | 9.6 | 240 | 0.0073 | 1.0 | 1.0 |
| 0.0003 | 10.8 | 270 | 0.0089 | 1.0 | 1.0 |
| 0.0003 | 12.0 | 300 | 0.0096 | 1.0 | 1.0 |
| 0.0003 | 13.2 | 330 | 0.0095 | 1.0 | 1.0 |
| 0.0003 | 14.4 | 360 | 0.0096 | 1.0 | 1.0 |
Framework versions
- Transformers 4.38.2
- Pytorch 2.1.0+cu121
- Datasets 2.18.0
- Tokenizers 0.15.2
- Downloads last month
- 5
Model tree for SimoneJLaudani/trainer2b
Base model
google-bert/bert-base-uncased