Skip to content
RAG Repo

Cohere Wikipedia 22-12 Embeddings (per-language)

This dataset encodes a December 2022 snapshot of Wikipedia using the Cohere multilingual-22-12 embedding model, converting each passage into an embedding, a numeric vector that captures its meaning, computed on the article's title plus its text. It ships one dataset per language, so you can pull down just the languages you need rather than the whole collection. Coverage spans many languages, including Arabic, German, English, Spanish, French, Hindi, Italian, Japanese, Korean, Simple English, and Chinese.

The files live on HuggingFace. Because the collections are large, the sensible way in is to stream them (`streaming=True` on the HuggingFace `datasets` loader) rather than download a language in full, then write the passages and their vectors straight into a vector database. The big win is that the passages are already embedded, so you skip building and running an embedding pipeline and can stand up multilingual semantic search, matching by meaning rather than exact keywords, in an afternoon.

There is one thing you must get right. These vectors were produced by a specific Cohere model, so at query time you have to embed the user's question with the same multilingual-22-12 model (via Cohere's API) for the numbers to line up. Mix in a different embedding model and the search results become meaningless. Keep that dependency in mind before committing, and remember the text is a 2022 snapshot, so anything newer than that will be missing.

On licensing, the embeddings are released under Apache 2.0 while the underlying Wikipedia text stays under CC BY-SA, and whether embeddings of share-alike text count as a derivative work remains unsettled, so tread carefully if you plan to redistribute.

If you want wider coverage, Cohere's newer Wikipedia 2023-11 Embed V3 dataset spans 300+ languages and a fresher snapshot; this per-language 22-12 release is lighter to start with when you only need a handful of languages.

wikipediaembeddingsmultilingualsemantic-searchrag-readystreaming

Related sources