BlendX: Complex Multi-Intent Detection with Blended Patterns
Paper • 2403.18277 • Published • 1
LoRA-based fine-tuned RoBERTa model for multi-intent classification in natural language utterances.
Use the code below to download the tokenizer and fine-tuned model with LoRA.
from transformers import AutoTokenizer,AutoModelForSequenceClassification
from peft import PeftModel
tokenizer = AutoTokenizer.from_pretrained("twkang43/lora-roberta-cse4057")
base_model = AutoModelForSequenceClassification.from_pretrained(
MODEL_NAME,
problem_type="multi_label_classification",
num_labels=num_labels,
id2label=id2label,
label2id=label2id
).to(DEVICE)
model = PeftModel.from_pretrained(base_model, "twkang43/lora-roberta-cse4057")
Fine-tuned on the BlendX dataset ("train" dataset was split into training and validation datasets with a 9:1 ratio).
This model is primarily fine-tuned with LoRA.
The model was tested on the BlendX dataset ("dev" data).
This model was primarily trained using Google Colab (free tier).
Base model
FacebookAI/roberta-base