Instructions to use ebinna/multi_cls_mamba2-780m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ebinna/multi_cls_mamba2-780m with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ebinna/multi_cls_mamba2-780m", device_map="auto") - Notebooks
- Google Colab
- Kaggle
multi_cls_mamba2-780m
This model was trained from scratch on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.1659
- Flat Accuracy: 0.9646
- Accuracy: 0.7317
- Micro Precision: 0.8497
- Micro Recall: 0.8961
- Micro F1: 0.8723
- Macro Precision: 0.7616
- Macro Recall: 0.8980
- Macro F1: 0.8097
- Weighted Precision: 0.8570
- Weighted Recall: 0.8961
- Weighted F1: 0.8747
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: 5
Training results
| Training Loss | Epoch | Step | Validation Loss | Flat Accuracy | Accuracy | Micro Precision | Micro Recall | Micro F1 | Macro Precision | Macro Recall | Macro F1 | Weighted Precision | Weighted Recall | Weighted F1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0.1234 | 1.0 | 2500 | 0.1039 | 0.9629 | 0.7309 | 0.8635 | 0.8612 | 0.8623 | 0.7643 | 0.8762 | 0.7931 | 0.8791 | 0.8612 | 0.8663 |
| 0.0562 | 2.0 | 5000 | 0.1155 | 0.9630 | 0.7214 | 0.8389 | 0.8983 | 0.8676 | 0.7541 | 0.8982 | 0.8071 | 0.8439 | 0.8983 | 0.8693 |
| 0.0103 | 3.0 | 7500 | 0.1522 | 0.9624 | 0.7152 | 0.8395 | 0.8923 | 0.8651 | 0.7540 | 0.8989 | 0.8063 | 0.8473 | 0.8923 | 0.8675 |
| 0.0021 | 4.0 | 10000 | 0.1620 | 0.9642 | 0.7306 | 0.8482 | 0.8950 | 0.8710 | 0.7520 | 0.8975 | 0.8005 | 0.8567 | 0.8950 | 0.8738 |
| 0.0004 | 5.0 | 12500 | 0.1659 | 0.9646 | 0.7317 | 0.8497 | 0.8961 | 0.8723 | 0.7616 | 0.8980 | 0.8097 | 0.8570 | 0.8961 | 0.8747 |
Framework versions
- Transformers 4.44.2
- Pytorch 2.1.1+cu118
- Datasets 3.1.0
- Tokenizers 0.19.1
- Downloads last month
- 13
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support