How to use Infernaught/phi_space_ner with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("susnato/phi-2") model = PeftModel.from_pretrained(base_model, "Infernaught/phi_space_ner")
The community tab is the place to discuss and collaborate with the HF community!