Back to all models
question-answering mask_token: <mask>
Context
Query this model
🔥 This model is currently loaded and running on the Inference API. ⚠️ This model could not be loaded by the inference API. ⚠️ This model can be loaded on the Inference API on-demand.
JSON Output
API endpoint
								$ curl -X POST \
https://api-inference.huggingface.co/models/allenai/longformer-large-4096-finetuned-triviaqa
Share Copied link to clipboard

Monthly model downloads

allenai/longformer-large-4096-finetuned-triviaqa allenai/longformer-large-4096-finetuned-triviaqa
2,567 downloads
last 30 days

pytorch

tf

Contributed by

Allen Institute for AI non-profit
3 team members · 33 models

How to use this model directly from the 🤗/transformers library:

			
Copy to clipboard
from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("allenai/longformer-large-4096-finetuned-triviaqa") model = AutoModelForQuestionAnswering.from_pretrained("allenai/longformer-large-4096-finetuned-triviaqa")