How to use jeanlucmarsh/opt-125m-pattern-based_finetuning_with_lora-mnli-mm-d1_fs2 with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("facebook/opt-125m") model = PeftModel.from_pretrained(base_model, "jeanlucmarsh/opt-125m-pattern-based_finetuning_with_lora-mnli-mm-d1_fs2")
The community tab is the place to discuss and collaborate with the HF community!
Create images in seconds. No sign-up, no paywall, no setup.