concurrentqa / download_cqa.sh
simarora's picture
download script
a81756e
#!/usr/bin/bash
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
# download the retriever and reader training and evaluation files for ConcurentQA
mkdir datasets
cd datasets
mkdir concurrentqa
cd concurrentqa
mkdir data
cd data
wget https://dl.fbaipublicfiles.com/concurrentqa/data/CQA_dev_all.json
wget https://dl.fbaipublicfiles.com/concurrentqa/data/CQA_train_all.json
wget https://dl.fbaipublicfiles.com/concurrentqa/data/CQA_test_all.json
wget https://dl.fbaipublicfiles.com/concurrentqa/data/Retriever_CQA_dev_all_original.json
wget https://dl.fbaipublicfiles.com/concurrentqa/data/Retriever_CQA_train_all_original.json
wget https://dl.fbaipublicfiles.com/concurrentqa/data/Retriever_CQA_test_all_original.json
# download the background corpora from which to retrieve in the open-domain setting
cd ..
mkdir corpora
cd corpora
wget https://dl.fbaipublicfiles.com/concurrentqa/corpora/enron_only_corpus.json
wget https://dl.fbaipublicfiles.com/concurrentqa/corpora/combined_corpus.json
wget https://dl.fbaipublicfiles.com/concurrentqa/corpora/wiki_only_corpus.json
wget https://dl.fbaipublicfiles.com/concurrentqa/corpora/title2sent_map.json