Skip to content

Commit

Permalink
Natural Questions (MRQA), NewsQA, Quoref (nyu-mll#1207)
Browse files Browse the repository at this point in the history
* race

* black

* race

* quoref

* newsqa

* NewsQATask

* newsqa fix

* race

* race data proc

* race update

* mrqa_nq

* comma

* answers

* remove hi

* remove gzip

* remove race and ropes temporarily

* docs

* black

* flake

* flake

* remove ropes

* remove ropes

* remove ropes

* doc
  • Loading branch information
zphang authored Oct 22, 2020
1 parent fe75e87 commit 79df467
Show file tree
Hide file tree
Showing 13 changed files with 626 additions and 14 deletions.
2 changes: 1 addition & 1 deletion examples/notebooks/simple_api_fine_tuning.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -233,4 +233,4 @@
"outputs": []
}
]
}
}
3 changes: 3 additions & 0 deletions guides/tasks/supported_tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,11 @@
| MNLI-mismatched | mnli_mismatched ||| mnli_mismatched | GLUE |
| MultiRC | multirc ||| multirc | SuperGLUE |
| MRPC | mrpc ||| mrpc | GLUE |
| Natural Questions | mrqa_natural_questions ||| mrqa_natural_questions | [MRQA](https://mrqa.github.io/) version of task |
| NewsQA | newsqa ||| newsqa | |
| QAMR | qamr ||| qamr | |
| QA-SRL | qasrl ||| qasrl | |
| Quoref | quoref ||| quoref | |
| EP-NER | ner || | ner | Edge-Probing |
| PAWS-X | `pawsx_{lang}` ||| pawsx | XTREME, multi-lang |
| WikiAnn | `panx_{lang}` ||| panx | XTREME, multi-lang |
Expand Down
9 changes: 8 additions & 1 deletion jiant/scripts/download_data/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,14 @@
"multirc": f"https://dl.fbaipublicfiles.com/glue/superglue/data/v2/MultiRC.zip",
"record": f"https://dl.fbaipublicfiles.com/glue/superglue/data/v2/ReCoRD.zip",
}
OTHER_DOWNLOAD_TASKS = {"abductive_nli", "swag", "qamr", "qasrl"}
OTHER_DOWNLOAD_TASKS = {
"abductive_nli",
"swag",
"qamr",
"qasrl",
"newsqa",
"mrqa_natural_questions",
}
DIRECT_DOWNLOAD_TASKS = set(
list(SQUAD_TASKS) + list(DIRECT_SUPERGLUE_TASKS_TO_DATA_URLS) + list(OTHER_DOWNLOAD_TASKS)
)
Loading

0 comments on commit 79df467

Please sign in to comment.