Instructions to use vantan/mamba_text_classification_aes with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use vantan/mamba_text_classification_aes with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("vantan/mamba_text_classification_aes", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from vantan/mamba_text_classification_aes: direct link, hf CLI and curl.
- Browser
- Download file 1.81 kB
-
https://huggingface.co/vantan/mamba_text_classification_aes/resolve/main/README.md
- Command line
-
hf download hf://vantan/mamba_text_classification_aes/README.md
-
curl -L -o README.md https://huggingface.co/vantan/mamba_text_classification_aes/resolve/main/README.md
1.81 kB
| tags: | |
| - generated_from_trainer | |
| metrics: | |
| - accuracy | |
| model-index: | |
| - name: mamba_text_classification_aes | |
| results: [] | |
| <!-- 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_text_classification_aes | |
| This model was trained from scratch on an unknown dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 0.7582 | |
| - Accuracy: 0.6736 | |
| ## 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: 4 | |
| - eval_batch_size: 16 | |
| - 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: 1 | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | Accuracy | | |
| |:-------------:|:------:|:----:|:---------------:|:--------:| | |
| | 0.7518 | 0.1002 | 390 | 1.1485 | 0.4980 | | |
| | 1.5243 | 0.2003 | 780 | 0.9547 | 0.5661 | | |
| | 0.6327 | 0.3005 | 1170 | 0.9939 | 0.5708 | | |
| | 0.715 | 0.4006 | 1560 | 0.9848 | 0.5690 | | |
| | 0.8733 | 0.5008 | 1950 | 0.7997 | 0.6459 | | |
| | 0.3249 | 0.6009 | 2340 | 0.7903 | 0.6672 | | |
| | 1.44 | 0.7011 | 2730 | 0.7696 | 0.6823 | | |
| | 0.4643 | 0.8012 | 3120 | 0.7792 | 0.6609 | | |
| | 0.4997 | 0.9014 | 3510 | 0.7582 | 0.6736 | | |
| ### Framework versions | |
| - Transformers 4.41.2 | |
| - Pytorch 2.3.0+cu121 | |
| - Datasets 2.19.2 | |
| - Tokenizers 0.19.1 | |