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 because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 1 new columns ({'query'}) and 2 missing columns ({'label', 'docno'}).

This happened while the csv dataset builder was generating data using

hf://datasets/bpiwowar/lotte/technology-3000/queries.tsv (at revision b8bf28a9ffb1dd81fce58a37fdf88f8be7d01057), ['hf://datasets/bpiwowar/lotte@b8bf28a9ffb1dd81fce58a37fdf88f8be7d01057/technology-3000/qrels.tsv', 'hf://datasets/bpiwowar/lotte@b8bf28a9ffb1dd81fce58a37fdf88f8be7d01057/technology-3000/queries.tsv']

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1848, in _prepare_split_single
                  writer.write_table(table)
                  ~~~~~~~~~~~~~~~~~~^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 765, in write_table
                  self._write_table(pa_table, writer_batch_size=writer_batch_size)
                  ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 773, in _write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              qid: int64
              query: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 492
              to
              {'qid': Value('int64'), 'docno': Value('int64'), 'label': Value('int64')}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1694, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1850, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
                  ...<4 lines>...
                  )
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 1 new columns ({'query'}) and 2 missing columns ({'label', 'docno'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/bpiwowar/lotte/technology-3000/queries.tsv (at revision b8bf28a9ffb1dd81fce58a37fdf88f8be7d01057), ['hf://datasets/bpiwowar/lotte@b8bf28a9ffb1dd81fce58a37fdf88f8be7d01057/technology-3000/qrels.tsv', 'hf://datasets/bpiwowar/lotte@b8bf28a9ffb1dd81fce58a37fdf88f8be7d01057/technology-3000/queries.tsv']
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

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.

qid
int64
docno
int64
label
int64
0
281,401
1
0
281,572
1
0
282,024
1
1
281,401
1
1
281,572
1
1
282,024
1
2
63,639
1
2
63,652
1
3
314,953
1
3
314,964
1
4
154,161
1
4
154,163
1
4
271,656
1
5
355,019
1
5
355,020
1
5
355,073
1
5
355,075
1
5
358,802
1
6
355,019
1
6
355,020
1
6
355,073
1
6
355,075
1
6
358,802
1
7
355,019
1
7
355,020
1
7
355,073
1
7
355,075
1
7
358,802
1
8
355,019
1
8
355,020
1
8
355,073
1
8
355,075
1
8
358,802
1
9
52,643
1
10
118,383
1
10
118,384
1
10
134,752
1
10
180,328
1
10
213,565
1
10
361,412
1
11
118,383
1
11
118,384
1
11
134,752
1
11
180,328
1
11
213,565
1
11
361,412
1
12
173,762
1
12
173,763
1
13
234,207
1
13
252,101
1
13
252,125
1
13
256,107
1
13
269,357
1
13
401,867
1
14
2,341
1
14
2,342
1
14
2,344
1
14
2,345
1
14
2,346
1
14
2,348
1
14
2,349
1
14
27,035
1
14
77,300
1
14
125,771
1
14
318,130
1
15
2,341
1
15
2,342
1
15
2,344
1
15
2,345
1
15
2,346
1
15
2,348
1
15
2,349
1
15
27,035
1
15
77,300
1
15
125,771
1
15
318,130
1
16
353,375
1
16
353,380
1
16
377,760
1
17
258,341
1
17
259,307
1
18
258,341
1
18
259,307
1
19
241,245
1
19
241,248
1
19
241,249
1
19
241,251
1
19
241,258
1
20
155,895
1
20
155,896
1
20
155,897
1
21
155,895
1
21
155,896
1
21
155,897
1
22
111,587
1
22
111,588
1
22
111,589
1
22
159,444
1
22
159,445
1
22
166,105
1
End of preview.

LoTTE (small extracts)

Small, teaching-sized extracts of LoTTE (Long-Tail Topic-stratified Evaluation), built from the public colbertv2/lotte_passages dataset (Apache 2.0). Prepared for the practicals of Deep Learning pour le texte (Formation Continue, Sorbonne Université) — see practicals/scripts/prepare-lotte-corpus.py in the course repo for the build script.

Each variant is a self-contained folder:

<variant>/
    documents/     impact-index DocumentStore (key `docno` -> text)
    queries.tsv    qid, query
    qrels.tsv      qid, docno, label

Variants

  • technology-3000 — technology domain, dev split. 150 search queries (with qrels), 3 365 documents (365 required by the qrels + a uniform random sample of ~3000 others).

Loading

from huggingface_hub import snapshot_download
import impact_index, pandas as pd

local_dir = snapshot_download(
    "bpiwowar/lotte", repo_type="dataset", allow_patterns="technology-3000/*"
)
docstore = impact_index.DocumentStore.load(f"{local_dir}/technology-3000/documents")
queries_df = pd.read_csv(f"{local_dir}/technology-3000/queries.tsv", sep="\t", dtype=str)
qrels_df = pd.read_csv(f"{local_dir}/technology-3000/qrels.tsv", sep="\t", dtype=str)

Citation

@inproceedings{santhanam-etal-2022-colbertv2,
    title = "{C}ol{BERT}v2: Effective and Efficient Retrieval via Lightweight Late Interaction",
    author = "Santhanam, Keshav and Khattab, Omar and Saad-Falcon, Jon and Potts, Christopher and Zaharia, Matei",
    booktitle = "Proceedings of NAACL-HLT 2022",
    year = "2022",
    url = "https://aclanthology.org/2022.naacl-main.272",
}
Downloads last month
50