Model reference · open weights

stella-large-zh

Available as managed deployment Embeddings infgrad · community Embeddings 1 variants 4k dl/mo

stella-large-zh is an open-weight embedding model from infgrad. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.

Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.

What it is

Released byinfgrad
TypeEmbedding models
TaskEmbeddings
Context1k tokens
Runs withsentence-transformers
Released2023-10-13
Popularity4k downloads / month
LicenceUnknown

About

What stella-large-zh is

新闻 | News

[2024-04-06] 开源puff系列模型,专门针对检索和语义匹配任务,更多的考虑泛化性和私有通用测试集效果,向量维度可变,中英双语

[2024-02-27] 开源stella-mrl-large-zh-v3.5-1792d模型,支持向量可变维度

[2024-02-17] 开源stella v3系列、dialogue编码模型和相关训练数据。

[2023-10-19] 开源stella-base-en-v2 使用简单,不需要任何前缀文本

[2023-10-12] 开源stella-base-zh-v2和stella-large-zh-v2, 效果更好且使用简单,不需要任何前缀文本

[2023-09-11] 开源stella-base-zh和stella-large-zh

欢迎去本人主页查看最新模型,并提出您的宝贵意见!

Read the full model card

stella model

stella是一个通用的文本编码模型,主要有以下模型:

Model NameModel Size (GB)DimensionSequence LengthLanguageNeed instruction for retrieval?
stella-base-en-v20.2768512EnglishNo
stella-large-zh-v20.6510241024ChineseNo
stella-base-zh-v20.27681024ChineseNo
stella-large-zh0.6510241024ChineseYes
stella-base-zh0.27681024ChineseYes

完整的训练思路和训练过程已记录在博客1博客2,欢迎阅读讨论。

训练数据:

  1. 开源数据(wudao_base_200GB[1]、m3e[2]和simclue[3]),着重挑选了长度大于512的文本
  2. 在通用语料库上使用LLM构造一批(question, paragraph)和(sentence, paragraph)数据

训练方法:

  1. 对比学习损失函数
  2. 带有难负例的对比学习损失函数(分别基于bm25和vector构造了难负例)
  3. EWC(Elastic Weights Consolidation)[4]
  4. cosent loss[5]
  5. 每一种类型的数据一个迭代器,分别计算loss进行更新

stella-v2在stella模型的基础上,使用了更多的训练数据,同时知识蒸馏等方法去除了前置的instruction( 比如piccolo的查询:, 结果:, e5的query:passage:)。

初始权重:
stella-base-zh和stella-large-zh分别以piccolo-base-zh[6]和piccolo-large-zh作为基础模型,512-1024的position embedding使用层次分解位置编码[7]进行初始化。
感谢商汤科技研究院开源的piccolo系列模型

stella is a general-purpose text encoder, which mainly includes the following models:

Model NameModel Size (GB)DimensionSequence LengthLanguageNeed instruction for retrieval?
stella-base-en-v20.2768512EnglishNo
stella-large-zh-v20.6510241024ChineseNo
stella-base-zh-v20.27681024ChineseNo
stella-large-zh0.6510241024ChineseYes
stella-base-zh0.27681024ChineseYes

The training data mainly includes:

  1. Open-source training data (wudao_base_200GB, m3e, and simclue), with a focus on selecting texts with lengths greater than 512.
  2. A batch of (question, paragraph) and (sentence, paragraph) data constructed on a general corpus using LLM.

The loss functions mainly include:

  1. Contrastive learning loss function
  2. Contrastive learning loss function with hard negative examples (based on bm25 and vector hard negatives)
  3. EWC (Elastic Weights Consolidation)
  4. cosent loss

Model weight initialization:
stella-base-zh and stella-large-zh use piccolo-base-zh and piccolo-large-zh as the base models, respectively, and the 512-1024 position embedding uses the initialization strategy of hierarchical decomposed position encoding.

Training strategy:
One iterator for each type of data, separately calculating the loss.

Based on stella models, stella-v2 use more training data and remove instruction by Knowledge Distillation.

Metric

C-MTEB leaderboard (Chinese)
Model NameModel Size (GB)DimensionSequence LengthAverage (35)Classification (9)Clustering (4)Pair Classification (2)Reranking (4)Retrieval (8)STS (8)
stella-large-zh-v20.651024102465.1369.0549.1682.6866.4170.1458.66
stella-base-zh-v20.2768102464.3668.2949.479.9566.170.0856.92
stella-large-zh0.651024102464.5467.6248.6578.7265.9871.0258.3
stella-base-zh0.2768102464.1667.7748.776.0966.9571.0756.54
MTEB leaderboard (English)
Model NameModel Size (GB)DimensionSequence LengthAverage (56)Classification (12)Clustering (11)Pair Classification (3)Reranking (4)Retrieval (15)STS (10)Summarization (1)
stella-base-en-v20.276851262.6175.2844.986.4558.7750.183.0232.52
Reproduce our results

C-MTEB:

import torch
import numpy as np
from typing import List
from mteb import MTEB
from sentence_transformers i

From the published model card. Full card on the HuggingFace links in the sidebar.

Benchmarks

Reported results

As published on the model card — the maker's own numbers, not measured by AxForge.

TaskDatasetMetricScore
STSMTEB AFQMCcos_sim_pearson47.344
STSMTEB AFQMCcos_sim_spearman49.947
STSMTEB AFQMCeuclidean_pearson48.129
STSMTEB AFQMCeuclidean_spearman49.947
STSMTEB AFQMCmanhattan_pearson48.084
STSMTEB AFQMCmanhattan_spearman49.902
STSMTEB ATECcos_sim_pearson50.980
STSMTEB ATECcos_sim_spearman53.119
STSMTEB ATECeuclidean_pearson55.126
STSMTEB ATECeuclidean_spearman53.119
STSMTEB ATECmanhattan_pearson55.103
STSMTEB ATECmanhattan_spearman53.113
ClassificationMTEB AmazonReviewsClassification (zh)accuracy40.818
ClassificationMTEB AmazonReviewsClassification (zh)f139.022
STSMTEB BQcos_sim_pearson62.835
STSMTEB BQcos_sim_spearman65.535
STSMTEB BQeuclidean_pearson64.082
STSMTEB BQeuclidean_spearman65.535
STSMTEB BQmanhattan_pearson64.088
STSMTEB BQmanhattan_spearman65.549
ClusteringMTEB CLSClusteringP2Pv_measure39.954
ClusteringMTEB CLSClusteringS2Sv_measure38.185
RerankingMTEB CMedQAv1map85.445
RerankingMTEB CMedQAv1mrr88.142

Using it via the API

Call it like any OpenAI endpoint

Once AxForge deploys stella-large-zh for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (stella-large-zh below is illustrative; you get the exact model name on deployment.)

$ curl -sS https://api.axforge.ai/v1/embeddings \
  -H "Authorization: Bearer $AXFORGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"stella-large-zh","input":"text to embed"}'

Create an account — your API key is available in the console. 3M free tokens every 30 days with every new account.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms