Instructions to use allenai/multicite-multilabel-roberta-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use allenai/multicite-multilabel-roberta-large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="allenai/multicite-multilabel-roberta-large")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("allenai/multicite-multilabel-roberta-large") model = AutoModelForSequenceClassification.from_pretrained("allenai/multicite-multilabel-roberta-large") - Notebooks
- Google Colab
- Kaggle
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("allenai/multicite-multilabel-roberta-large")
model = AutoModelForSequenceClassification.from_pretrained("allenai/multicite-multilabel-roberta-large")Quick Links
MultiCite: Multi-label Citation Intent Classification with Roberta-large (NAACL 2022)
This model has been trained on the data available here: https://github.com/allenai/multicite.
- Downloads last month
- 9
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="allenai/multicite-multilabel-roberta-large")