Zaid commited on
Commit
78c5795
·
1 Parent(s): 6198c71

Update quac_expanded.py

Browse files
Files changed (1) hide show
  1. quac_expanded.py +4 -5
quac_expanded.py CHANGED
@@ -20,8 +20,7 @@ import json
20
  import datasets
21
 
22
 
23
- _CITATION = """\
24
- @inproceedings{choi-etal-2018-quac,
25
  title = "QUAC: Question answering in context",
26
  abstract = "We present QuAC, a dataset for Question Answering in Context that contains 14K information-seeking QA dialogs (100K questions in total). The dialogs involve two crowd workers: (1) a student who poses a sequence of freeform questions to learn as much as possible about a hidden Wikipedia text, and (2) a teacher who answers the questions by providing short excerpts from the text. QuAC introduces challenges not found in existing machine comprehension datasets: its questions are often more open-ended, unanswerable, or only meaningful within the dialog context, as we show in a detailed qualitative evaluation. We also report results for a number of reference models, including a recently state-of-the-art reading comprehension architecture extended to model dialog context. Our best model underperforms humans by 20 F1, suggesting that there is significant room for future work on this data. Dataset, baseline, and leaderboard available at http://quac.ai.",
27
  author = "Eunsol Choi and He He and Mohit Iyyer and Mark Yatskar and Yih, {Wen Tau} and Yejin Choi and Percy Liang and Luke Zettlemoyer",
@@ -36,8 +35,7 @@ note = "2018 Conference on Empirical Methods in Natural Language Processing, EMN
36
  }
37
  """
38
 
39
- _DESCRIPTION = """\
40
- Question Answering in Context is a dataset for modeling, understanding,
41
  and participating in information seeking dialog. Data instances consist
42
  of an interactive dialog between two crowd workers: (1) a student who
43
  poses a sequence of freeform questions to learn as much as possible
@@ -159,4 +157,5 @@ class Quac(datasets.GeneratorBasedBuilder):
159
  "answer": answer,
160
  "orig_answer": orig_answer,
161
  }
162
- _id += 1
 
 
20
  import datasets
21
 
22
 
23
+ _CITATION = """\\n@inproceedings{choi-etal-2018-quac,
 
24
  title = "QUAC: Question answering in context",
25
  abstract = "We present QuAC, a dataset for Question Answering in Context that contains 14K information-seeking QA dialogs (100K questions in total). The dialogs involve two crowd workers: (1) a student who poses a sequence of freeform questions to learn as much as possible about a hidden Wikipedia text, and (2) a teacher who answers the questions by providing short excerpts from the text. QuAC introduces challenges not found in existing machine comprehension datasets: its questions are often more open-ended, unanswerable, or only meaningful within the dialog context, as we show in a detailed qualitative evaluation. We also report results for a number of reference models, including a recently state-of-the-art reading comprehension architecture extended to model dialog context. Our best model underperforms humans by 20 F1, suggesting that there is significant room for future work on this data. Dataset, baseline, and leaderboard available at http://quac.ai.",
26
  author = "Eunsol Choi and He He and Mohit Iyyer and Mark Yatskar and Yih, {Wen Tau} and Yejin Choi and Percy Liang and Luke Zettlemoyer",
 
35
  }
36
  """
37
 
38
+ _DESCRIPTION = """\\nQuestion Answering in Context is a dataset for modeling, understanding,
 
39
  and participating in information seeking dialog. Data instances consist
40
  of an interactive dialog between two crowd workers: (1) a student who
41
  poses a sequence of freeform questions to learn as much as possible
 
157
  "answer": answer,
158
  "orig_answer": orig_answer,
159
  }
160
+ _id += 1
161
+ context += '\n'+question+'\n'+answer