Dataset Preview
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
0
What is considered a business expense on a business trip?
{}
4
Business Expense - Car Insurance Deductible For Accident That Occurred During a Business Trip
{}
5
Starting a new online business
{}
6
“Business day” and “due date” for bills
{}
7
New business owner - How do taxes work for the business vs individual?
{}
9
Hobby vs. Business
{}
11
Personal checks instead of business ones
{}
12
Does U.S. tax code call for small business owners to count business purchases as personal income?
{}
13
How can I register a UK business without providing a business address?
{}
14
What are 'business fundamentals'?
{}
16
Business Investment Loss from prior year
{}
19
How can I estimate business taxes / filing fees for a business that has $0 income?
{}
20
Would the purchase of a car for a business through the use of a business loan be considered a business expense?
{}
21
Deducting last years (undocumented) side business loss
{}
23
30% share in business
{}
25
Claiming business expense from personal credit card
{}
27
Using business check to pay at retail
{}
28
Tax whilst starting a business in full time employment
{}
30
Can I pay off my credit card balance to free up available credit?
{}
31
Starting a side business slowly
{}
32
Why is “cheque cashing” a legitimate business?
{}
33
Is business the only way to become a millionaire?
{}
35
Valuing a small business to invest in
{}
36
Starting a large business with a not so large income?
{}
37
Requirements for filing business taxes?
{}
41
IRA for work and my business
{}
43
Advice on money transfer business
{}
45
How to transfer personal auto lease to business auto lease?
{}
46
Tutoring Business Payroll Management
{}
47
As a small business owner, should I pay my taxes from my personal or business checking account?
{}
48
Should my husband's business pay my business?
{}
49
Why can't online transactions be completed outside of business hours?
{}
51
Full-time work + running small side business: Best business structure for taxes?
{}
52
New vending route business, not sure how to determine taxes
{}
53
Finding a good small business CPA?
{}
54
Taxable income on full-time job + business earnings
{}
57
How can I lookup the business associated with a FEIN?
{}
59
Tax Allocation - Business Asset Transfer
{}
61
How to Deduct Family Health Care Premiums Under Side Business
{}
62
Claiming car as a business expense in the UK
{}
63
Do I need to keep paper records for my business?
{}
64
1040 Schedule A Un-Reimbursed Business Expense Reporting
{}
65
Why do banks require small businesses to open a business bank account instead of a cheaper personal one?
{}
66
How to treat miles driven to the mechanic, gas station, etc when calculating business use of car?
{}
67
value of guaranteeing a business loan
{}
69
Deducting business expenses paid for by gift card
{}
70
Car as business expense, but not because of driving
{}
71
Can a business refuse to take credit cards?
{}
72
Calculate Estimated Tax on Hobby Business LLC
{}
74
Buying car from rental business without title
{}
75
Why should I choose a business checking account instead of a personal account?
{}
76
How to report house used for 100% business?
{}
78
How to record business income tax paid, in QuickBooks?
{}
80
Get a loan with low interest rate on small business
{}
81
Does revenue equal gross profit for info product business?
{}
82
Will unpaid taxes prevent me from getting a business license?
{}
83
Using cash back rewards from business credit card
{}
85
Moving my online only business to the USA?
{}
86
Moving a personal business to a LLC accounting in California
{}
87
What should one look for when opening a business bank account?
{}
88
Which r in perpetuity formula to pricing a business?
{}
91
US Double Taxation - Business Trips and the Foreign Tax Credit
{}
92
Can I use my Roth IRA to start a business?
{}
93
Really have to use business credit card for personal expenses
{}
95
Do Affordable Care Act business requirements apply to “control groups?”
{}
96
As a contractor, TurboTax Business-and-Home or Basic?
{}
97
Peer to peer lending business model (i.e. Lending Club)
{}
99
In what cases can a business refuse to take cash?
{}
102
Maintaining “Woman Owned Business” while taking on investor
{}
105
How to safely earn interest on business profits (UK)
{}
107
Income tax on my online drop-shipping business (India)
{}
108
How to find a business consultant that would ensure that all your business activities are legal and compliant with all regulations?
{}
110
How to determine how much to charge your business for rent (in your house)?
{}
111
Dual Citizen British/US and online business taxes
{}
112
Will my wife's business losses offset my income on a joint tax return?
{}
439
Do I need a Like-Kind Exchange when selling a personal vehicle for a company car
{}
442
Why are earning credit card rewards often tied to groceries and gas?
{}
443
1099 versus corporation to corporation for payments?
{}
444
Why do most banks in Canada charge monthly fee?
{}
445
Do I need to register as self employed in Ontario, Canada?
{}
446
Why do credit card transactions take up to 3 days to appear, yet debit transactions are instant?
{}
447
Why do VAT-registered businesses in the EU charge VAT to each other?
{}
448
How To Report Cryptocurrency Earnings?
{}
449
Allocation between 401K/retirement accounts and taxable investments, as a young adult?
{}
450
Income Tax form in India for freelancing
{}
452
Should I be filling out form W-9 for somebody I sold used equipment to?
{}
453
Where I am I liable for taxes?
{}
454
Can I Accept Gold?
{}
456
Can a company have a credit rating better than that of the country where it is located?
{}
457
Do I owe taxes in the US for my LLC formed in the US but owned by an Indian citizen?
{}
458
How would IRS treat reimbursement in a later year of moving expenses?
{}
460
Transfer $70k from Wells Fargo (US) to my other account at a Credit Union bank
{}
461
I have $100,000 in play money… what to do?
{}
462
Is it possible, anywhere in the US for a funding firm to not have a license number showing somewhere?
{}
464
How to deduct operational loss from my personal income tax?
{}
465
Can my company buy my personal debt?
{}
466
Need small buisness ideas with 100k $ budjet in a 3rd world country
{}
467
Tax Write-offs and knowing how much I need to spend before the end of the year
{}
468
Loan holder wants a check from the insurance company that I already cashed and used to repair my car
{}
470
Is a 10 year old uncashed paycheck still good?
{}
End of preview.
YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co/docs/hub/datasets-cards)

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
3