AG-Prompt- Unified Multilingual-Trained-Models
Collection
4 items • Updated
How to use surrey-nlp/AG-Llama-2-7b with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-chat-hf")
model = PeftModel.from_pretrained(base_model, "surrey-nlp/AG-Llama-2-7b")This model is a fine-tuned version of meta-llama/Llama-2-7b-chat-hf using AG prompt with the QE dataset.
The following hyperparameters were used during training:
Base model
meta-llama/Llama-2-7b-chat-hf