Views
No views yet
microsoft/harrier-oss-v1-0.6b
together with a Furiosa Executable Bundle (FXB) for running it on
FuriosaAI RNGD with Furiosa-LLM.
The same model also runs on other frameworks (such as Sentence Transformers and
Transformers); for usage with those, see the upstream
microsoft/harrier-oss-v1-0.6b model card.microsoft/harrier-oss-v1-0.6b,
and it is released under the MIT License.Qwen3Modelfuriosa-ai/<repo> identifier:1# Launch the server, listening on port 8000 by default
2furiosa-llm serve furiosa-ai/harrier-oss-v1-0.6b1INFO: Started server process [27507]
2INFO: Waiting for application startup.
3INFO: Application startup complete.
4INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)/v1/embeddings endpoint. Harrier is
instruction-aware: prepend a one-sentence task description to each query in the
Instruct: ...\nQuery: ... format, and do not add the instruction to documents.
For more details, see the
base model card.
Request embeddings with curl:1curl http://localhost:8000/v1/embeddings \
2 -H "Content-Type: application/json" \
3 -d '{
4 "model": "furiosa-ai/harrier-oss-v1-0.6b",
5 "input": [
6 "Instruct: Given a web search query, retrieve relevant passages that answer the query\nQuery: summit define",
7 "Definition of summit: the highest point of a mountain."
8 ]
9 }' \
10 | python -m json.tool1from openai import OpenAI
2
3client = OpenAI(base_url="http://localhost:8000/v1", api_key="EMPTY")
4
5query = (
6 "Instruct: Given a web search query, retrieve relevant passages that answer the query\n"
7 "Query: summit define"
8)
9document = "Definition of summit: the highest point of a mountain."
10
11response = client.embeddings.create(
12 model="furiosa-ai/harrier-oss-v1-0.6b",
13 input=[query, document],
14)
15
16for data in response.data:
17 print(f"Index {data.index}: {len(data.embedding)} dimensions")LLM constructor (the FXB shipped in
the repo is discovered automatically) and call embed to obtain L2-normalized
dense vectors. Their dot product is therefore the cosine similarity:1from furiosa_llm import LLM
2
3query = (
4 "Instruct: Given a web search query, retrieve relevant passages that answer the query\n"
5 "Query: summit define"
6)
7document = "Definition of summit: the highest point of a mountain."
8
9with LLM("furiosa-ai/harrier-oss-v1-0.6b") as llm:
10 outputs = llm.embed([query, document])
11 embeddings = [output.outputs.embedding for output in outputs]
12
13similarity = sum(a * b for a, b in zip(*embeddings, strict=True))
14print(f"Cosine similarity: {similarity:.4f}")furiosa-llm serve) — full OpenAI-compatible API reference, including the Embeddings APImicrosoft/harrier-oss-v1-0.6b — upstream model card