Datasets:
Tasks:
Question Answering
Modalities:
Text
Formats:
json
Languages:
English
Size:
10K - 100K
License:
download script
Browse files- download_cqa.sh +32 -0
download_cqa.sh
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/bash
|
| 2 |
+
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
| 3 |
+
#
|
| 4 |
+
# This source code is licensed under the MIT license found in the
|
| 5 |
+
# LICENSE file in the root directory of this source tree.
|
| 6 |
+
|
| 7 |
+
# download the retriever and reader training and evaluation files for ConcurentQA
|
| 8 |
+
mkdir datasets
|
| 9 |
+
cd datasets
|
| 10 |
+
|
| 11 |
+
mkdir concurrentqa
|
| 12 |
+
cd concurrentqa
|
| 13 |
+
mkdir data
|
| 14 |
+
cd data
|
| 15 |
+
|
| 16 |
+
wget https://dl.fbaipublicfiles.com/concurrentqa/data/CQA_dev_all.json
|
| 17 |
+
wget https://dl.fbaipublicfiles.com/concurrentqa/data/CQA_train_all.json
|
| 18 |
+
wget https://dl.fbaipublicfiles.com/concurrentqa/data/CQA_test_all.json
|
| 19 |
+
|
| 20 |
+
wget https://dl.fbaipublicfiles.com/concurrentqa/data/Retriever_CQA_dev_all_original.json
|
| 21 |
+
wget https://dl.fbaipublicfiles.com/concurrentqa/data/Retriever_CQA_train_all_original.json
|
| 22 |
+
wget https://dl.fbaipublicfiles.com/concurrentqa/data/Retriever_CQA_test_all_original.json
|
| 23 |
+
|
| 24 |
+
# download the background corpora from which to retrieve in the open-domain setting
|
| 25 |
+
cd ..
|
| 26 |
+
mkdir corpora
|
| 27 |
+
cd corpora
|
| 28 |
+
|
| 29 |
+
wget https://dl.fbaipublicfiles.com/concurrentqa/corpora/enron_only_corpus.json
|
| 30 |
+
wget https://dl.fbaipublicfiles.com/concurrentqa/corpora/combined_corpus.json
|
| 31 |
+
wget https://dl.fbaipublicfiles.com/concurrentqa/corpora/wiki_only_corpus.json
|
| 32 |
+
wget https://dl.fbaipublicfiles.com/concurrentqa/corpora/title2sent_map.json
|