How to use xxccho/margin_reg_baseline_stem with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("meta-llama/Llama-3.1-8B-Instruct") model = PeftModel.from_pretrained(base_model, "xxccho/margin_reg_baseline_stem")
How to use xxccho/margin_reg_baseline_stem with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("xxccho/margin_reg_baseline_stem", dtype="auto")
The community tab is the place to discuss and collaborate with the HF community!