Downloads · 30 days
1.9K
7% of all-time downloads
IEITYuan/Yuan-embedding-2.0-en
Yuan-embedding-2.0-en is a machine learning model from IEITYuan. 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 sentence-transformers. The card lists the license as apache-2.0.
<h2 align="left"Yuan-embedding-2.0-en</h2
Downloads · 30 days
1.9K
7% of all-time downloads
All-time downloads
27.4K
Public
Parameters
596M
3.6 GB on disk
Likes
10
Trending 2
Click a slice to open those files.
.safetensors1.2 GB · 99%
From the Hugging Face model README
Yuan-embedding-2.0-en is an embedding model specifically designed for English text retrieval tasks. Built on the foundation of Qwen/Qwen3-Embedding-0.6B, we have further optimized it for both Retrieval and Reranking tasks. The key work is as follows:
Yuan-embedding-2.0-en 是专门为英文文本检索任务设计的嵌入模型。我们在Qwen/Qwen3-Embedding-0.6B的基础上,针对Retrieval任务与Reranking任务进行了进一步优化。主要工作如下:
pip install -U sentence-transformers==3.4.1
使用示例:
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("IEITYuan/Yuan-embedding-2.0-en")
sentences_1 = ["data-1", "data-2"]
sentences_2 = ["data-3", "data-4"]
embeddings_1 = model.encode(sentences_1, normalize_embeddings=True)
embeddings_2 = model.encode(sentences_2, normalize_embeddings=True)
similarity = embeddings_1 @ embeddings_2.T
print(similarity)