AG-Prompt- Unified Multilingual-Trained-Models
Collection
4 items โข Updated
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: