alt.freeweights.embed / harrier-oss-v1-0.6b-ONNX
From: onnx-community <huggingface.co/onnx-community>Newsgroups: alt.freeweights.embedSubject:

harrier-oss-v1-0.6b-ONNX

Date: 2026-11-15Commit: e4daffaSigned: 2DC28CC7B26A283B ✓

Feature extraction model. Onnx weights, 5.07 GB in all. Published by onnx-community under MIT.

embed5.07GBharrier-oss-v1-0.6b-ONNXonnxpermissive
FactsParamsnot statedSize5.07 GBFormatsonnxTaskfeature extractionLicenseMITFrom sourcepermissive
$ fw get onnx-community/harrier-oss-v1-0.6b-ONNX
# manifest sha256 f6d16348db4b… · 5.07 GB · 17 files
$ fw verify ./harrier-oss-v1-0.6b-ONNX onnx-community/harrier-oss-v1-0.6b-ONNX
From sourceHosted (signed)onnx-community/harrier-oss-v1-0.6b-ONNXLast check: 2026-11-15 05:02 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Quantized of harrier-oss-v1-0.6b.

Works with

Runs with

Ranked by fit to this model (onnx), then by GitHub stars.

Convert with

Evaluate with

Scan with

Overview

Size
5.07 GB
Weights
353 MB (smallest of 5 ONNX variants)
Parameters
not stated
Formats
onnx
Task
feature extraction
License
MIT (permissive)
Files
17, each with a sha256
Publisher
onnx-community
Added
2026-11-15
Section
alt.freeweights.embed
Lineage

Original release from the publisher.

Base model: microsoft/harrier-oss-v1-0.6b

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 05:02 UTCpassed

Model card

From the publisher at commit e4daffa. Shown as plain text with links; images open at the publisher.

harrier-oss-v1#

harrier-oss-v1 is a family of multilingual text embedding models developed by Microsoft. The models use decoder-only architectures with last-token pooling and L2 normalization to produce dense text embeddings. They can be applied to a wide range of tasks, including but not limited to retrieval, clustering, semantic similarity, classification, bitext mining, and reranking. The models achieve state-of-the-art results on the Multilingual MTEB v2 benchmark as of the release date.

ModelParametersEmbedding DimensionMax TokensMTEB v2 Score
harrier-oss-v1-270m270M64032,76866.5
harrier-oss-v1-0.6b0.6B1,02432,76869.0
harrier-oss-v1-27b27B5,37632,76874.3

Training#

All models are trained with contrastive learning objectives on a large-scale mixture of multilingual datasets covering diverse tasks. The 270m and 0.6b variants are additionally trained with knowledge distillation from larger embedding models.

Usage#

Below is an example to encode queries and passages from the MS-MARCO passage ranking dataset.

Transformers.js#

If you haven't already, you can install the Transformers.js JavaScript library from NPM using:

npm i @huggingface/transformers

You can then use the model as follows:

import { AutoModel, AutoTokenizer, matmul } from "@huggingface/transformers";

const model_id = "onnx-community/harrier-oss-v1-0.6b-ONNX";
const tokenizer = await AutoTokenizer.from_pretrained(model_id);
const model = await AutoModel.from_pretrained(model_id, { dtype: "q4", device: "webgpu" });

const prompts = {
  web_search_query: "Instruct: Given a web search query, retrieve relevant passages that answer the query\nQuery: ",
  sts_query: "Instruct: Retrieve semantically similar text\nQuery: ",
  bitext_query: "Instruct: Retrieve parallel sentences\nQuery: ",
};
const queries = ["how much protein should a female eat", "summit define"].map((x) => prompts.web_search_query + x);
const documents = [
  "As a general guideline, the CDC's average requirement of protein for women ages 19 to 70 is 46 grams per day. But, as you can see from this chart, you'll need to increase that if you're expecting or training for a marathon. Check out the chart below to see how much protein you should be eating each day.",
  "Definition of summit for English Language Learners. : 1  the highest point of a mountain : the top of a mountain. : 2  the highest level. : 3  a meeting or series of meetings between the leaders of two or more governments.",
];

const query_inputs = tokenizer(queries, { padding: true, truncation: true });
const { sentence_embedding: query_embeddings } = await model(query_inputs);

const doc_inputs = tokenizer(documents, { padding: true, truncation: true });
const { sentence_embedding: doc_embeddings } = await model(doc_inputs);

const scores = (await matmul(query_embeddings, doc_embeddings.transpose(1, 0))).mul(100);
console.log(scores.tolist());
// [
//   [ 66.6568832397461, 28.08503532409668 ],
//   [ 29.10841178894043, 70.66002655029297 ]
// ]

Supported Languages#

The models are trained on multilingual data and support a wide range of languages, including but not limited to: Arabic, Bulgarian, Catalan, Czech, Danish, German, Greek, English, Spanish, Estonian, Persian, Finnish, French, Hebrew, Hindi, Croatian, Hungarian, Indonesian, Italian, Japanese, Korean, Lithuanian, Latvian, Macedonian, Malay, Dutch, Norwegian, Polish, Portuguese, Romanian, Russian, Slovak, Slovenian, Albanian, Serbian, Swedish, Thai, Turkish, Ukrainian, Urdu, Vietnamese, and Chinese.

Evaluation#

Please follow the mteb repository on how to reproduce our scores. The evaluation prompts used for each task are also available at mteb_v2_eval_prompts.json.

FAQ#

1. Do I need to add instructions to the query?

Yes, this is how the model is trained, otherwise you will see a performance degradation. The task definition should be a one-sentence instruction that describes the task. This is a way to customize text embeddings for different scenarios through natural language instructions.

On the other hand, there is no need to add instructions to the document side.

2. Why are my reproduced results slightly different from reported in the model card?

Different versions of transformers and pytorch could cause negligible but non-zero performance differences.

3. What pooling strategy does this model use?

The model uses last-token pooling — the embedding of the last non-padding token is used as the sentence representation. The embedding is then L2-normalized. This is handled automatically when using Sentence Transformers.

Files

17 files · 5.07 GBWeights 353 MB (smallest of 5 ONNX variants). Sizes and sha256 from the signed manifest.
Hide all 17 files with their sha256
FileSizesha256
.gitattributes1.89 KB5fa1196bb5607957ec6d214e333ce06c86b7cd597affd925005d70847f557643
README.md6.03 KBa0f942c14c676015916e74e1826346c9876c42b49979335f94f0bba0c85cb751
chat_template.jinja4.12 KB87a2728cb8dc9fe424d624542f6060ec05a1d285ebbec578bb078900e33396b5
config.json1.53 KBc55e075ac57223f7442ef1755051e9bd212e0d4ff2ed68694037f5a21dba7eeb
onnx/model.onnx300 KB46e6d18455f25b2ebe9bccdc0fe3bf2a36442796ecc0991141c12c1f098f27b9
onnx/model.onnx_data2.09 GB1f936ece1604ac0117e808f9db9959e3e8b6b860d44d1a6ecf55a5353ee2d55c
onnx/model.onnx_data_1306 MB5b2a43d2df8ba4706d44769c023f2627309a8e48ec0fea70e92afc1a974e169f
onnx/model_fp16.onnx287 KB460cf6e8d8da587e60976b1e36bb5e433c79e5af9681dbab48abad9353d4957c
onnx/model_fp16.onnx_data1.20 GBb6e76ada3c256d01a39f5896d3cb96d78fcdf566927da0d9445cc9c999e96069
onnx/model_q4.onnx389 KB4a41218d088c2e31fd6a3953d838d08536a27e98cf987796104a9511f9d9a671
onnx/model_q4.onnx_data399 MB5dee6d2aecd2657464eb80e833ce79593a94430c3abca3d0c1f5424f0713e59e
onnx/model_q4f16.onnx377 KB164230246e40d0249dfefe2901cafd071e1d116e96aa0f9b7fa2da1284fbdbb1
onnx/model_q4f16.onnx_data353 MB4c431be6a2456467e96bee8e9080464e2d0a4352c8de77639deee87bac69dd1d
onnx/model_quantized.onnx394 KB3c7c03247bf681338ea079ca3875fa48d6b339bacd3abb6b7ce81afa5a357861
onnx/model_quantized.onnx_data706 MB95e9e447398ba3ef59d54888c820ee8c1b80e4373c56cc5d09b2358ee25d893c
tokenizer.json9.12 MB2320ebaed2032c36f5c539cb8531d0642a10024e164f1d81ebbe163b259e3ba5
tokenizer_config.json4.65 KBe1c8a5341a350885510d652a3a303beabf3a76ef745af6c6b4c3f0d815ccfb5c
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
e4daffa011 pinned now2026-11-15 05:02 UTC17 files · 5.07 GB

Use it

$ fw get onnx-community/harrier-oss-v1-0.6b-ONNX
# manifest sha256 f6d16348db4b… · 5.07 GB · 17 files
$ fw verify ./harrier-oss-v1-0.6b-ONNX onnx-community/harrier-oss-v1-0.6b-ONNX
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/onnx-community/harrier-oss-v1-0.6b-ONNX.json --dir ./harrier-oss-v1-0.6b-ONNX $ python3 fw.py verify ./harrier-oss-v1-0.6b-ONNX ./onnx-community__harrier-oss-v1-0.6b-ONNX.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download onnx-community/harrier-oss-v1-0.6b-ONNX --revision e4daffa011e666dcd2ff2a3c6c05084090ac314d --local-dir ./harrier-oss-v1-0.6b-ONNX

License

Name
MIT License
Id
MIT
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
a0f942c14c676015916e74e1826346c9876c42b49979335f94f0bba0c85cb751
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: onnx-community <huggingface.co/onnx-community>Newsgroups: alt.freeweights.embedSubject: harrier-oss-v1-0.6b-ONNXDate: 2026-11-15Commit: e4daffaSigned: 2DC28CC7B26A283B ✓
Upstream
onnx-community/harrier-oss-v1-0.6b-ONNX
Pinned commit
e4daffa011e666dcd2ff2a3c6c05084090ac314d
Manifest
harrier-oss-v1-0.6b-ONNX.json · .minisig
Manifest sha256
f6d16348db4bf2da846b51d61c1199eb680279876436fbaf22ca38d36fb1e4bf
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 05:02 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/onnx-community/harrier-oss-v1-0.6b-ONNX.json $ curl -O https://freeweights.allternit.com/manifests/onnx-community/harrier-oss-v1-0.6b-ONNX.json.minisig $ minisign -Vm harrier-oss-v1-0.6b-ONNX.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

microsoft/harrier-oss-v1-0.6b · this model is a quantization of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download onnx-community/harrier-oss-v1-0.6b-ONNX
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. harrier-oss-v1-0.6b-ONNX.json. Provenance. Takedown history: none.
From: sentence-transformers <huggingface.co/sentence-transformers>Subject: all-MiniLM-L6-v1
From: unsloth <huggingface.co/unsloth>Subject: all-MiniLM-L6-v2
From: mlx-community <huggingface.co/mlx-community>Subject: all-MiniLM-L6-v2-4bit
From: sentence-transformers <huggingface.co/sentence-transformers>Subject: all-mpnet-base-v1
From: sentence-transformers <huggingface.co/sentence-transformers>Subject: allenai-specter
From: sentence-transformers <huggingface.co/sentence-transformers>Subject: bert-base-nli-max-tokens