Datasets:
text string |
|---|
39#0 |
39#1 |
39#2 |
39#3 |
39#4 |
290#0 |
290#1 |
290#2 |
290#3 |
290#4 |
303#0 |
303#1 |
303#2 |
303#3 |
303#4 |
303#5 |
303#6 |
303#7 |
303#8 |
303#9 |
303#10 |
303#11 |
308#0 |
308#1 |
308#2 |
308#3 |
308#4 |
308#5 |
308#6 |
308#7 |
308#8 |
308#9 |
308#10 |
308#11 |
309#0 |
309#1 |
309#2 |
309#3 |
309#4 |
309#5 |
309#6 |
309#7 |
309#8 |
309#9 |
316#0 |
316#1 |
316#2 |
316#3 |
316#4 |
316#5 |
316#6 |
316#7 |
324#0 |
324#1 |
324#2 |
324#3 |
324#4 |
324#5 |
324#6 |
330#0 |
330#1 |
332#0 |
332#1 |
332#2 |
332#3 |
332#4 |
334#0 |
334#1 |
334#2 |
334#3 |
334#4 |
334#5 |
336#0 |
336#1 |
336#2 |
336#3 |
336#4 |
340#0 |
340#1 |
340#2 |
340#3 |
340#4 |
344#0 |
344#1 |
344#2 |
344#3 |
359#0 |
569#0 |
569#1 |
569#2 |
569#3 |
569#4 |
569#5 |
572#0 |
572#1 |
572#2 |
572#3 |
572#4 |
572#5 |
573#0 |
End of preview. Expand in Data Studio
English Wikipedia FAISS Indexes (2026-07-01)
Prebuilt FAISS indexes over the 17,473,199 Qwen3-Embedding-4B vectors, so you can query English Wikipedia locally without embedding or building anything.
Companion repos: embeddings · passages.
Files
ivfpq.faiss— 1.33 GB, compressed.OPQ64,IVF16384,PQ64x8, inner product. ~64 bytes/vector. Best when RAM is tight; re-rank its hits against the raw vectors or a text reranker for full accuracy.hnsw_sq.faiss— 38 GB, exact-ish.IndexHNSWSQ(fp16), M=32, efConstruction=200, inner product. ~0.996 recall@10, sub-millisecond search; loads fully into RAM.ids.txt— line i is the passage id for FAISS id i (194 MB).offsets.sqlite— maps each passage id to its byte offset in the passages JSONL, for instant text fetch (391 MB).
Vectors are L2-normalized, so inner product equals cosine similarity. Embed
queries with Qwen3-Embedding-4B using prompt_name="query".
Use
import faiss, numpy as np
index = faiss.read_index("ivfpq.faiss") # or hnsw_sq.faiss
faiss.extract_index_ivf(index).nprobe = 256 # IVF-PQ only
ids = open("ids.txt", encoding="utf-8").read().splitlines()
scores, hits = index.search(query_vec, 8) # query_vec: (1,1024) fp32, normalized
passage_ids = [ids[h] for h in hits[0]]
Fetch passage text via offsets.sqlite against the passages JSONL.
Recall (measured)
| Index | RAM | recall@10 vs exact |
|---|---|---|
hnsw_sq |
38 GB | ~0.996 |
ivfpq (raw) |
1.3 GB | lower; re-rank to recover |
On the SimpleQA factoid set the exact index takes a 27B model from 15% to 56% correct and cuts wrong answers from 68% to 3%. Retriever ceiling ~68% answer-in- top-50 (body-prose-only corpus; infobox/table facts not indexed).
Licence
Built from CC BY-SA 4.0 English Wikipedia text; released under CC BY-SA 4.0. Attribute Wikipedia and this dataset on reuse.
- Downloads last month
- 190