Run this model with HF Jobs
Run mbartolo/roberta-large-synqa-ext 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:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/mbartolo/roberta-large-synqa-ext. 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.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/mbartolo/roberta-large-synqa-ext 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.
Instructions to use mbartolo/roberta-large-synqa-ext with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mbartolo/roberta-large-synqa-ext with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("question-answering", model="mbartolo/roberta-large-synqa-ext")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("mbartolo/roberta-large-synqa-ext") model = AutoModelForQuestionAnswering.from_pretrained("mbartolo/roberta-large-synqa-ext", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Model Overview
This is a RoBERTa-Large QA Model trained from https://huggingface.co/roberta-large in two stages. First, it is trained on synthetic adversarial data generated using a BART-Large question generator on Wikipedia passages from SQuAD as well as Wikipedia passages external to SQuAD, and then it is trained on SQuAD and AdversarialQA (https://arxiv.org/abs/2002.00293) in a second stage of fine-tuning.
Data
Training data: SQuAD + AdversarialQA Evaluation data: SQuAD + AdversarialQA
Training Process
Approx. 1 training epoch on the synthetic data and 2 training epochs on the manually-curated data.
Additional Information
Please refer to https://arxiv.org/abs/2104.08678 for full details.
- Downloads last month
- 62
Datasets used to train mbartolo/roberta-large-synqa-ext
UCLNLP/adversarial_qa
mbartolo/synQA
Papers for mbartolo/roberta-large-synqa-ext
Improving Question Answering Model Robustness with Synthetic Adversarial Data Generation
Beat the AI: Investigating Adversarial Human Annotation for Reading Comprehension
Evaluation results
- Exact Match on adversarial_qavalidation set self-reported53.200
- F1 on adversarial_qavalidation set self-reported64.627