Skip to content
Local AI Wizard
Your machine
Theme

Harrier OSS v1 (0.6B)

Microsoft · microsoft/harrier-oss-v1-0.6b

Weights license: MIT · code and components may use other terms

MTEB (Multilingual, v2)69.0 / 100mean(task) · independent run
Memory needed~3 GB8-bit planning estimate · not measured
Parameters0.6 BSee technical details for the basis
Dimensions · context1,02432,768 tokens

Quality

Reported by the publisher

1 result · Microsoft's model card · read 2026-10-25
MTEB v2 Score
69.0MTEB

Values as printed on the card, with the publisher's own settings (card section: harrier-oss-v1); column “harrier-oss-v1-0.6b”. Not comparable across publishers and not used in any ranking. Model card

Quality × memory

No comparable quality × memory pair

Embedding memory estimates cluster at a few GB, so a quality × memory chart would not separate these models; MTEB is ranked above instead.

Consider it for

Consider Harrier OSS v1 (0.6B) for retrieval and semantic search: it turns text into 1,024-dimension vectors.

Check first

The publisher states no memory figure; the hardware list uses a ~3 GB planning estimate, a ceiling and not a measurement. See the prompt format under How to run. PT-BR is confirmed by a source.

Runs on

Fast memory holds it 119

The planning estimate fits the memory the model can use quickly: graphics card VRAM, or unified memory within the macOS GPU share.

Show all 119

Hardware profiles grouped by the embedding planning estimate (8-bit weights, 20% allowance, 2 GB reserve). Not a measured fit.

Measured speed

No published measurement for this checkpoint

Throughput (texts per second) is shown only when a source publishes it with hardware, build and setup. It is never estimated.

How to run

The planning estimate uses 8-bit weights, 20% working allowance and a 2 GB reserve; it is a ceiling, not a measurement.

Runs in
Sentence Transformers, Transformerssource
Query/document prompts
Queries need a one-sentence task instruction in the form 'Instruct: {task}\nQuery: {query}' (Sentence Transformers prompt_name 'web_search_query' etc.). Documents: no instruction.
Languages · PT-BR
Multilingual: the card names 42 supported languages ("including but not limited to"), Portuguese includedPT-BR confirmed by a source

Documented ways to run it

Copied as printed in the linked source (read 2026-10-18); not run by this site.

Sentence Transformers · model card · Sentence Transformers
from sentence_transformers import SentenceTransformer

model = SentenceTransformer("microsoft/harrier-oss-v1-0.6b", model_kwargs={"dtype": "auto"})

queries = [
    "how much protein should a female eat",
    "summit define",
]
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."
]

query_embeddings = model.encode(queries, prompt_name="web_search_query")
document_embeddings = model.encode(documents)

scores = (query_embeddings @ document_embeddings.T) * 100
print(scores.tolist())
Transformers · model card · Transformers
import torch
import torch.nn.functional as F

from torch import Tensor
from transformers import AutoTokenizer, AutoModel


def last_token_pool(last_hidden_states: Tensor, attention_mask: Tensor) -> Tensor:
    left_padding = (attention_mask[:, -1].sum() == attention_mask.shape[0])
    if left_padding:
        return last_hidden_states[:, -1]
    else:
        sequence_lengths = attention_mask.sum(dim=1) - 1
        batch_size = last_hidden_states.shape[0]
        return last_hidden_states[torch.arange(batch_size, device=last_hidden_states.device), sequence_lengths]


def get_detailed_instruct(task_description: str, query: str) -> str:
    return f'Instruct: {task_description}\nQuery: {query}'


# Each query must come with a one-sentence instruction that describes the task
task = 'Given a web search query, retrieve relevant passages that answer the query'
queries = [
    get_detailed_instruct(task, 'how much protein should a female eat'),
    get_detailed_instruct(task, 'summit define')
]
# No need to add instruction for retrieval documents
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."
]
input_texts = queries + documents

tokenizer = AutoTokenizer.from_pretrained('microsoft/harrier-oss-v1-0.6b')
model = AutoModel.from_pretrained('microsoft/harrier-oss-v1-0.6b', dtype='auto')
model.eval()
model.cuda()

max_length = 32768
# Tokenize the input texts
batch_dict = tokenizer(input_texts, max_length=max_length, padding=True, truncation=True, return_tensors='pt')
batch_dict = {k: v.cuda() for k, v in batch_dict.items()}

outputs = model(**batch_dict)
embeddings = last_token_pool(outputs.last_hidden_state, batch_dict['attention_mask'])

# normalize embeddings
embeddings = F.normalize(embeddings, p=2, dim=1)
scores = (embeddings[:2] @ embeddings[2:].T) * 100
print(scores.tolist())

Choose my computer

Technical details

What the source and the catalog store for this checkpoint. Missing fields are left out, never zero.

Task
embeddings for search (feature extraction)
Library in source
Sentence Transformers, Transformers
Weight license
MIT
Commercial use
Allowed MIT license text (SPDX) · read 2026-10-18license text
Parameter basis
Hub safetensors total (596,049,920 parameters, read 2026-10-09 from the Hub API).
Released
Not published by the publisher. The card refers to a release date but never states it.Checked 2026-10-13.source checked

Sources

Identity and published specifications come from the checkpoint page. Benchmark scores belong to the named release and do not measure speed on your computer.

Curated facts checked: 2026-10-09. Each value cites its source (the publisher's card or the MTEB results dataset); estimates are labelled as estimates, and a value no source states stays empty. A repository commit is not a model release date.