trinhxuankhai/mamba_text_classification
012
<!-- This model card has been generated automatically according to the information the Trainer had access to. You should probably proofread and complete it, then remove this comment. -->
Mamba for Text Classification
This model was trained from scratch on IMDB dataset.
It achieves the following results on the evaluation set:
- Loss: 0.1696
- Accuracy: 0.94
It achieves the following results on the test set:
- Loss: 0.2068
- Accuracy: 0.94
Notebook
Detail on model and training code on colab.
Model description
Mamba model for text classification.
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 5e-05
- trainbatchsize: 4
- evalbatchsize: 16
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lrschedulertype: cosine
- lrschedulerwarmup_ratio: 0.01
- num_epochs: 1
Training results
Framework versions
- Transformers 4.35.2
- Pytorch 2.1.0+cu121
- Datasets 2.17.0
- Tokenizers 0.15.2
