Instructions to use duynguyen1/mamba_text_classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use duynguyen1/mamba_text_classification with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("duynguyen1/mamba_text_classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
mamba_text_classification
This model was trained from scratch on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: nan
- Accuracy: 0.4932
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: 2
- eval_batch_size: 8
- seed: 42
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: cosine
- lr_scheduler_warmup_ratio: 0.01
- num_epochs: 1
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.0614 | 0.1 | 1250 | 0.2891 | 0.92 |
| 0.2031 | 0.2 | 2500 | nan | 0.9094 |
| 0.0156 | 0.3 | 3750 | nan | 0.8646 |
| 0.0957 | 0.4 | 5000 | nan | 0.8802 |
| 0.1671 | 0.5 | 6250 | nan | 0.8802 |
| 0.3147 | 0.6 | 7500 | nan | 0.8802 |
| 0.0 | 0.7 | 8750 | nan | 0.4932 |
| 0.0 | 0.8 | 10000 | nan | 0.4932 |
| 0.0 | 0.9 | 11250 | nan | 0.4932 |
| 0.0 | 1.0 | 12500 | nan | 0.4932 |
Framework versions
- Transformers 4.46.3
- Pytorch 2.5.1+cu121
- Datasets 3.1.0
- Tokenizers 0.20.3
- Downloads last month
- 6
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support