Instructions to use ridhimamlds/seqcls-mahasent with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ridhimamlds/seqcls-mahasent with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("google/gemma-2-2b") model = PeftModel.from_pretrained(base_model, "ridhimamlds/seqcls-mahasent") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from ridhimamlds/seqcls-mahasent: direct link, hf CLI and curl.
- Browser
- Download file 1.57 kB
-
https://huggingface.co/ridhimamlds/seqcls-mahasent/resolve/main/README.md
- Command line
-
hf download hf://ridhimamlds/seqcls-mahasent/README.md
-
curl -L -o README.md https://huggingface.co/ridhimamlds/seqcls-mahasent/resolve/main/README.md
1.57 kB
| base_model: google/gemma-2-2b | |
| library_name: peft | |
| license: gemma | |
| metrics: | |
| - accuracy | |
| - precision | |
| - recall | |
| - f1 | |
| tags: | |
| - generated_from_trainer | |
| model-index: | |
| - name: seqcls-mahasent | |
| 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. --> | |
| # seqcls-mahasent | |
| This model is a fine-tuned version of [google/gemma-2-2b](https://huggingface.co/google/gemma-2-2b) on an unknown dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: nan | |
| - Accuracy: 0.3333 | |
| - Precision: 0.1111 | |
| - Recall: 0.3333 | |
| - F1: 0.1667 | |
| ## 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: 4 | |
| - seed: 42 | |
| - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 | |
| - lr_scheduler_type: linear | |
| - lr_scheduler_warmup_steps: 500 | |
| - num_epochs: 1 | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 | | |
| |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:| | |
| | 0.0 | 1.0 | 3029 | nan | 0.3333 | 0.1111 | 0.3333 | 0.1667 | | |
| ### Framework versions | |
| - PEFT 0.12.0 | |
| - Transformers 4.44.0 | |
| - Pytorch 2.4.0 | |
| - Datasets 2.21.0 | |
| - Tokenizers 0.19.1 |