Model
A text embedding model fine-tuned from allenai/Olmo-3-1025-7B for retrieval. It is an independent project, not affiliated with Ai2; training code, configs, data card and logs are at github.com/petegordon/olmo3-embed.
Instruct: {instruction}\nQuery: {query}.from sentence_transformers import SentenceTransformer
import torch
model = SentenceTransformer("petegordon/olmo3-embed-7b", model_kwargs={"torch_dtype": torch.bfloat16})
prompt = "Instruct: Given a web search query, retrieve relevant passages that answer the query\nQuery: "
q = model.encode(["how do solar panels work"], prompt=prompt)
d = model.encode(["Photovoltaic cells convert sunlight directly into electricity ..."])
print(model.similarity(q, d))
The tokenizer appends EOS itself (its post-processor), so no extra handling is needed. In MTEB, the per-task instructions are each task's default MTEB prompt.
| Avg (15) | ArguAna | ClimateFEVER | CQADupStack | DBPedia | FEVER | FiQA2018 | HotpotQA | MSMARCO | NFCorpus | NQ | Quora | SCIDOCS | SciFact | TREC-COVID | Touche2020 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 54.72 | 57.82 | 37.00 | 45.76 | 48.28 | 89.09 | 53.39 | 75.41 | 38.57 | 38.98 | 62.12 | 89.66 | 23.65 | 79.47 | 63.10 | 18.52 |
MSMARCO is the dev split; the rest are test. Scored with mteb 2.22–2.24 in bf16 on the LoRA run before merging. This merged model, loaded through mteb, gives the same embeddings (cosine ≥ 0.9998 over all NFCorpus queries and 3,000 documents) and SciFact 79.44 / NFCorpus 38.78 (bf16 batching noise).
About 115k (query, positive, negatives) rows, all human-written public data. Details and licenses are in the data card.
rlhn/rlhn-680K), Quora duplicates, and the
NFCorpus and SciFact train qrels. These are in-domain for those MTEB tasks.Decontamination: every training query was checked against 72k test queries from 39 MTEB tasks (exact and near-duplicate), and every passage against the test corpora of the zero-shot tasks (TREC-COVID, NFCorpus, SciFact, SCIDOCS, ArguAna, Touche2020, CQADupStack): rows with any overlap were dropped. TREC-COVID was kept strictly zero-shot: no queries, no qrels, and no document overlap.
English only, 512-token inputs. Trained for retrieval; other embedding tasks are untested. Inherits the base model's biases.
Apache-2.0, like the base model. Training data licenses are listed in the data card.