Dataset Preview
Full Screen Viewer
Full Screen
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code: DatasetGenerationError Exception: ArrowNotImplementedError Message: Cannot write struct type 'metadata' with no child field to Parquet. Consider adding a dummy child field. Traceback: Traceback (most recent call last): File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2011, in _prepare_split_single writer.write_table(table) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 583, in write_table self._build_writer(inferred_schema=pa_table.schema) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 404, in _build_writer self.pa_writer = self._WRITER_CLASS(self.stream, schema) File "/src/services/worker/.venv/lib/python3.9/site-packages/pyarrow/parquet/core.py", line 1010, in __init__ self.writer = _parquet.ParquetWriter( File "pyarrow/_parquet.pyx", line 2157, in pyarrow._parquet.ParquetWriter.__cinit__ File "pyarrow/error.pxi", line 154, in pyarrow.lib.pyarrow_internal_check_status File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status pyarrow.lib.ArrowNotImplementedError: Cannot write struct type 'metadata' with no child field to Parquet. Consider adding a dummy child field. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2027, in _prepare_split_single num_examples, num_bytes = writer.finalize() File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 602, in finalize self._build_writer(self.schema) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 404, in _build_writer self.pa_writer = self._WRITER_CLASS(self.stream, schema) File "/src/services/worker/.venv/lib/python3.9/site-packages/pyarrow/parquet/core.py", line 1010, in __init__ self.writer = _parquet.ParquetWriter( File "pyarrow/_parquet.pyx", line 2157, in pyarrow._parquet.ParquetWriter.__cinit__ File "pyarrow/error.pxi", line 154, in pyarrow.lib.pyarrow_internal_check_status File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status pyarrow.lib.ArrowNotImplementedError: Cannot write struct type 'metadata' with no child field to Parquet. Consider adding a dummy child field. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1529, in compute_config_parquet_and_info_response parquet_operations = convert_to_parquet(builder) File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1154, in convert_to_parquet builder.download_and_prepare( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1027, in download_and_prepare self._download_and_prepare( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1122, in _download_and_prepare self._prepare_split(split_generator, **prepare_split_kwargs) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1882, in _prepare_split for job_id, done, content in self._prepare_split_single( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2038, in _prepare_split_single raise DatasetGenerationError("An error occurred while generating the dataset") from e datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
_id
string | text
string | metadata
dict |
---|---|---|
INEX_LD-20120112 | vietnam war facts | {} |
INEX_LD-20120132 | vietnam travel airports | {} |
INEX_LD-20120212 | guitar chord minor | {} |
INEX_LD-20120222 | guitar classical bach | {} |
INEX_LD-20120322 | tango music instruments | {} |
INEX_LD-20120432 | bicycle benefits environment | {} |
INEX_LD-2009111 | europe solar power facility | {} |
INEX_LD-2009096 | Eiffel | {} |
INEX_LD-2012307 | July, 1850 president died Millard Fillmore sworn following day | {} |
INEX_LD-2012336 | 1906 territory Papua island Australian | {} |
INEX_LD-2012343 | The Heart of a Woman poet's autobiography | {} |
INEX_LD-2012347 | seat Florida country Dade | {} |
INEX_LD-2012351 | Indian Cuisine dish rice dhal vegetables roti papad | {} |
INEX_LD-2012363 | American twins famous American professional tennis double players | {} |
INEX_LD-2012375 | animals lay eggs mammals | {} |
INEX_XER-73 | magazines about indie-music | {} |
INEX_XER-97 | Compilers that can compile both C and C++ | {} |
INEX_XER-100 | Operating systems to which Steve Jobs related | {} |
INEX_XER-126 | toy train manufacturers that are still in business | {} |
INEX_XER-125 | countries which have won the FIFA world cup | {} |
QALD2_te-15 | What is the longest river? | {} |
QALD2_te-19 | Give me all people that were born in Vienna and died in Berlin. | {} |
QALD2_te-29 | Give me all actors starring in movies directed by and starring William Shatner. | {} |
QALD2_te-34 | In which military conflicts did Lawrence of Arabia participate? | {} |
QALD2_te-86 | What is the largest city in Australia? | {} |
QALD2_te-87 | Who composed the music for Harold and Maude? | {} |
QALD2_te-41 | Who founded Intel? | {} |
QALD2_tr-23 | Which television shows were created by Walt Disney? | {} |
QALD2_tr-44 | Who designed the Brooklyn Bridge? | {} |
QALD2_tr-63 | Give me all actors starring in Batman Begins. | {} |
QALD2_tr-72 | Which languages are spoken in Estonia? | {} |
QALD2_tr-73 | Who owns Aldi? | {} |
QALD2_tr-22 | In which country is the Limerick Lake? | {} |
QALD2_tr-86 | Give me all female German chancellors. | {} |
QALD2_tr-92 | What is the highest mountain? | {} |
SemSearch_ES-12 | austin texas | {} |
SemSearch_ES-22 | city of charlotte | {} |
SemSearch_ES-28 | el salvador | {} |
SemSearch_ES-31 | emery | {} |
SemSearch_ES-34 | harry potter movie | {} |
SemSearch_ES-40 | james clayton md | {} |
SemSearch_ES-57 | martin luther king | {} |
SemSearch_ES-63 | old winchester shotguns | {} |
SemSearch_ES-65 | orlando florida | {} |
SemSearch_ES-66 | overeaters anonymous | {} |
SemSearch_ES-67 | ovguide movies | {} |
SemSearch_ES-70 | radio italia online | {} |
SemSearch_ES-53 | lynchburg virginia | {} |
SemSearch_ES-54 | marc anthony | {} |
SemSearch_ES-68 | pierce county washington | {} |
SemSearch_ES-73 | rowan university | {} |
SemSearch_ES-37 | jack johnson | {} |
SemSearch_ES-42 | john maxwell | {} |
SemSearch_ES-79 | shobana masala | {} |
SemSearch_ES-99 | University of York | {} |
SemSearch_ES-81 | south dakota state university | {} |
SemSearch_ES-93 | 08 toyota tundra | {} |
SemSearch_ES-94 | Hugh Downs | {} |
SemSearch_ES-109 | david hewlett | {} |
SemSearch_ES-131 | scpa san diego | {} |
SemSearch_ES-137 | steak express | {} |
SemSearch_ES-141 | ventura county court | {} |
SemSearch_LS-5 | books of the Jewish canon | {} |
SemSearch_LS-17 | houses of the Russian parliament | {} |
SemSearch_LS-19 | kenya's captain in cricket | {} |
SemSearch_LS-40 | the first 13 american states | {} |
TREC_Entity-17 | Chefs with a show on the Food Network. | {} |
INEX_LD-20120111 | vietnam war movie | {} |
INEX_LD-20120121 | vietnam food recipes | {} |
INEX_LD-20120122 | vietnamese food blog | {} |
INEX_LD-20120131 | vietnam travel national park | {} |
INEX_LD-20120211 | guitar chord tuning | {} |
INEX_LD-20120221 | guitar classical flamenco | {} |
INEX_LD-20120231 | guitar origin Russia | {} |
INEX_LD-20120232 | guitar origin blues | {} |
INEX_LD-20120311 | tango culture movies | {} |
INEX_LD-20120312 | tango culture countries | {} |
INEX_LD-20120321 | tango music composers | {} |
INEX_LD-20120331 | tango dance styles | {} |
INEX_LD-20120332 | tango dance history | {} |
INEX_LD-20120411 | bicycle sport races | {} |
INEX_LD-20120412 | bicycle sport disciplines | {} |
INEX_LD-20120421 | bicycle holiday towns | {} |
INEX_LD-20120422 | bicycle holiday nature | {} |
INEX_LD-20120431 | bicycle benefits health | {} |
INEX_LD-20120511 | female rock singers | {} |
INEX_LD-20120512 | south korean girl groups | {} |
INEX_LD-20120521 | electronic music genres | {} |
INEX_LD-20120522 | digital music notation formats | {} |
INEX_LD-20120531 | music conferences | {} |
INEX_LD-20120532 | intellectual property rights lobby | {} |
INEX_LD-2009022 | Szechwan dish food cuisine | {} |
INEX_LD-2009039 | roman architecture | {} |
INEX_LD-2009053 | finland car industry manufacturer saab sisu | {} |
INEX_LD-2009061 | france second world war normandy | {} |
INEX_LD-2009062 | social network group selection | {} |
INEX_LD-2009063 | D-Day normandy invasion | {} |
INEX_LD-2009074 | web ranking scoring algorithm | {} |
INEX_LD-2009115 | virtual museums | {} |
INEX_LD-2010004 | Indian food | {} |
End of preview.
YAML Metadata
Warning:
empty or missing yaml metadata in repo card
(https://huggingface.co/docs/hub/datasets-cards)
Data Description
- Homepage: https://github.com/KID-22/Cocktail
- Repository: https://github.com/KID-22/Cocktail
- Paper: [Needs More Information]
Dataset Summary
All the 16 benchmarked datasets in Cocktail are listed in the following table.
Dataset | Raw Website | Cocktail Website | Cocktail-Name | md5 for Processed Data | Domain | Relevancy | # Test Query | # Corpus |
---|---|---|---|---|---|---|---|---|
MS MARCO | Homepage | Homepage | msmarco |
985926f3e906fadf0dc6249f23ed850f |
Misc. | Binary | 6,979 | 542,203 |
DL19 | Homepage | Homepage | dl19 |
d652af47ec0e844af43109c0acf50b74 |
Misc. | Binary | 43 | 542,203 |
DL20 | Homepage | Homepage | dl20 |
3afc48141dce3405ede2b6b937c65036 |
Misc. | Binary | 54 | 542,203 |
TREC-COVID | Homepage | Homepage | trec-covid |
1e1e2264b623d9cb7cb50df8141bd535 |
Bio-Medical | 3-level | 50 | 128,585 |
NFCorpus | Homepage | Homepage | nfcorpus |
695327760647984c5014d64b2fee8de0 |
Bio-Medical | 3-level | 323 | 3,633 |
NQ | Homepage | Homepage | nq |
a10bfe33efdec54aafcc974ac989c338 |
Wikipedia | Binary | 3,446 | 104,194 |
HotpotQA | Homepage | Homepage | hotpotqa |
74467760fff8bf8fbdadd5094bf9dd7b |
Wikipedia | Binary | 7,405 | 111,107 |
FiQA-2018 | Homepage | Homepage | fiqa |
4e1e688539b0622630fb6e65d39d26fa |
Finance | Binary | 648 | 57,450 |
TouchΓ©-2020 | Homepage | Homepage | webis-touche2020 |
d58ec465ccd567d8f75edb419b0faaed |
Misc. | 3-level | 49 | 101,922 |
CQADupStack | Homepage | Homepage | cqadupstack |
d48d963bc72689c765f381f04fc26f8b |
StackEx. | Binary | 1,563 | 39,962 |
DBPedia | Homepage | Homepage | dbpedia-entity |
43292f4f1a1927e2e323a4a7fa165fc1 |
Wikipedia | 3-level | 400 | 145,037 |
SCIDOCS | Homepage | Homepage | scidocs |
4058c0915594ab34e9b2b67f885c595f |
Scientific | Binary | 1,000 | 25,259 |
FEVER | Homepage | Homepage | fever |
98b631887d8c38772463e9633c477c69 |
Wikipedia | Binary | 6,666 | 114,529 |
Climate-FEVER | Homepage | Homepage | climate-fever |
5734d6ac34f24f5da496b27e04ff991a |
Wikipedia | Binary | 1,535 | 101,339 |
SciFact | Homepage | Homepage | scifact |
b5b8e24ccad98c9ca959061af14bf833 |
Scientific | Binary | 300 | 5,183 |
NQ-UTD | Homepage | Homepage | nq-utd |
2e12e66393829cd4be715718f99d2436 |
Misc. | 3-level | 80 | 800 |
Dataset Structure
.
βββ corpus # * documents
β βββ human.jsonl # * human-written corpus
β βββ llama-2-7b-chat-tmp0.2.jsonl # * llm-generated corpus
βββ qrels
β βββ test.tsv # * relevance for queries
βββ queries.jsonl # * quereis
All Cocktail datasets must contain a humman-written corpus, a LLM-generated corpus, queries and qrels. They must be in the following format:
corpus
: a.jsonl
file (jsonlines) that contains a list of dictionaries, each with three fields_id
with unique document identifier,title
with document title (optional) andtext
with document paragraph or passage. For example:{"_id": "doc1", "title": "title", "text": "text"}
queries
file: a.jsonl
file (jsonlines) that contains a list of dictionaries, each with two fields_id
with unique query identifier andtext
with query text. For example:{"_id": "q1", "text": "q1_text"}
qrels
file: a.tsv
file (tab-seperated) that contains three columns, i.e. thequery-id
,corpus-id
andscore
in this order. Keep 1st row as header. For example:q1 doc1 1
Cite as:
@article{cocktail,
title={Cocktail: A Comprehensive Information Retrieval Benchmark with LLM-Generated Documents Integration},
author={Dai, Sunhao and Liu, Weihao and Zhou, Yuqi and Pang, Liang and Ruan, Rongju and Wang, Gang and Dong, Zhenhua and Xu, Jun and Wen, Ji-Rong},
journal={Findings of the Association for Computational Linguistics: ACL 2024},
year={2024}
}
@article{dai2024neural,
title={Neural Retrievers are Biased Towards LLM-Generated Content},
author={Dai, Sunhao and Zhou, Yuqi and Pang, Liang and Liu, Weihao and Hu, Xiaolin and Liu, Yong and Zhang, Xiao and Wang, Gang and Xu, Jun},
journal={Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
year={2024}
}
- Downloads last month
- 6