mamba_text_classification
This model was trained from scratch on the None dataset.
It achieves the following results on the evaluation set:
- Loss: 0.2533
- Accuracy: 0.9733
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: 1e-05
- train_batch_size: 4
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: cosine
- lr_scheduler_warmup_ratio: 0.01
- num_epochs: 5
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|
| 1.0624 | 0.5 | 4490 | 0.2826 | 0.9432 |
| 1.5729 | 1.0 | 8980 | 0.2010 | 0.9532 |
| 0.0001 | 1.5 | 13470 | 0.2179 | 0.9633 |
| 0.0001 | 2.0 | 17960 | 0.1711 | 0.9666 |
| 0.0 | 2.5 | 22450 | 0.2626 | 0.9644 |
| 0.0003 | 3.0 | 26940 | 0.2157 | 0.9688 |
| 0.0 | 3.5 | 31430 | 0.2305 | 0.9744 |
| 0.0 | 4.0 | 35920 | 0.2372 | 0.9755 |
| 0.0 | 4.5 | 40410 | 0.2547 | 0.9744 |
| 0.0 | 5.0 | 44900 | 0.2533 | 0.9733 |
Framework versions
- Transformers 4.41.2
- Pytorch 2.3.0+cu121
- Datasets 2.20.0
- Tokenizers 0.19.1