ibm-research/vira-intents
Viewer • Updated • 7.97k • 23 • 2
How to use ibm-research/roberta-large-vira-intents with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="ibm-research/roberta-large-vira-intents") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("ibm-research/roberta-large-vira-intents")
model = AutoModelForSequenceClassification.from_pretrained("ibm-research/roberta-large-vira-intents", device_map="auto")This model is based on RoBERTa large (Liu, 2019), fine-tuned on a dataset of intent expressions available here and also on 🤗 Transformer datasets hub here.
The model was created as part of the work described in Benchmark Data and Evaluation Framework for Intent Discovery Around COVID-19 Vaccine Hesitancy . The model is released under the Community Data License Agreement - Sharing - Version 1.0 (link), If you use this model, please cite our paper.
The official GitHub is here. The script used for training the model is trainer.py.
DataCollatorWithPadding