Dataset Preview
Duplicate
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
1185869
)what was the immediate impact of the success of the manhattan project?
{}
1185868
_________ justice is designed to repair the harm to victim, the community and the offender caused by the offender criminal act. question 19 options:
{}
597651
what color is amber urine
{}
403613
is autoimmune hepatitis a bile acid synthesis disorder
{}
1183785
elegxo meaning
{}
312651
how much does an average person make for tutoring
{}
80385
can you use a calculator on the compass test
{}
645590
what does physical medicine do
{}
645337
what does pending mean on listing
{}
186154
feeding rice cereal how many times per day
{}
457407
most dependable affordable cars
{}
441383
lithophile definition
{}
683408
what is a flail chest
{}
1164799
what causes ear infection in adults
{}
484187
put yourself on child support in texas
{}
460668
mushrooms health benefits
{}
666321
what happens in a wrist sprain
{}
182487
example of culture &sensitivity results
{}
564233
what are rhetorical topics
{}
455279
mode of acquisition
{}
208108
how beautiful on the mountain are the feet
{}
733739
what is considered early fall
{}
1164798
what causes elevated nitrate levels in aquariums
{}
402608
is an independent contractor hired by a company entitled to the same non-compete as a normal employee
{}
443797
lyme disease symptoms mood
{}
662502
what forms the epineurium
{}
1184679
an alpha helix is an example of which protein structure?
{}
14562
aggregate demand curve
{}
602162
what county is ackley iowa in
{}
545059
weather in medellin, colombia
{}
708236
what is adiabatic?
{}
310130
how much does a lipid panel cost
{}
693161
what is a nrr noise reduction rating mean
{}
186617
fibroid symptoms after menopause
{}
573027
what are the requirements for neurologist
{}
1173772
meaning of ..bann..
{}
541973
watts & browning engineers
{}
273090
how long was jack denison dorothy dandridge married
{}
441269
literal define
{}
642237
what does lease to purchase on car mean?
{}
503515
steering define
{}
637443
what does fb mean on a ring
{}
1164796
what causes elevation in ast (sgot)
{}
749988
what is garlic used for
{}
135841
definition of legal term injunctive relief
{}
295446
how many seconds should check for breathing
{}
653051
what does the term bar none mean
{}
691147
what is a mini whoodle
{}
410621
is frida kahlo mexican
{}
1164795
what causes everything to taste sugary
{}
598443
what color is venus planet
{}
596451
what class lever is a nutcracker
{}
651441
what does the name halima mean
{}
452286
meds that can cause irregular heartbeat
{}
308543
how much does a ballet dancer make
{}
202126
highest enlisted marine female
{}
114820
cyrillic alphabet definition
{}
501778
spousal roth ira contribution after age 70
{}
531029
typical retirement fers
{}
651110
what does the name asia mean
{}
594127
what cell type is responsible for producing current?
{}
1164794
what causes excel file corruption
{}
396032
infrax system
{}
705580
what is a virtual interface
{}
658203
what ethnicity is darren criss' mom?
{}
387734
how was the esperanza fire started
{}
655102
what does whistling dixie mean
{}
224712
how does a bump key work
{}
411732
is gwen stefani italian
{}
1164793
what causes exhaust hanger to fail
{}
605902
what county is fine ny in
{}
581014
what can cause a metallic smell
{}
559240
what are garlic supplements good for
{}
608711
what county is lochbuie co in
{}
535936
vde definition
{}
130335
definition chemical
{}
147535
difference between hep b and c
{}
1164792
what causes extreme swelling in just one leg?
{}
595576
what citation is used for outside sources
{}
569308
what are the drugs used for moderate sedation
{}
753706
what is hardie plank
{}
627871
what does ISF mean fluid do
{}
673608
what is a affidavit of support
{}
510071
syracuse minor league baseball
{}
113839
current fuel price in delhi
{}
1164791
what causes eyelid itching and swelling
{}
460953
myers-briggs personality test what do the letters stand for
{}
685235
what is a good home remedy for hemorrhoids
{}
650643
what does the last name spratt mean
{}
1183784
element al
{}
1164790
what causes feelings of detachment from reality,
{}
96740
concrete walkway cost per square foot
{}
26666
armistead meaning
{}
490046
ross cameron age
{}
485823
reasons why nuclear power is bad
{}
635632
what does dealer invoice price mean
{}
534505
use pi as wired vpn router
{}
498612
singular noun definition for kids
{}
85453
causes of back pain in female for a week
{}
493122
savannah georgia average yearly weather
{}
End of preview.

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Data Description

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) and text 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 and text with query text. For example: {"_id": "q1", "text": "q1_text"}
  • qrels file: a .tsv file (tab-seperated) that contains three columns, i.e. the query-id, corpus-id and score 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
5