blink-8M-int8

minishlab/blink-8M (MIT), packed for in-browser retrieval: every token vector stored as int8 with one float scale per token, plus the WordPiece vocabulary, in a single 8 MB file. It is the search model of the metldr browser extension, read by the metldr-embed Rust crate and fused with BM25; no neural network runs.

Format (blink-8M-int8.metldr, little endian)

field size
magic MTLDRE01 8 bytes
dimension, token count, [UNK] id, vocabulary length in bytes 4 x u32
vocabulary: tokens in id order, joined by \n vocabulary length
one f32 scale per token token count x 4
one int8 row per token (value x scale = original float) token count x dimension

Dimension 256, 30,000 tokens. A text's embedding is the normalized mean of its tokens' vectors, with [UNK] skipped; tokens come from BERT WordPiece (lowercase, accents stripped).

Built from revision 593ed556e9a417e80b3b251a28ba8f412bed026e of the base model (model.safetensors SHA-256 e10d60e7e4b2cbaafaf3282f1eec108b597047f8013088f77178aa2ef0055866) by pack-model model.safetensors tokenizer.json out.

Evaluation (BEIR test queries, nDCG@10, fused with BM25 by weighted reciprocal rank fusion, k 5, dense weight 0.75)

model (int8) MB SciFact NFCorpus ArguAna FiQA mean
BM25 alone 0 0.6637 0.3098 0.3202 0.2299 0.3809
blink-8M (this file) 8 0.7047 0.3402 0.3495 0.2493 0.4109
lattice-retrieval, 1024 dims 31 0.7026 0.3366 0.3557 0.2490 0.4110
potion-retrieval-32M 33 0.6952 0.3349 0.3513 0.2438 0.4063
static-retrieval-mrl-en-v1 31 0.6745 0.3317 0.3516 0.2450 0.4007

int8 storage costs no measured quality. A SciFact query embeds and searches 5,183 documents in 145 ยตs natively.

License

MIT, as the base model. Credit: MinishLab for Model2Vec and blink.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for WhiteHades/blink-8M-int8

Finetuned
(1)
this model