aviva-chomsky-qa / README.md
avduarte333's picture
Upload README.md
a6ba8d4 verified
|
Raw History Blame Contribute Delete
2.49 kB
---
pretty_name: Aviva Chomsky QA corpus (11-697 HW4)
language:
- en
license: other
task_categories:
- question-answering
size_categories:
- n<1K
configs:
- config_name: default
data_files:
- split: train
path: corpus.csv
---
# Aviva Chomsky QA corpus
Context corpus and question set for Homework 4 of CMU 11-697 (Introduction to Question Answering with
Large Language Models).
- **Team members:** André Duarte, Eunsu Kim
- **Assigned person:** Aviva Chomsky (historian, born 1957)
```python
from datasets import load_dataset
corpus = load_dataset("andre-eunsu-qa/aviva-chomsky-qa", split="train") # title, pageid, text
# the question files are in the same repository
base = "hf://datasets/andre-eunsu-qa/aviva-chomsky-qa/"
questions = load_dataset("json", data_files={"dev": base + "questions_dev.jsonl", "test": base + "questions_test.jsonl"})
```
## Corpus
209 documents (about 728,000 words) with the columns `title`, `pageid`, `text`, in the format of `bbasavar/wiki-corpus-v1`.
| Source | Documents |
|---|---|
| English Wikipedia: her article, her family, every article that mentions her, the institutions, publishers and subjects of her books, and near-miss articles | 161 |
| Openly licensed pages: Democracy Now!, Common Dreams and FAIR interviews and articles, an H-Net review, a Library of Congress record, her Wikidata item | 12 |
| Other pages by or about her: her articles, publisher pages of her books, her faculty profile and university news | 36 |
## How it was collected
- The sources were chosen by hand; nothing was crawled.
- Wikipedia text comes from the MediaWiki API as plain text.
- Other pages were fetched one by one, following each site's robots.txt and crawl delay. Menus, headers and footers were removed.
- All text is real text from these sources. No LLM wrote, rewrote or cleaned corpus text.
- `sources.csv` lists the URL, licence and fetch date of every document.
## Questions
80 questions: 20 each of factoid, complex, multi-hop and unanswerable, split evenly into `dev` (40) and
`test` (40). They follow the HW1-HW3 schema. Gold passages and answers are verbatim excerpts of the corpus.
The questions were drafted with the help of an LLM and selected by the team.
## Licence
Mixed sources, so the licence is `other`: Wikipedia text is CC BY-SA 4.0, and the other sources keep their
own terms (see `sources.csv`). The dataset is for non-commercial course use only; any document will be
removed at the request of its owner.