How to use richfrem/smart-secrets-scanner-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/mnt/c/Users/RICHFREM/source/repos/Smart-Secrets-Scanner/models/base/Meta-Llama-3.1-8B") model = PeftModel.from_pretrained(base_model, "richfrem/smart-secrets-scanner-lora")
The community tab is the place to discuss and collaborate with the HF community!