Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    CastError
Message:      Couldn't cast
format: string
version: int64
source_index_path_hint: string
source_index_size_bytes: int64
node_count: int64
dim: int64
data_type: string
max_m: int64
max_m0: int64
size_data_per_element: int64
label_offset: int64
vector_offset: int64
level_encoding: string
id_mapping_encoding: string
level_file: string
id_mapping_file: string
level_file_bytes: int64
id_mapping_file_bytes: int64
level_checksum: string
id_mapping_checksum: string
index_header_checksum: string
created_by_commit: string
created_at_utc: timestamp[s]
max_observed_level: int64
M: int64
start_time: string
dtype: string
dataset: string
threads: int64
elapsed_seconds: double
space: string
command: list<item: string>
  child 0, item: string
sidecar: null
index_bytes: int64
end_time: string
ef_construction: int64
index_path: string
to
{'M': Value('int64'), 'command': List(Value('string')), 'dataset': Value('string'), 'dtype': Value('string'), 'ef_construction': Value('int64'), 'elapsed_seconds': Value('float64'), 'end_time': Value('string'), 'index_bytes': Value('int64'), 'index_path': Value('string'), 'sidecar': Value('null'), 'space': Value('string'), 'start_time': Value('string'), 'threads': Value('int64')}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 147, in get_rows_or_raise
                  return get_rows(
                      dataset=dataset,
                  ...<4 lines>...
                      column_names=column_names,
                  )
                File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/utils.py", line 127, in get_rows
                  rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
                File "/src/services/worker/src/worker/utils.py", line 483, in safe_iter
                  yield from ds.decode(False) if ds.features else ds
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2840, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2373, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2398, in _iter_arrow
                  for key, pa_table in self.ex_iterable._iter_arrow():
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 536, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 419, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_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
              format: string
              version: int64
              source_index_path_hint: string
              source_index_size_bytes: int64
              node_count: int64
              dim: int64
              data_type: string
              max_m: int64
              max_m0: int64
              size_data_per_element: int64
              label_offset: int64
              vector_offset: int64
              level_encoding: string
              id_mapping_encoding: string
              level_file: string
              id_mapping_file: string
              level_file_bytes: int64
              id_mapping_file_bytes: int64
              level_checksum: string
              id_mapping_checksum: string
              index_header_checksum: string
              created_by_commit: string
              created_at_utc: timestamp[s]
              max_observed_level: int64
              M: int64
              start_time: string
              dtype: string
              dataset: string
              threads: int64
              elapsed_seconds: double
              space: string
              command: list<item: string>
                child 0, item: string
              sidecar: null
              index_bytes: int64
              end_time: string
              ef_construction: int64
              index_path: string
              to
              {'M': Value('int64'), 'command': List(Value('string')), 'dataset': Value('string'), 'dtype': Value('string'), 'ef_construction': Value('int64'), 'elapsed_seconds': Value('float64'), 'end_time': Value('string'), 'index_bytes': Value('int64'), 'index_path': Value('string'), 'sidecar': Value('null'), 'space': Value('string'), 'start_time': Value('string'), 'threads': Value('int64')}
              because column names don't match

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.

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

Check out the documentation for more information.

deep-100m-static-search-eval

Static 100M search-evaluation dataset with original vectors, original query/ground-truth files, a rebuilt hnswlib HNSW index, and generated PQ artifacts.

Files

  • Base: base.fbin
  • HNSW index: index_m_32_ef_500
  • Query: orig_query_10k.fbin
  • Ground truth: groundtruth.bin
  • Additional held-out 500K query/GT set: queries/heldout_deep1b_random500k_seed20260922/
  • Checksums: checksums.sha256
  • Kaggle metadata is provided via dataset-metadata.json during upload and is stored by Kaggle as dataset configuration, not as a listed data file.

Data Sources

Source license/terms note: Original source terms apply; Kaggle metadata uses license other.

Held-out random 500K query set

queries/heldout_deep1b_random500k_seed20260922/ contains a separate query set sampled from real DEEP1B vectors, not synthetic coordinates. NumPy PCG64 with seed 20260922 selected 500,000 distinct source row IDs uniformly without replacement from DEEP1B rows [100000000, 1000000000). Their random draw order is the query order. None of the selected source row IDs is in the first 100M rows used as the indexed base.

  • deep100m_heldout_deep1b_random500k_seed20260922.fbin: little-endian uint32 (500000, 96) header followed by row-major float32 vectors.
  • deep100m_heldout_deep1b_random500k_seed20260922_top100.bin: little-endian uint32 (500000, 100) header, then all uint32 base-row neighbor IDs, then all float32 squared-L2 distances. Each query has its exact top 100 neighbors among the 100M base vectors.
  • source_ids.npy maps each query row to its DEEP1B source row. sample.json, query.json, groundtruth.json, spec.json, and manifest.json record sampling, file checksums, pinned source, computation, and validation. logs/ contains the eight workers' progress bars and the independent source-query and exact-GT verification traces.

Generation and verification use generate_random_fbin_groundtruth.py, also committed locally on the vectordb-cxl branch feat/random-fbin-exact-gt at a1912a8d105ff55c0a4a78d448cabf68d2307d92. Computation uses eight nodes, 32 search threads per node, and batches of 512 queries. The original 10K query and GT files remain separate and unchanged.

Dataset Properties

  • Vector count: 100000000
  • Dimension: 96
  • Dtype: float32
  • Metric: l2
  • Original query set label: 10k
  • Original query count: 10000

Environment

  • CPU threads used: 96
  • Python: Python 3.10.12
  • hnswlib package version: unknown
  • hnswlib git commit: fe873b1cee484795bd254088c0d4579f567f1979
  • faiss: 1.14.3
  • numpy: 2.2.6
  • kaggle: unknown
  • kagglehub: 1.0.2
  • vectordb-cxl commit: 73e82318a4c346b64b8c645d030ac86696351632

HNSW Index

  • Parameters: M=32, ef_construction=500
  • Index dtype: float32
  • hnswlib space: l2
  • Thread count: 96
  • Build start: 2026-07-05 15:07:30 UTC
  • Build end: 2026-07-05 17:39:00 UTC
  • Build elapsed seconds: 9090.091
  • Built from original base vectors: true
  • Prebuilt Kaggle index reused: false

Primary Search

  • Parameters: ef_search=150, k=10
  • Thread count: 96
  • Recall@10: 0.975170
  • Batch throughput qps: 8784.062140
  • Latency mean_ms: 10.821620
  • Latency p50_ms: 2.060002
  • Latency p95_ms: 18.078470
  • Latency p99_ms: 38.452937
  • Instrumented latency from batch run: True
  • Search elapsed seconds: 1.138425

Optional ef_search Sweep

Not run unless a search_sweep.json file is included and referenced in the status log.

PQ

Implementation path: cpp

Fallback used: False

Thread count: 96

Elapsed seconds: 2811.184

Final m values: m24, m48, m96

Kaggle upload file names: pq_m24.pqcodes/.pqmeta/.pqcodebook, pq_m48.pqcodes/.pqmeta/.pqcodebook, pq_m96.pqcodes/.pqmeta/.pqcodebook

PQ row order

All pq_m*.pqcodes files are ordered by HNSW internal ID. For internal row i, PQ row i encodes the base vector whose external label is stored in HNSW row i.

Exhaustive validation confirmed that the M24, M48, and M96 PQ files use this hnsw_internal_id row order for all 100,000,000 rows.

This is required because a parallel hnswlib build does not guarantee that an internal ID equals its external/base-row ID. The original PQ export was in base-row order, which assigns the wrong code wherever those IDs differ and can reduce graph-routing recall even when final candidates are reranked with full vectors. The PQ payloads were therefore reordered against index_m_32_ef_500; codebooks and metadata were not retrained or changed.

pq_manifest.json records the row-order contract. The standalone tools/reorder_pq_codes_for_index.py script reproduces the transformation:

python tools/reorder_pq_codes_for_index.py \
  --source-pq-codes-path pq_m48.base-row.pqcodes \
  --source-code-order base_row \
  --target-id-mapping-path layout-sidecar/index_m_32_ef_500.id_mapping.u32 \
  --output-pq-codes-path pq_m48.pqcodes \
  --chunk-rows 250000 \
  --preload-source \
  --workers "$(nproc)"

Consumption and validation

Treat code_order as a contract to verify against the index, not as evidence by itself. Compare the sidecar mapping to the actual labels in the serialized index. When deriving PQ for a different index, map its internal row to its external label and then through the inverse source-index mapping to the source PQ row. Index-internal IDs, external labels, and base_permuted insert-vector row offsets are separate coordinates. Merely copying the manifest or matching file sizes does not establish this relation.

pq_manifest.json declares the L2 metric stored in every PQ binary header. checksums.sha256 also covers all three layout-sidecar files. Preparation and restore workflows should verify headers, hashes, actual index/sidecar labels, and deterministic vector re-encodings including nonidentity mappings before use.

Attribution

The original DEEP-1B vectors are credited to Yandex and were obtained from the Big ANN 2021 benchmark collection.

The original source data is subject to Creative Commons Attribution 4.0 International (CC BY 4.0); the original terms are reproduced in LICENSE.

We generated the indexes ourselves.

Downloads last month
413