Instructions to use google-cloud-partnership/gemma-2-2b-it-function_calling with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use google-cloud-partnership/gemma-2-2b-it-function_calling with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("google/gemma-2-2b-it") model = PeftModel.from_pretrained(base_model, "google-cloud-partnership/gemma-2-2b-it-function_calling") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
5b4924d | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:eef1e732115c7736afbc27f42f9f2654776cb27de6d2dbfff7d5b3c2ba21a07a
size 17526103
|