Instructions to use AndersGiovanni/gemma-2b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use AndersGiovanni/gemma-2b with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("google/gemma-2b") model = PeftModel.from_pretrained(base_model, "AndersGiovanni/gemma-2b") - Notebooks
- Google Colab
- Kaggle
Ctrl+K
This model has 1 file scanned as unsafe.