Model reference · open weights

gte-small

gte-small is an open-weight embedding model from thenlper, listed in the AxForge catalogue. AxForge can bring it up on EU-owned hardware for you on request — with the licence handled where one is required.

Embeddings thenlper 1 variants 1.1M downloads/mo
Request this model on EU hardware All served models Not on the shared API today — deployed on request.

About

What gte-small is

gte-small 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 three different sizes of models, including GTE-large, GTE-base, and GTE-small. 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. Metrics We compared the performance of the GTE models with other popular text embedding models on the MTEB benchmark. For more detailed comparison results, please refer to the MTEB leaderboard. Usage Code example Use with sentence-transformers: Limitation This model exclusively caters to English texts, and any lengthy texts will be truncated to a maximum of 512 tokens. Citation If you find our paper or models helpful, please consider citing them as follows:

Summarised from the published model card. Read the full card on the HuggingFace links below.

Specifications

What it is

Makerthenlper
TypeEmbedding models
Parameters (lead)33M
Context512 tokens
Variants1
Runs withsentence-transformers
Released2023-07-27
Popularity1.1M downloads / month
Likes189
LicenceOpen weights

How it works

How embedding models work

Your textsentence / documentEncodermaps meaningVectorlist of numbersAn embedding model turns text into a vector, so similar meanings sit close together — the basis of search and RAG.

Variants

Sizes & precisions

Open weights ship in several sizes and precisions. One page, all the variants — pick the one that fits your GPU. VRAM figures are estimates from model size.

VariantParamsPrecisionVRAMFits 16 GBWeights
gte-small33MBF16~0.1 GBWeights ↗

Benchmarks

Reported results

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

TaskDatasetMetricScore
ClassificationMTEB AmazonCounterfactualClassification (en)accuracy73.224
ClassificationMTEB AmazonCounterfactualClassification (en)ap36.099
ClassificationMTEB AmazonCounterfactualClassification (en)f167.321
ClassificationMTEB AmazonPolarityClassificationaccuracy91.819
ClassificationMTEB AmazonPolarityClassificationap88.524
ClassificationMTEB AmazonPolarityClassificationf191.804
ClassificationMTEB AmazonReviewsClassification (en)accuracy48.032
ClassificationMTEB AmazonReviewsClassification (en)f147.449
RetrievalMTEB ArguAnamap_at_130.725
RetrievalMTEB ArguAnamap_at_1046.604
RetrievalMTEB ArguAnamap_at_10047.535
RetrievalMTEB ArguAnamap_at_100047.538
RetrievalMTEB ArguAnamap_at_341.833
RetrievalMTEB ArguAnamap_at_544.61
RetrievalMTEB ArguAnamrr_at_131.223
RetrievalMTEB ArguAnamrr_at_1046.794
RetrievalMTEB ArguAnamrr_at_10047.725
RetrievalMTEB ArguAnamrr_at_100047.727
RetrievalMTEB ArguAnamrr_at_342.07
RetrievalMTEB ArguAnamrr_at_544.812
RetrievalMTEB ArguAnandcg_at_130.725
RetrievalMTEB ArguAnandcg_at_1055.441
RetrievalMTEB ArguAnandcg_at_10059.134
RetrievalMTEB ArguAnandcg_at_100059.199

Using it via the API

Call it like any OpenAI endpoint

Once AxForge deploys gte-small for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (gte-small 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":"gte-small","input":"text to embed"}'

Details

Languages, data & research

Languages

en

Tags

sentence-transformers pytorch tf coreml onnx safetensors openvino bert mteb sentence-similarity Sentence Transformers en model-index text-embeddings-inference

Papers

Licence

Open weights

Open weights under mit — commercial use is permitted. Deploy it on AxForge EU hardware on request. Read the licence ↗

Sources

Weights & code

Want gte-small on EU-owned hardware?

Request this model on EU hardware See what’s served now

Explore

More embedding models

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