Model reference · open weights

gte-zh

Embeddings thenlper Embeddings 1 build Open weights 3k dl/mo

gte-zh is an open-weight embedding model from thenlper. gte-base-zh (FP16) weighs 205 MB; the smallest configuration that runs it is RTX 3060 12 GB.

  • gte-zh is a sentence-similarity model developed by thenlper and trained by Alibaba DAMO Academy.
  • It is designed for text embedding tasks such as information retrieval and semantic textual similarity.
  • The model has 102M parameters, supports a context length of 512 tokens, and is licensed under the MIT licence.

Summary of the thenlper/gte-base-zh model card, 2026-10-01

What it is

Released bythenlper
Released2023-11-08
Parameters102M
VRAM205 MB for the weights

What it runs on

Memory and cards for gte-base-zh (FP16)

205 MBweights, file size
1.1 GBruntime overhead
CardRunsMemory
RTX 3060 12 GBfits11.6 GB
RTX 4060 Ti 16 GBfits15.4 GB
RTX 3090 24 GBfits23.4 GB
RTX 4090 24 GBfits23.4 GB
RTX 5090 32 GBfits31.0 GB
L40S 48 GBfits44.0 GB
A100 80 GBfits78.2 GB
H100 80 GBfits78.1 GB
RTX PRO 6000 Blackwell 96 GBfits93.8 GB
DGX Spark (GB10) 128 GB unifiedfits107 GB
H200 141 GBfits138 GB
B200 180 GBfits176 GB

From the model card

What thenlper says about gte-zh

Read the model card

General Text Embeddings (GTE) model. Towards General Text Embeddings with Multi-stage Contrastive Learning

The GTE models are trained by Alibaba DAMO Academy. They are mainly based on the BERT framework and currently offer different sizes of models for both Chinese and English Languages. The GTE models are trained on a large-scale corpus of relevance text pairs, covering a wide range of domains and scenarios. This enables the GTE models to be applied to various downstream tasks of text embeddings, including information retrieval, semantic textual similarity, text reranking, etc.

Model List

ModelsLanguageMax Sequence LengthDimensionModel Size
GTE-large-zhChinese51210240.67GB
GTE-base-zhChinese51210240.67GB
GTE-small-zhChinese51210240.67GB
GTE-largeEnglish51210240.67GB
GTE-baseEnglish51210240.67GB
GTE-smallEnglish51210240.67GB

Metrics

We compared the performance of the GTE models with other popular text embedding models on the MTEB (CMTEB for Chinese language) benchmark. For more detailed comparison results, please refer to the MTEB leaderboard.

  • Evaluation results on CMTEB
ModelModel Size (GB)Embedding DimensionsSequence LengthAverage (35 datasets)Classification (9 datasets)Clustering (4 datasets)Pair Classification (2 datasets)Reranking (4 datasets)Retrieval (8 datasets)STS (8 datasets)
gte-large-zh0.65102451266.7271.3453.0781.1467.4272.4957.82
gte-base-zh0.2076851265.9271.2653.8680.4467.0071.7155.96
stella-large-zh-v20.651024102465.1369.0549.1682.6866.4170.1458.66
stella-large-zh0.651024102464.5467.6248.6578.7265.9871.0258.3
bge-large-zh-v1.51.3102451264.5369.1348.9981.665.8470.4656.25
stella-base-zh-v20.21768102464.3668.2949.479.9666.170.0856.92
stella-base-zh0.21768102464.1667.7748.776.0966.9571.0756.54
piccolo-large-zh0.65102451264.1167.0347.0478.3865.9870.9358.02
piccolo-base-zh0.276851263.6666.9847.1276.6166.6871.255.9
gte-small-zh0.151251260.0864.4948.9569.9966.2165.5049.72
bge-small-zh-v1.50.151251257.8263.9644.1870.460.9261.7749.1
m3e-base0.4176851257.7967.5247.6863.9959.5456.9150.47
text-embedding-ada-002(openai)-1536819253.0264.3145.6869.5654.2852.043.35

Usage

Code example

import torch.nn.functional as F
from torch import Tensor
from transformers import AutoToken

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

Benchmarks

Reported results

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

TaskDatasetMetricScore
STSMTEB AFQMCcos_sim_pearson44.456
STSMTEB AFQMCcos_sim_spearman49.065
STSMTEB AFQMCeuclidean_pearson47.550
STSMTEB AFQMCeuclidean_spearman49.065
STSMTEB AFQMCmanhattan_pearson47.430
STSMTEB AFQMCmanhattan_spearman48.957
STSMTEB ATECcos_sim_pearson44.317
STSMTEB ATECcos_sim_spearman50.831
STSMTEB ATECeuclidean_pearson51.361
STSMTEB ATECeuclidean_spearman50.831
STSMTEB ATECmanhattan_pearson51.256
STSMTEB ATECmanhattan_spearman50.735
ClassificationMTEB AmazonReviewsClassification (zh)accuracy45.818
ClassificationMTEB AmazonReviewsClassification (zh)f143.998
STSMTEB BQcos_sim_pearson63.475
STSMTEB BQcos_sim_spearman65.498
STSMTEB BQeuclidean_pearson64.114
STSMTEB BQeuclidean_spearman65.498
STSMTEB BQmanhattan_pearson64.025
STSMTEB BQmanhattan_spearman65.424
ClusteringMTEB CLSClusteringP2Pv_measure42.580
ClusteringMTEB CLSClusteringS2Sv_measure40.421
RerankingMTEB CMedQAv1map86.791
RerankingMTEB CMedQAv1mrr88.813
© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms