Gemma2 LoRA Adapters
Collection
Gemma2 LoRA adapters fine-tuned using SFT in TRL on diverse tasks such as coding, SQL, Japanese to English, and function calling โข 6 items โข Updated
Run google-cloud-partnership/gemma-2-2b-it-function_calling on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Use HF Jobs to fine-tune https://huggingface.co/google-cloud-partnership/gemma-2-2b-it-function_calling. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Use HF Jobs to run batch inference with https://huggingface.co/google-cloud-partnership/gemma-2-2b-it-function_calling on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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")This model is a fine-tuned version of google/gemma-2-2b-it on the generator dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.8466 | 0.9994 | 398 | 0.8928 |