Duplicated from AYI-NEDJIMI/CyberSec-Assistant-3B
How to use s0ck3t/CyberSec-Assistant-3B with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/home/deeptechadmin/hf/models/qwen2.5-3b-instruct") model = PeftModel.from_pretrained(base_model, "s0ck3t/CyberSec-Assistant-3B")
The community tab is the place to discuss and collaborate with the HF community!