Dataset Preview
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 ({'text-embedding-3-small'}) and 1 missing columns ({'text-embedding-3-large'}).
This happened while the json dataset builder was generating data using
gzip://wiki_3_small.ndjson::hf://datasets/jwswj/wikipedia-en-embeddings@315622de5f006630e6430e5d9aa94d079fc337a1/wiki_3_small.ndjson.gz, ['hf://datasets/jwswj/wikipedia-en-embeddings@315622de5f006630e6430e5d9aa94d079fc337a1/wiki_3_large.ndjson.gz', 'hf://datasets/jwswj/wikipedia-en-embeddings@315622de5f006630e6430e5d9aa94d079fc337a1/wiki_3_small.ndjson.gz', 'hf://datasets/jwswj/wikipedia-en-embeddings@315622de5f006630e6430e5d9aa94d079fc337a1/wiki_gte.ndjson.gz', 'hf://datasets/jwswj/wikipedia-en-embeddings@315622de5f006630e6430e5d9aa94d079fc337a1/wiki_minilm.ndjson.gz', 'hf://datasets/jwswj/wikipedia-en-embeddings@315622de5f006630e6430e5d9aa94d079fc337a1/wiki_openai.ndjson.gz']
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.12/site-packages/datasets/builder.py", line 1887, in _prepare_split_single
writer.write_table(table)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 675, in write_table
pa_table = table_cast(pa_table, self._schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
id: string
body: string
text-embedding-3-small: list<item: double>
child 0, item: double
to
{'id': Value('string'), 'body': Value('string'), 'text-embedding-3-large': List(Value('float64'))}
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 1342, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 907, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1736, in _prepare_split
for job_id, done, content in self._prepare_split_single(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1889, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
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 ({'text-embedding-3-small'}) and 1 missing columns ({'text-embedding-3-large'}).
This happened while the json dataset builder was generating data using
gzip://wiki_3_small.ndjson::hf://datasets/jwswj/wikipedia-en-embeddings@315622de5f006630e6430e5d9aa94d079fc337a1/wiki_3_small.ndjson.gz, ['hf://datasets/jwswj/wikipedia-en-embeddings@315622de5f006630e6430e5d9aa94d079fc337a1/wiki_3_large.ndjson.gz', 'hf://datasets/jwswj/wikipedia-en-embeddings@315622de5f006630e6430e5d9aa94d079fc337a1/wiki_3_small.ndjson.gz', 'hf://datasets/jwswj/wikipedia-en-embeddings@315622de5f006630e6430e5d9aa94d079fc337a1/wiki_gte.ndjson.gz', 'hf://datasets/jwswj/wikipedia-en-embeddings@315622de5f006630e6430e5d9aa94d079fc337a1/wiki_minilm.ndjson.gz', 'hf://datasets/jwswj/wikipedia-en-embeddings@315622de5f006630e6430e5d9aa94d079fc337a1/wiki_openai.ndjson.gz']
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.
id string | body string | text-embedding-3-large list |
|---|---|---|
0 | Title: Fresnes, Yonne Content: Fresnes is a commune. It is found in the Yonne department in the center of France. | [
-0.06832631677389145,
0.09375137835741043,
-0.009055210277438164,
0.0038898647762835026,
0.04760856181383133,
-0.02398749813437462,
0.036249030381441116,
-0.02126741223037243,
-0.0062082805670797825,
0.013128293678164482,
-0.06156133487820625,
0.04560725390911102,
0.03300747647881508,
0.04... |
1 | Title: Sospel Content: thumb|90px|coat of arms Sospel is a commune. It is found in the region Provence-Alpes-Côte d'Azur in the Alpes-Maritimes department in the south of France. Category:Communes in Alpes-Maritimes | [
-0.026415837928652763,
0.06796466559171677,
-0.02644556760787964,
0.013735640794038773,
0.06421858072280884,
-0.012747091241180897,
0.025271201506257057,
-0.0350823737680912,
0.018789881840348244,
-0.0571129135787487,
-0.02947811223566532,
-0.004578547086566687,
0.028199687600135803,
0.021... |
2 | Title: Childcare benefits scandal Content: The childcare benefits scandal ( or toeslagenaffaire, ) is a political scandal in the Netherlands about false accusations of fraud made by the Tax and Customs Administration. Between 2013 and at least 2019, about 26,000 parents in the Netherlands were wrongfully suspected of m... | [
-0.04687391594052315,
0.009242605417966843,
-0.01700560376048088,
-0.02521248534321785,
-0.0041749547235667706,
0.027599582448601723,
-0.006515198387205601,
0.0023192823864519596,
-0.015091980807483196,
0.04379633441567421,
-0.010722210630774498,
-0.0275009423494339,
-0.027106380090117455,
... |
3 | Title: Coutances Content: Coutances is a commune. It is in Normandy in the Manche department in northwest France. == Sights == * Coutances Cathedral * The church of Saint- Nicolas * The church of Saint-Pierre * The chateau of Gratot == Twin towns – sister cities == Coutances is twinned with: * Ochsenfurt, Germany * Tro... | [
0.01422150433063507,
0.04621359705924988,
-0.017334293574094772,
0.0824931189417839,
0.02065684087574482,
-0.02290543168783188,
-0.03956850245594978,
-0.011503057554364204,
-0.06490711122751236,
-0.011964522302150726,
-0.04020616412162781,
-0.01332374569028616,
0.011519838124513626,
-0.017... |
4 | Title: Zoltan Sabo Content: Zoltan Sabo (, ; 26 May 1972 — 15 December 2020) was a Serbian professional footballer. He played as a defender. He also held Hungarian citizenship. Sabo played for Hajduk Kula, Vojvodina, and Partizan. Sabo began his managerial career at the helm of his hometown club Radnički Sombor in Octo... | [
-0.03310761973261833,
-0.03412957116961479,
-0.007417939603328705,
-0.002009759424254298,
0.03032369166612625,
0.029178403317928314,
0.0036825400311499834,
-0.03654348477721214,
-0.02820931375026703,
-0.004105415660887957,
-0.034622922539711,
0.022940991446375847,
-0.0254253838211298,
0.01... |
5 | Title: Femme Fatale (movie) Content: Femme Fatale is a 2002 French German Swiss Liechtenstein American erotic thriller movie directed by Brian De Palma and starring Antonio Banderas, Rebecca Romijn, Peter Coyote, Eriq Ebouaney, Gregg Henry. It was distributed by Warner Bros.. | [
-0.021421201527118683,
0.03826048597693443,
-0.02155253104865551,
0.00014706100046169013,
0.007821365259587765,
0.016386928036808968,
0.012819159775972366,
-0.028585923835635185,
-0.03957377374172211,
0.030614225193858147,
0.034904301166534424,
-0.002484304830431938,
-0.05550834536552429,
... |
6 | Title: Tony Dunne Content: Anthony Peter Dunne (24 July 1941 – 8 June 2020) was an Irish footballer and manager. He appeared at left-back for Manchester United. He won 33 caps for the Republic of Ireland, playing for the national team during 1962 to 1975. He was the Irish Footballer of the Year in 1969. He was born in ... | [
0.017038680613040924,
0.050568483769893646,
-0.015589265152812004,
-0.03768479451537132,
0.0035450279247015715,
0.024495115503668785,
-0.005769477225840092,
-0.01487260963767767,
-0.024849416688084602,
0.05726800113916397,
-0.003305471735075116,
0.011538954451680183,
-0.02483331225812435,
... |
7 | Title: Bourbriac Content: thumb|90px|coat of arms Bourbriac is a commune. It is found in the region Bretagne in the Côtes-d'Armor department in the west of France. Category:Communes in Côtes-d'Armor | [
-0.01329315360635519,
0.007620326243340969,
-0.018250422552227974,
0.05889708176255226,
0.08598501980304718,
0.012939062900841236,
-0.016583247110247612,
-0.03644183278083801,
-0.01758650317788124,
0.03293043375015259,
-0.045618679374456406,
-0.03446482494473457,
0.009412909857928753,
-0.0... |
8 | Title: Maria Bakalova Content: Maria Bakalova (; born 4 June 1996) is a Bulgarian actress. She became well known for her role as Tutar Sagdiyev in the 2020 mockumentary Borat Subsequent Moviefilm. For her role as Sagdiyev, she was nominated for an Academy, Golden Globe and Screen Actors Guild Award. | [
0.010763339698314667,
-0.010698646306991577,
-0.023887982591986656,
-0.014119301922619343,
0.03457854315638542,
-0.01822732202708721,
-0.0660194605588913,
-0.022335344925522804,
-0.02484220825135708,
0.07789067178964615,
-0.054083555936813354,
-0.026766831055283546,
-0.04298866540193558,
0... |
9 | "Title: Bakerhill, Alabama Content: Bakerhill or Baker Hill is a city in Barbour County, Alabama, Un(...TRUNCATED) | [0.027038443833589554,0.028864536434412003,-0.01213047094643116,-0.020470649003982544,0.040695771574(...TRUNCATED) |
End of preview.
Wikipedia Simple English Embeddings
224,482 Wikipedia Simple English articles with pre-computed embeddings from 5 different models.
| File | Model | Dimensions | Size |
|---|---|---|---|
wiki_openai.ndjson.gz |
OpenAI ada-002 | 1536 | 1.9 GB |
wiki_minilm.ndjson.gz |
all-MiniLM-L6-v2 | 384 | 655 MB |
wiki_gte.ndjson.gz |
gte-small | 384 | 935 MB |
wiki_3_small.ndjson.gz |
OpenAI text-embedding-3-small | 512 | 1.1 GB |
wiki_3_large.ndjson.gz |
OpenAI text-embedding-3-large | 1024 | 2.0 GB |
Format
Each file is gzipped newline-delimited JSON. Each line contains:
{"id": "string", "title": "string", "body": "string", "embedding": [0.1, 0.2, ...]}
Origin
The original texts and ada-002 embeddings are from Stephan Sturges' Kaggle dataset. The all-MiniLM-L6-v2 and gte-small embeddings were added by Supabase. The text-embedding-3-small (512d) and text-embedding-3-large (1024d) embeddings were generated using the vector-db-comparison CLI.
Usage
# Download with the Hugging Face CLI
hf download jwswj/wikipedia-en-embeddings --repo-type=dataset
# Or use the vector-db-comparison CLI
bun src/index.ts download
License
Embeddings are published under the MIT license. See Wikipedia's licensing for article text usage and OpenAI's terms for embedding usage.
- Downloads last month
- 6