Instructions to use CrazyDave53/gemma-2-9b-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use CrazyDave53/gemma-2-9b-classification with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("unsloth/gemma-2-9b-it-bnb-4bit") model = PeftModel.from_pretrained(base_model, "CrazyDave53/gemma-2-9b-classification") - Notebooks
- Google Colab
- Kaggle