Sentence Similarity
sentence-transformers
ONNX
Safetensors
GGUF
English
qwen3
feature-extraction
graphql
retrieval
embeddings
text-embeddings-inference
Instructions to use xthor/Qwen3-Embedding-0.6B-GraphQL with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use xthor/Qwen3-Embedding-0.6B-GraphQL with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("xthor/Qwen3-Embedding-0.6B-GraphQL") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use xthor/Qwen3-Embedding-0.6B-GraphQL with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible embeddings server: llama serve -hf xthor/Qwen3-Embedding-0.6B-GraphQL:Q4_K_M --embeddings
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible embeddings server: llama serve -hf xthor/Qwen3-Embedding-0.6B-GraphQL:Q4_K_M --embeddings
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible embeddings server: ./llama-server -hf xthor/Qwen3-Embedding-0.6B-GraphQL:Q4_K_M --embeddings
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible embeddings server: ./build/bin/llama-server -hf xthor/Qwen3-Embedding-0.6B-GraphQL:Q4_K_M --embeddings
- LM Studio
- Jan
- Ollama
How to use xthor/Qwen3-Embedding-0.6B-GraphQL with Ollama:
ollama run hf.co/xthor/Qwen3-Embedding-0.6B-GraphQL:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use xthor/Qwen3-Embedding-0.6B-GraphQL with Docker Model Runner:
docker model run hf.co/xthor/Qwen3-Embedding-0.6B-GraphQL:Q4_K_M
- Lemonade
How to use xthor/Qwen3-Embedding-0.6B-GraphQL with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull xthor/Qwen3-Embedding-0.6B-GraphQL:Q4_K_M
Run and chat with the model
lemonade run user.Qwen3-Embedding-0.6B-GraphQL-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Download modules.json from xthor/Qwen3-Embedding-0.6B-GraphQL: direct link, hf CLI and curl.
- Browser
- Download file 429 Bytes
-
https://huggingface.co/xthor/Qwen3-Embedding-0.6B-GraphQL/resolve/main/modules.json
- Command line
-
hf download hf://xthor/Qwen3-Embedding-0.6B-GraphQL/modules.json
-
curl -L -o modules.json https://huggingface.co/xthor/Qwen3-Embedding-0.6B-GraphQL/resolve/main/modules.json
429 Bytes
| [ | |
| { | |
| "idx": 0, | |
| "name": "0", | |
| "path": "", | |
| "type": "sentence_transformers.base.modules.transformer.Transformer" | |
| }, | |
| { | |
| "idx": 1, | |
| "name": "1", | |
| "path": "1_Pooling", | |
| "type": "sentence_transformers.sentence_transformer.modules.pooling.Pooling" | |
| }, | |
| { | |
| "idx": 2, | |
| "name": "2", | |
| "path": "2_Normalize", | |
| "type": "sentence_transformers.sentence_transformer.modules.normalize.Normalize" | |
| } | |
| ] |