Dataset Viewer
The dataset viewer is not available for this dataset.
Cannot get the config names for the dataset.
Error code:   ConfigNamesError
Exception:    FileNotFoundError
Message:      Couldn't find any data file at /src/services/worker/dejanseo/200k-wiki-data-embeddings-gemini. Couldn't find 'dejanseo/200k-wiki-data-embeddings-gemini' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/dejanseo/200k-wiki-data-embeddings-gemini@e6488e52973bc07d00e8c6ecf67f7d8b7fba92da/gemini_norm.parquet' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.ndjson', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.conll', '.conllu', '.tar', '.xml', '.hdf5', '.h5', '.eval', '.lance', '.tsfile', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.3gp', '.3g2', '.avi', '.asf', '.flv', '.mp4', '.mov', '.m4v', '.mkv', '.webm', '.f4v', '.wmv', '.wma', '.ogm', '.mxf', '.nut', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.3GP', '.3G2', '.AVI', '.ASF', '.FLV', '.MP4', '.MOV', '.M4V', '.MKV', '.WEBM', '.F4V', '.WMV', '.WMA', '.OGM', '.MXF', '.NUT', '.glb', '.ply', '.stl', '.GLB', '.PLY', '.STL', '.pdf', '.PDF', '.nii', '.NII', '.zip', '.idx', '.manifest', '.txn']
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/dataset/config_names.py", line 67, in compute_config_names_response
                  config_names = get_dataset_config_names(
                      path=dataset,
                      token=hf_token,
                  )
                File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 161, in get_dataset_config_names
                  dataset_module = dataset_module_factory(
                      path,
                  ...<4 lines>...
                      **download_kwargs,
                  )
                File "/usr/local/lib/python3.14/site-packages/datasets/load.py", line 1211, in dataset_module_factory
                  raise FileNotFoundError(
                  ...<2 lines>...
                  ) from None
              FileNotFoundError: Couldn't find any data file at /src/services/worker/dejanseo/200k-wiki-data-embeddings-gemini. Couldn't find 'dejanseo/200k-wiki-data-embeddings-gemini' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/dejanseo/200k-wiki-data-embeddings-gemini@e6488e52973bc07d00e8c6ecf67f7d8b7fba92da/gemini_norm.parquet' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.ndjson', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.conll', '.conllu', '.tar', '.xml', '.hdf5', '.h5', '.eval', '.lance', '.tsfile', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.3gp', '.3g2', '.avi', '.asf', '.flv', '.mp4', '.mov', '.m4v', '.mkv', '.webm', '.f4v', '.wmv', '.wma', '.ogm', '.mxf', '.nut', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.3GP', '.3G2', '.AVI', '.ASF', '.FLV', '.MP4', '.MOV', '.M4V', '.MKV', '.WEBM', '.F4V', '.WMV', '.WMA', '.OGM', '.MXF', '.NUT', '.glb', '.ply', '.stl', '.GLB', '.PLY', '.STL', '.pdf', '.PDF', '.nii', '.NII', '.zip', '.idx', '.manifest', '.txn']

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.

200k Wikidata Embeddings (Gemini)

Text embeddings for ~200,000 Wikidata entities, generated from each entity's English label with Google's gemini-embedding-001 model. Vectors are 768-dimensional and L2-normalized to unit length, so cosine similarity equals a plain dot product.

What's inside

Column Type Description
entity_id string Wikidata Q-identifier, e.g. Q42
label string English label, e.g. Douglas Adams
embedding list<float32>[768] Unit-length embedding of the label
  • Rows: 199,998
  • Dimensions: 768
  • Normalization: L2 (every vector has norm 1.0)
  • Source model: gemini-embedding-001 (native 3072-dim, requested at output_dimensionality=768, then L2-normalized)
  • File: gemini_norm.parquet

The entities are a sample of the full Wikidata label set (~118.7M labelled entities). Only the label string was embedded — no descriptions, aliases, or statements were used.

Usage

from datasets import load_dataset

ds = load_dataset("dejanseo/200k-wiki-data-embeddings-gemini", split="train")
print(ds[0]["entity_id"], ds[0]["label"])
print(len(ds[0]["embedding"]))  # 768

Semantic search with cosine similarity (a dot product, since vectors are unit-length):

import numpy as np

emb = np.array(ds["embedding"], dtype=np.float32)   # (199998, 768)
ids = ds["entity_id"]
labels = ds["label"]

def nearest(query_vec, k=10):
    scores = emb @ np.asarray(query_vec, dtype=np.float32)  # cosine similarity
    top = np.argsort(-scores)[:k]
    return [(ids[i], labels[i], float(scores[i])) for i in top]

How it was built

  1. English labels were pulled from a local Wikidata label database.
  2. Each label was embedded via the Gemini Batch Embeddings API (gemini-embedding-001, output_dimensionality=768).
  3. The returned vectors were L2-normalized to unit length and written to Parquet.

Because the vectors are truncated Matryoshka outputs (768 of the model's native 3072 dims) and then renormalized, they are directly usable for cosine / dot-product retrieval.

Companion dataset

A parallel set of embeddings for the same 199,998 entities was produced with the open google/embeddinggemma-300m model (also 768-dim, unit-length). Because the entity_id keys are identical, the two sets can be joined row-for-row for cross-model comparison.

Note on cross-model use: the two models place entities in differently-oriented spaces. Do not compare a Gemini vector directly against a Gemma vector — raw cross-model similarity is meaningless. Within a single model, similarity is well-behaved.

Licensing

Wikidata labels are released under CC0. The embedding vectors are derived outputs of Google's Gemini API and are subject to Google's applicable terms. Choose and set a license: value in the metadata above that reflects how you intend to distribute the derived vectors before publishing.

Citation

If you use this dataset, please cite the source model and Wikidata:

  • Google, gemini-embedding-001
  • Wikidata (Wikimedia Foundation)
Downloads last month
-