SetFit/mnli
Viewer โข Updated โข 412k โข 1.37k โข 8
Run yuuhan/roberta-base-mnli-lora on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Use HF Jobs to fine-tune https://huggingface.co/yuuhan/roberta-base-mnli-lora. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Use HF Jobs to run batch inference with https://huggingface.co/yuuhan/roberta-base-mnli-lora on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
How to use yuuhan/roberta-base-mnli-lora with PEFT:
from peft import PeftModel
from transformers import AutoModelForSequenceClassification
base_model = AutoModelForSequenceClassification.from_pretrained("/home/sunyuhan/syh/sunyuhan/zju/roberta-base")
model = PeftModel.from_pretrained(base_model, "yuuhan/roberta-base-mnli-lora")This modelcard aims to be a base template for new models. It has been generated using this raw template.
Accurate: 0.8654100866021396 on glue/mnli