Views
No views yet
dimensions parameter, thanks to the model's
Matryoshka Representation Learning (MRL) support. Its intended use is the same as
the upstream Qwen/Qwen3-Embedding-4B,
and it is released under the Apache 2.0 License.1# Launch the server, listening on port 8000 by default
2furiosa-llm serve furiosa-ai/Qwen3-Embedding-4B1INFO: 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. You can send a
request with curl:1curl http://localhost:8000/v1/embeddings \
2 -H "Content-Type: application/json" \
3 -d '{
4 "model": "furiosa-ai/Qwen3-Embedding-4B",
5 "input": ["Hello, world!", "How are you?"]
6 }' \
7 | python -m json.tool1from openai import OpenAI
2
3client = OpenAI(base_url="http://localhost:8000/v1", api_key="EMPTY")
4
5response = client.embeddings.create(
6 model="furiosa-ai/Qwen3-Embedding-4B",
7 input=["Hello, world!", "How are you?"],
8)
9
10for data in response.data:
11 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 dense vectors:1from furiosa_llm import LLM
2
3with LLM("furiosa-ai/Qwen3-Embedding-4B") as llm:
4 outputs = llm.embed(["Hello, world!", "How are you?"])
5 for output in outputs:
6 print(f"{len(output.outputs.embedding)} dimensions")furiosa-llm serve) — full OpenAI-compatible API reference, including the Embeddings API