Instructions to use inclusionAI/Skill-Venus-Embedding-0.6B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use inclusionAI/Skill-Venus-Embedding-0.6B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="inclusionAI/Skill-Venus-Embedding-0.6B")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("inclusionAI/Skill-Venus-Embedding-0.6B") model = AutoModel.from_pretrained("inclusionAI/Skill-Venus-Embedding-0.6B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Overview
Skill-Venus focuses on agent-oriented skill search: helping agents find and use skills that meet their needs as a task unfolds. Skill-Venus-Embedding-0.6B is a dense retrieval model fine-tuned from Qwen3-Embedding-0.6B to retrieve relevant skills for both agents' search queries during task execution and complete task requests. Compared with Qwen3-Embedding-0.6B, it achieves absolute Recall@5 gains of 9.94% on SkillBench-Venus-S and 25.28% on SkillRet.
Model details
We fine-tuned Qwen3-Embedding-0.6B for skill search. The model produces 1,024-dimensional embeddings.
We collect search queries from agent execution traces and use three signals to identify useful skills: relevance to the query, use in the agentโs next actions, and observable progress on the task. Training mixes batches from these queryโskill pairs and the SkillRet training set. The contrastive loss masks known positives so they are never treated as negatives.
Quick start
Install the dependencies.
python -m pip install torch 'transformers>=5.3' huggingface_hub
The model configuration supplies the instruction prefix for queries. Format each skill as name | description | body, removing any YAML front matter from the body.
import json
from pathlib import Path
import torch
from huggingface_hub import hf_hub_download
from transformers import AutoModel, AutoTokenizer
repo = "inclusionAI/skill-venus-embedding-0.6b"
config = json.loads(Path(hf_hub_download(repo, "retrieval_config.json")).read_text())
tokenizer = AutoTokenizer.from_pretrained(repo)
device = "cuda" if torch.cuda.is_available() else "cpu"
model = AutoModel.from_pretrained(repo, dtype=torch.float32).to(device).eval()
@torch.inference_mode()
def embed(text):
options = config["tokenization"]
ids = tokenizer.encode(
text, truncation=True, max_length=options["content_max_length"],
add_special_tokens=options.get("add_special_tokens", True),
)
if options.get("append_token"):
ids.append(tokenizer.convert_tokens_to_ids(options["append_token"]))
tokens = torch.tensor([ids], device=device)
with torch.autocast(device, dtype=torch.bfloat16, enabled=device == "cuda"):
vector = model(tokens, use_cache=False).last_hidden_state[0, -1]
return torch.nn.functional.normalize(vector, dim=0).float()
query = embed(config["query_prefix"] + "debug a Python memory leak")
skills = [
"python-profiling | Diagnose memory leaks | Compare tracemalloc snapshots.",
"sql-indexing | Optimize database queries | Inspect the query plan.",
]
print((torch.stack([embed(skill) for skill in skills]) @ query).tolist())
For batched encoding and corpus evaluation, see the retrieval evaluation guide.
Evaluation
SkillBench-Venus-S uses queries agents issued during task execution. SkillRet uses complete user requests. Scores are macro averages in percent.
| Model | SkillBench-Venus-S Hit@5 | SkillBench-Venus-S Recall@5 | SkillBench-Venus-S nDCG@5 | SkillRet Hit@5 | SkillRet Recall@5 | SkillRet nDCG@5 |
|---|---|---|---|---|---|---|
| BM25 | 50.90 | 29.45 | 34.98 | 48.70 | 35.96 | 32.53 |
| Qwen3-Embedding-0.6B | 44.20 | 23.11 | 27.48 | 77.89 | 59.76 | 56.99 |
| Qwen3-Embedding-4B | 44.80 | 23.37 | 27.40 | 77.62 | 59.79 | 56.41 |
| Qwen3-Embedding-8B | 46.40 | 24.47 | 28.55 | 79.96 | 61.60 | 59.00 |
| SkillRouter-Embedding-0.6B | 34.90 | 16.63 | 20.36 | 88.87 | 71.65 | 69.51 |
| SkillRep-Embedding-0.6B | 42.10 | 21.95 | 26.18 | 88.30 | 70.98 | 68.38 |
| SkillRet-Embedding-0.6B | 45.00 | 24.49 | 28.76 | 91.69 | 80.38 | 76.98 |
| R3-Embedding-0.6B | 45.00 | 23.84 | 27.97 | 94.19 | 83.43 | 80.38 |
| Skill-Venus-Embedding-0.6B | 55.90 | 33.05 | 38.50 | 93.53 | 85.04 | 80.89 |
License
This model is released under the Apache License 2.0. License
Citation
@article{venus2026skillvenus,
title={Skill-Venus: Towards Agent-Oriented Skill Search},
author={Venus Team and Dai, Sunhao and Qu, Changle and Tang, Minghao and Wu, Xiaofeng and Chen, Jingwen and Ni, Shiyu and Tong, Qiao and Wang, Guoqing and Zhang, Changshuo and Bi, Keping and Meng, Changhua and Wang, Weiqiang},
journal={arXiv preprint},
year={2026}
}
- Downloads last month
- -