AG-Prompt- Unified Multilingual-Trained-Models
Collection
4 items โข Updated
Run surrey-nlp/AG-Gemma-7B 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/surrey-nlp/AG-Gemma-7B. 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/surrey-nlp/AG-Gemma-7B 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 surrey-nlp/AG-Gemma-7B with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("google/gemma-7b-it")
model = PeftModel.from_pretrained(base_model, "surrey-nlp/AG-Gemma-7B")This model is a fine-tuned version of google/gemma-7b-it utilizing the AG prompt for Quality Estimation.
The following hyperparameters were used during training: