Instructions to use tinyllamafinetuner/gemma3_banking77 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use tinyllamafinetuner/gemma3_banking77 with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("google/gemma-3-270m") model = PeftModel.from_pretrained(base_model, "tinyllamafinetuner/gemma3_banking77") - Notebooks
- Google Colab
- Kaggle
gemma3_banking77
This model is a fine-tuned version of google/gemma-3-270m on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.4452
- Accuracy: 0.9101
- F1: 0.9102
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: 0.0002
- train_batch_size: 16
- eval_batch_size: 32
- seed: 42
- gradient_accumulation_steps: 2
- total_train_batch_size: 32
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: cosine
- lr_scheduler_warmup_steps: 0.1
- num_epochs: 5
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|---|---|---|---|---|---|
| 1.4154 | 1.0 | 313 | 0.6781 | 0.8172 | 0.8188 |
| 0.6255 | 2.0 | 626 | 0.4265 | 0.8831 | 0.8837 |
| 0.2972 | 3.0 | 939 | 0.4333 | 0.9 | 0.9001 |
| 0.0862 | 4.0 | 1252 | 0.4326 | 0.9117 | 0.9119 |
| 0.0102 | 5.0 | 1565 | 0.4452 | 0.9101 | 0.9102 |
Framework versions
- PEFT 0.18.1
- Transformers 5.0.0
- Pytorch 2.10.0+cu128
- Datasets 2.21.0
- Tokenizers 0.22.2
- Downloads last month
- 11
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support
Model tree for tinyllamafinetuner/gemma3_banking77
Base model
google/gemma-3-270m