PygmalionAI/PIPPA
Updated • 564 • 236
How to use ricecake/Codellama-Pygmalion-LoRA-Test with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("codellama/CodeLlama-34b-Instruct-hf")
model = PeftModel.from_pretrained(base_model, "ricecake/Codellama-Pygmalion-LoRA-Test")The following bitsandbytes quantization config was used during training:
Base model
codellama/CodeLlama-34b-Instruct-hf