Upload 224 files 242ef39 verified
Sri Santh commited on
How to use SriSanthM/LLAMA-3.2-1B-MathInstrcu-LORA with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-3.2-1B")
model = PeftModel.from_pretrained(base_model, "SriSanthM/LLAMA-3.2-1B-MathInstrcu-LORA")