How to use Nitrals-Loras/8B-lora1-test with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("nvidia/Llama-3.1-Nemotron-Nano-8B-v1") model = PeftModel.from_pretrained(base_model, "Nitrals-Loras/8B-lora1-test")
The community tab is the place to discuss and collaborate with the HF community!