Downloads · 30 days
7
9% of all-time downloads
tss-deposium/m2v-qwen3-embedding-0.6b-1024d
m2v-qwen3-embedding-0.6b-1024d is a machine learning model from tss-deposium. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for model2vec. The card lists the license as mit.
A high-performance Model2Vec distilled embedding model based on Qwen/Qwen3-Embedding-0.6B.
Downloads · 30 days
7
9% of all-time downloads
All-time downloads
78
Public
Parameters
155M
312 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors312 MB · 98%
How the weights are stored.
F16155M · 100%
From the Hugging Face model README
A high-performance Model2Vec distilled embedding model based on Qwen/Qwen3-Embedding-0.6B.
Key Features:
| Task Category | Score |
|---|---|
| STS (Semantic Similarity) | 0.4845 |
| - STSBenchmark | 0.4215 |
| - SICK-R | 0.5475 |
| Classification (kNN) | 0.5949 |
| - Banking77 | 0.7402 |
| - Emotion | 0.4496 |
| Clustering | 0.1810 |
| - TwentyNewsgroups | 0.1810 |
| Overall MTEB | 0.4202 |
| Model | STS | Classification | Size | Latency |
|---|---|---|---|---|
| M2V-BGE-M3-1024d | 0.5831 | 0.6564 | 499 MB | <1ms |
| M2V-Qwen3-0.6B-1024d | 0.4845 | 0.5949 | 302 MB | <1ms |
| POTION-base-8M | ~0.52 | ~0.55 | 30 MB | <1ms |
Install model2vec using pip:
pip install model2vec
The Model2Vec library is the fastest and most lightweight way to run Model2Vec models.
Load this model using the from_pretrained method:
from model2vec import StaticModel
# Load a pretrained Model2Vec model
model = StaticModel.from_pretrained("m2v-qwen3-emb-0.6b-1024d")
# Compute text embeddings
embeddings = model.encode(["Example sentence"])
You can also use the Sentence Transformers library to load and use the model:
from sentence_transformers import SentenceTransformer
# Load a pretrained Sentence Transformer model
model = SentenceTransformer("m2v-qwen3-emb-0.6b-1024d")
# Compute text embeddings
embeddings = model.encode(["Example sentence"])
You can distill a Model2Vec model from a Sentence Transformer model using the distill method. First, install the distill extra with pip install model2vec[distill]. Then, run the following code:
from model2vec.distill import distill
# Distill a Sentence Transformer model, in this case the BAAI/bge-base-en-v1.5 model
m2v_model = distill(model_name="BAAI/bge-base-en-v1.5", pca_dims=256)
# Save the model
m2v_model.save_pretrained("m2v_model")
Model2Vec distills a Sentence Transformer by:
This results in embeddings that are 500x faster with only moderate quality loss.
@article{minishlab2024model2vec,
author = {Tulkens, Stephan and {van Dongen}, Thomas},
title = {Model2Vec: Fast State-of-the-Art Static Embeddings},
year = {2024},
url = {https://github.com/MinishLab/model2vec}
}
@misc{qwen3embedding,
title={Qwen3-Embedding},
author={Alibaba Cloud},
year={2024},
publisher={Hugging Face}
}
MIT License - Same as base Qwen3-Embedding model.
Created by: The Seed Ship / Deposium Project