Upload folder using huggingface_hub 3b4f3c3 verified
Alim commited on
How to use alimkacar/stem-tr-instruct-1k with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("ytu-ce-cosmos/Turkish-Llama-8b-Instruct-v0.1")
model = PeftModel.from_pretrained(base_model, "alimkacar/stem-tr-instruct-1k")