robro612/vidore3_pharmaceuticals_neomme_260m_li

Dataset

vidore3_pharmaceuticals_neomme_260m_li

0

4 commits

1 linked in READMEs

updated Sep 29, 2026

See the code

README

vidore3_pharmaceuticals_neomme_260m_li

Multi-vector (late-interaction) embeddings of ViDoRe pharmaceuticals (vidore/pharmaceuticals), encoded with Hcompany/NeoMME-260M-Retriever-ST-late at revision 023be2a8ab9d797f5aa76f5bf8b5dde78d819659.

Source data: Hugging Face dataset vidore/vidore_v3_pharmaceuticals at revision 3abd4aa8a9445fb5538a78a19ba50bd57bd22b5c, configs corpus / queries / qrels, split test, loaded with datasets. Document, query and qrel ids are the source's own ids, unchanged.

Every document is one variable-length set of 128-d vectors; every query is one variable-length set of 128-d vectors. Documents and queries are stored at different precisions (fp16 and fp32 respectively), see Encoding.

Files

filedtypeshapecontents
documents.npyfloat16 (<f2)[5,880,578, 128]every document vector, concatenated document by document (1,435.7 MiB)
doclens.npyint32[2,313]vectors per document; cumsum gives offsets
doc_ids.npy<U4[2,313]original document ids
queries.npyfloat32 (<f4)[2,184, 78, 128]query vectors, zero-padded at the end (83.2 MiB)
query_lens.npyint32[2,184]true vectors per query, before padding
queries_ids.npy<U4[2,184]original query ids
qrels.test.tsvtext10,392 rowsTREC qrels, qid \t 0 \t docid \t relevance, no header
gt_top1000.tsvtext2,184,000 rowsexact MaxSim top-1000, see below
gt_top100.tsvtext218,400 rowsfirst 100 ranks of gt_top1000.tsv, same format

All positional indices (the gt_top*.tsv files, and the row order of every .npy file) refer to the order of doc_ids.npy and queries_ids.npy. Reordering either file invalidates the ground truth.

Statistics

documents2,313
document vectors5,880,578
vectors per document (min / median / mean / max)2306 / 2342 / 2542.4 / 3010
queries2,184
vectors per query (min / median / mean / max)17 / 37 / 38.4 / 78
queries with at least one qrel2,184
qrels rows10,392
embedding dimension128

Encoding

modelHcompany/NeoMME-260M-Retriever-ST-late
model revision023be2a8ab9d797f5aa76f5bf8b5dde78d819659
librarysentence-transformers 6.0.1 MultiVectorEncoder (transformers 5.17.0, torch 2.11.0+cu126)
document compute dtypefloat16 (model weights loaded at this dtype for the document pass)
document storage dtypefp16
query compute dtypefloat32 (model weights loaded at this dtype for the query pass)
query storage dtypefp32
normalizationL2, by the model's own Normalize module, before the storage cast
document truncationnone (document_length unset), so the model limit of 16,384 tokens applies; longest document here 3,010 vectors
query truncationnone (query_length unset)
document skiplistnone (empty skiplist_words): every document token is kept, so doclens is the real token count
document inputpage image, one vector per image patch plus layout tokens; processor default resizing
query inputquery text, stripped of surrounding whitespace, formatted by the model's own query prompt/template
query vectorsevery vector the model emits for the query is kept, including any query-expansion tokens its template adds; query_lens counts them all
document paddingnone: documents.npy holds real vectors only, sum(doclens) == n_tokens
query paddingrows at or beyond query_lens[i] in queries.npy[i] are exactly zero
token_idsnot provided: image-patch vectors have no vocabulary ids (only placeholder ids)

Ground truth: gt_top1000.tsv and gt_top100.tsv

Exact brute-force MaxSim top-1000 per query over the full corpus, from the vectors in this repo. gt_top100.tsv holds the first 100 ranks per query of the same lists (the original layout of these exports).

No header; tab-separated qidx docidx rank score:

  • qidx: 0-based row into queries_ids.npy / queries.npy
  • docidx: 0-based position into doc_ids.npy / doclens.npy
  • rank: 1-based, descending score
  • score: sum over the query's query_lens[qidx] vectors of max over the document's vectors of the dot product, computed in fp32 with the fp16 document vectors upcast to fp32. Expansion vectors are included in the sum. Printed to 6 decimals.

Retrieval quality

Sanity check of the vectors, not a leaderboard number: gt_top1000.tsv (exact MaxSim over the full corpus) scored against qrels.test.tsv with ir_measures.

nDCG@10MRR@10Success@5Recall@100Recall@1000MAP@1000
0.59580.70830.87040.86540.98210.5272

Loading

import numpy as np

documents = np.load("documents.npy", mmap_mode="r")      # [n_tokens, 128] float16
doclens = np.load("doclens.npy")                         # [n_docs] int32
offsets = np.concatenate([[0], np.cumsum(doclens)])
doc_ids = np.load("doc_ids.npy")                         # [n_docs] str

def document(i):
    return documents[offsets[i]:offsets[i + 1]]           # [doclens[i], 128]

queries = np.load("queries.npy")                         # [n_queries, 78, 128] float32
query_lens = np.load("query_lens.npy")                   # [n_queries] int32
query_ids = np.load("queries_ids.npy")                   # [n_queries] str

def query(j):
    return queries[j, :query_lens[j]]                     # [query_lens[j], 128]

def maxsim(q, d):
    return (q @ d.astype(np.float32).T).max(axis=1).sum()

Validation

Checks run by the exporter on the files exactly as written here:

  • βœ… file set β€” missing=[] extra=[]
  • βœ… documents.npy dtype/shape β€” <f2 (5880578, 128)
  • βœ… doclens.npy dtype/shape β€” <i4 (2313,)
  • βœ… doc_ids.npy is a string array β€” <U4 (2313,)
  • βœ… queries.npy dtype/shape β€” <f4 (2184, 78, 128)
  • βœ… query_lens.npy dtype/shape β€” <i4 (2184,)
  • βœ… queries_ids.npy is a string array β€” <U4 (2184,)
  • βœ… sum(doclens) == n_tokens β€” 5880578 vs 5880578
  • βœ… no empty documents β€” min doclen 2306
  • βœ… len(doc_ids) == len(doclens) == corpus size β€” 2313, 2313, 2313
  • βœ… doc_ids unique
  • βœ… query arrays aligned β€” 2184, 2184, 2184
  • βœ… doc and query dim agree β€” 128 / 128
  • βœ… document vectors unit-norm (100k sample) β€” norm range [0.9994, 1.0005]
  • βœ… query vectors unit-norm β€” norm range [1.000000, 1.000000]
  • βœ… all vectors finite
  • βœ… gt_top100.tsv has k rows per query β€” 218400 rows, k=100
  • βœ… gt_top100.tsv rows grouped by qidx with ranks 1..k and descending scores
  • βœ… gt_top100.tsv indices in range
  • βœ… gt_top1000.tsv has k rows per query β€” 2184000 rows, k=1000
  • βœ… gt_top1000.tsv rows grouped by qidx with ranks 1..k and descending scores
  • βœ… gt_top1000.tsv indices in range
  • βœ… gt_top100.tsv is the first 100 ranks of gt_top1000.tsv

Provenance

exported2026-09-23
hardwareTesla V100S-PCIE-32GB
revised2026-09-29: ground truth extended to top-1000 (gt_top1000.tsv, exact MaxSim over this repo's vectors on Tesla V100S-PCIE-32GB); gt_top100.tsv rewritten as its first 100 ranks: 417 rows differ from the previous file, all of them documents with identical scores listed in a different order (7 tied pairs at rank 100 swapped in or out)
colbert
embeddings
image
late-interaction
multi-vector
retrieval

robro612/vidore3_pharmaceuticals_neomme_260m_li

Dataset

vidore3_pharmaceuticals_neomme_260m_li

0

4 commits

1 linked in READMEs

updated Sep 29, 2026

See the code

README

vidore3_pharmaceuticals_neomme_260m_li

Multi-vector (late-interaction) embeddings of ViDoRe pharmaceuticals (vidore/pharmaceuticals), encoded with Hcompany/NeoMME-260M-Retriever-ST-late at revision 023be2a8ab9d797f5aa76f5bf8b5dde78d819659.

Source data: Hugging Face dataset vidore/vidore_v3_pharmaceuticals at revision 3abd4aa8a9445fb5538a78a19ba50bd57bd22b5c, configs corpus / queries / qrels, split test, loaded with datasets. Document, query and qrel ids are the source's own ids, unchanged.

Every document is one variable-length set of 128-d vectors; every query is one variable-length set of 128-d vectors. Documents and queries are stored at different precisions (fp16 and fp32 respectively), see Encoding.

Files

filedtypeshapecontents
documents.npyfloat16 (<f2)[5,880,578, 128]every document vector, concatenated document by document (1,435.7 MiB)
doclens.npyint32[2,313]vectors per document; cumsum gives offsets
doc_ids.npy<U4[2,313]original document ids
queries.npyfloat32 (<f4)[2,184, 78, 128]query vectors, zero-padded at the end (83.2 MiB)
query_lens.npyint32[2,184]true vectors per query, before padding
queries_ids.npy<U4[2,184]original query ids
qrels.test.tsvtext10,392 rowsTREC qrels, qid \t 0 \t docid \t relevance, no header
gt_top1000.tsvtext2,184,000 rowsexact MaxSim top-1000, see below
gt_top100.tsvtext218,400 rowsfirst 100 ranks of gt_top1000.tsv, same format

All positional indices (the gt_top*.tsv files, and the row order of every .npy file) refer to the order of doc_ids.npy and queries_ids.npy. Reordering either file invalidates the ground truth.

Statistics

documents2,313
document vectors5,880,578
vectors per document (min / median / mean / max)2306 / 2342 / 2542.4 / 3010
queries2,184
vectors per query (min / median / mean / max)17 / 37 / 38.4 / 78
queries with at least one qrel2,184
qrels rows10,392
embedding dimension128

Encoding

modelHcompany/NeoMME-260M-Retriever-ST-late
model revision023be2a8ab9d797f5aa76f5bf8b5dde78d819659
librarysentence-transformers 6.0.1 MultiVectorEncoder (transformers 5.17.0, torch 2.11.0+cu126)
document compute dtypefloat16 (model weights loaded at this dtype for the document pass)
document storage dtypefp16
query compute dtypefloat32 (model weights loaded at this dtype for the query pass)
query storage dtypefp32
normalizationL2, by the model's own Normalize module, before the storage cast
document truncationnone (document_length unset), so the model limit of 16,384 tokens applies; longest document here 3,010 vectors
query truncationnone (query_length unset)
document skiplistnone (empty skiplist_words): every document token is kept, so doclens is the real token count
document inputpage image, one vector per image patch plus layout tokens; processor default resizing
query inputquery text, stripped of surrounding whitespace, formatted by the model's own query prompt/template
query vectorsevery vector the model emits for the query is kept, including any query-expansion tokens its template adds; query_lens counts them all
document paddingnone: documents.npy holds real vectors only, sum(doclens) == n_tokens
query paddingrows at or beyond query_lens[i] in queries.npy[i] are exactly zero
token_idsnot provided: image-patch vectors have no vocabulary ids (only placeholder ids)

Ground truth: gt_top1000.tsv and gt_top100.tsv

Exact brute-force MaxSim top-1000 per query over the full corpus, from the vectors in this repo. gt_top100.tsv holds the first 100 ranks per query of the same lists (the original layout of these exports).

No header; tab-separated qidx docidx rank score:

  • qidx: 0-based row into queries_ids.npy / queries.npy
  • docidx: 0-based position into doc_ids.npy / doclens.npy
  • rank: 1-based, descending score
  • score: sum over the query's query_lens[qidx] vectors of max over the document's vectors of the dot product, computed in fp32 with the fp16 document vectors upcast to fp32. Expansion vectors are included in the sum. Printed to 6 decimals.

Retrieval quality

Sanity check of the vectors, not a leaderboard number: gt_top1000.tsv (exact MaxSim over the full corpus) scored against qrels.test.tsv with ir_measures.

nDCG@10MRR@10Success@5Recall@100Recall@1000MAP@1000
0.59580.70830.87040.86540.98210.5272

Loading

import numpy as np

documents = np.load("documents.npy", mmap_mode="r")      # [n_tokens, 128] float16
doclens = np.load("doclens.npy")                         # [n_docs] int32
offsets = np.concatenate([[0], np.cumsum(doclens)])
doc_ids = np.load("doc_ids.npy")                         # [n_docs] str

def document(i):
    return documents[offsets[i]:offsets[i + 1]]           # [doclens[i], 128]

queries = np.load("queries.npy")                         # [n_queries, 78, 128] float32
query_lens = np.load("query_lens.npy")                   # [n_queries] int32
query_ids = np.load("queries_ids.npy")                   # [n_queries] str

def query(j):
    return queries[j, :query_lens[j]]                     # [query_lens[j], 128]

def maxsim(q, d):
    return (q @ d.astype(np.float32).T).max(axis=1).sum()

Validation

Checks run by the exporter on the files exactly as written here:

  • βœ… file set β€” missing=[] extra=[]
  • βœ… documents.npy dtype/shape β€” <f2 (5880578, 128)
  • βœ… doclens.npy dtype/shape β€” <i4 (2313,)
  • βœ… doc_ids.npy is a string array β€” <U4 (2313,)
  • βœ… queries.npy dtype/shape β€” <f4 (2184, 78, 128)
  • βœ… query_lens.npy dtype/shape β€” <i4 (2184,)
  • βœ… queries_ids.npy is a string array β€” <U4 (2184,)
  • βœ… sum(doclens) == n_tokens β€” 5880578 vs 5880578
  • βœ… no empty documents β€” min doclen 2306
  • βœ… len(doc_ids) == len(doclens) == corpus size β€” 2313, 2313, 2313
  • βœ… doc_ids unique
  • βœ… query arrays aligned β€” 2184, 2184, 2184
  • βœ… doc and query dim agree β€” 128 / 128
  • βœ… document vectors unit-norm (100k sample) β€” norm range [0.9994, 1.0005]
  • βœ… query vectors unit-norm β€” norm range [1.000000, 1.000000]
  • βœ… all vectors finite
  • βœ… gt_top100.tsv has k rows per query β€” 218400 rows, k=100
  • βœ… gt_top100.tsv rows grouped by qidx with ranks 1..k and descending scores
  • βœ… gt_top100.tsv indices in range
  • βœ… gt_top1000.tsv has k rows per query β€” 2184000 rows, k=1000
  • βœ… gt_top1000.tsv rows grouped by qidx with ranks 1..k and descending scores
  • βœ… gt_top1000.tsv indices in range
  • βœ… gt_top100.tsv is the first 100 ranks of gt_top1000.tsv

Provenance

exported2026-09-23
hardwareTesla V100S-PCIE-32GB
revised2026-09-29: ground truth extended to top-1000 (gt_top1000.tsv, exact MaxSim over this repo's vectors on Tesla V100S-PCIE-32GB); gt_top100.tsv rewritten as its first 100 ranks: 417 rows differ from the previous file, all of them documents with identical scores listed in a different order (7 tied pairs at rank 100 swapped in or out)
colbert
embeddings
image
late-interaction
multi-vector
retrieval