Skip to page content
SAVRN
Search Plan a project

Open-weight model · Sentence similarity

gte-Qwen2-1.5B-instruct

by Alibaba-NLP Alibaba-NLP/gte-Qwen2-1.5B-instruct

gte-Qwen2-1.5B-instruct is an open-weight model for sentence similarity from Alibaba-NLP, released under Apache License 2.0. It has 1.8B parameters and a 131,072-token context. At 16-bit it needs about 4.3 GB of GPU memory, which fits on 1x MI300X from $1.85 an hour, at the lowest prices in the SAVRN Index. It draws 674.9k downloads a month.

gte-Qwen2-1.5B-instruct is the latest model in the gte (General Text Embedding) model family. The model is built on Qwen2-1.5B LLM model and use the same training data and strategies as the gte-Qwen2-7B-instruct model.

Parameters1.8B
Context131,072
Weights7.1 GB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads674.9k

Runs On

What it takes to serve gte-Qwen2-1.5B-instruct (1.8B parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 3.6 GB 4.3 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 1.8 GB 2.1 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 0.9 GB 1.1 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Oct 16, 2026.

gte-Qwen2-1.5B-instruct on every accelerator the SAVRN Index prices, at every precision

SAVRN's Notes on gte-Qwen2-1.5B-instruct

The reason to look at this embedding model over smaller ones is the context line: 131,072 tokens, unusual for sentence similarity. At 16-bit the run needs 4.3 GB of memory against 3.6 GB of weights; 8-bit needs 2.1 GB and 4-bit 1.1 GB. The cheapest setup on our board is one 192 GB MI300X at $1.85 an hour on demand, so the card is never the constraint. What fills it is sequence length: long documents mean long activations, and the runtime margin assumes a short context.

The publisher built it on Qwen2-1.5B with bidirectional attention and instruction tuning on the query side only, and says it shares training data and strategy with gte-Qwen2-7B-instruct, so you are choosing footprint, not recipe: 1.8B parameters and 674.9k downloads a month against the bigger sibling. Apache 2.0 covers commercial use with an express patent grant, provided the notices travel. Mind the storage gap: the Weights line lists 7.1 GB because weights are stored in float32. The evaluations on file are publisher-reported MTEB numbers, including 96.61 percent on AmazonPolarityClassification.

Model Card

By Alibaba-NLP, published under apache-2.0, revision a9af15a6372d.

gte-Qwen2-1.5B-instruct is the latest model in the gte (General Text Embedding) model family. The model is built on Qwen2-1.5B LLM model and use the same training data and strategies as the gte-Qwen2-7B-instruct model.

The model incorporates several key advancements:

  • Integration of bidirectional attention mechanisms, enriching its contextual understanding.
  • Instruction tuning, applied solely on the query side for streamlined efficiency
  • Comprehensive training across a vast, multilingual text corpus spanning diverse domains and scenarios. This training leverages both weakly supervised and supervised data, ensuring the model's applicability across numerous languages and a wide array of downstream tasks.

Model Information

  • Model Size: 1.5B
  • Embedding Dimension: 1536
  • Max Input Tokens: 32k

Requirements

transformers>=4.39.2
flash_attn>=2.5.6

Usage

Sentence Transformers

Read the full model card (990 words)

Configuration

Architecture
Qwen2ForCausalLM
Context length (tokens)
131,072
Layers
28
Hidden size
1,536
Feed-forward size
8,960
Attention heads
12
Key/value heads
2
Vocabulary size
151,646
Sliding window (tokens)
131,072
RoPE base
1e+06
Stored precision
float32
Model type
qwen2

Identity and Version

Repository
Alibaba-NLP/gte-Qwen2-1.5B-instruct
Publisher
Alibaba-NLP
Task
Sentence similarity
Modality
Text
Library
sentence-transformers
Parameters
1.8B parameters
Languages
Not stated by the source
Revision
a9af15a6372d7d6b25e9fb07c2ccb9e1fe645644
First published
2024-06-29
Last updated
2025-05-28

Files and Weights

20 files, 7.1 GB in total. The weights are 2 files totalling 7.1 GB in safetensors.

Weights2 files · 7.1 GB
Configuration12 files · 142.7 KB
Tokenizer4 files · 11.5 MB
Documentation1 file · 146.3 KB
Repository1 file · 1.5 KB
Every file
FileTypeSizeSHA-256
model-00001-of-00002.safetensorsWeights5.0 GB 0842014813f9
model-00002-of-00002.safetensorsWeights2.1 GB 661830fd8d04
1_Pooling/config.jsonConfiguration297 B —
added_tokens.jsonConfiguration80 B —
config.jsonConfiguration901 B —
config_sentence_transformers.jsonConfiguration284 B —
generation_config.jsonConfiguration117 B —
model.safetensors.index.jsonConfiguration27.8 KB —
modeling_qwen.pyConfiguration65.2 KB —
modules.jsonConfiguration349 B —
scripts/eval_mteb.pyConfiguration36.4 KB —
sentence_bert_config.jsonConfiguration55 B —
special_tokens_map.jsonConfiguration370 B —
tokenization_qwen.pyConfiguration10.8 KB —
README.mdDocumentation146.3 KB —
.gitattributesRepository1.5 KB —
merges.txtTokenizer1.7 MB —
tokenizer.jsonTokenizer7.0 MB —
tokenizer_config.jsonTokenizer1.3 KB —
vocab.jsonTokenizer2.8 MB —

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
7.1 GB
Download from Alibaba-NLP

Released by Alibaba-NLP through its official repository on Hugging Face. Read the license.

Built From

Evaluations

Each result is shown as reported, with the conditions its reporter stated. None is a SAVRN measurement. A comparison lines two results up only when their configuration, unit and setup are all stated and identical.

BenchmarkConditionsResultReported byRevisionDate
MTEB AmazonCounterfactualClassification (en) Configuration enTask ClassificationMetric accuracyComparison conditions not established 83.9851 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB AmazonCounterfactualClassification (en) Configuration enTask ClassificationMetric apComparison conditions not established 50.9302 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB AmazonCounterfactualClassification (en) Configuration enTask ClassificationMetric f1Comparison conditions not established 78.5042 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB AmazonPolarityClassification Configuration defaultTask ClassificationMetric accuracyComparison conditions not established 96.6107 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB AmazonPolarityClassification Configuration defaultTask ClassificationMetric apComparison conditions not established 94.8917 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB AmazonPolarityClassification Configuration defaultTask ClassificationMetric f1Comparison conditions not established 96.6094 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB AmazonReviewsClassification (en) Configuration enTask ClassificationMetric accuracyComparison conditions not established 55.614 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB AmazonReviewsClassification (en) Configuration enTask ClassificationMetric f1Comparison conditions not established 54.9055 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB ArguAna Configuration defaultTask RetrievalMetric map_at_1Comparison conditions not established 45.164 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB ArguAna Configuration defaultTask RetrievalMetric map_at_10Comparison conditions not established 61.519 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB ArguAna Configuration defaultTask RetrievalMetric map_at_100Comparison conditions not established 61.769 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB ArguAna Configuration defaultTask RetrievalMetric map_at_1000Comparison conditions not established 61.769 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB ArguAna Configuration defaultTask RetrievalMetric map_at_3Comparison conditions not established 57.444 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB ArguAna Configuration defaultTask RetrievalMetric map_at_5Comparison conditions not established 60.058 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB ArguAna Configuration defaultTask RetrievalMetric mrr_at_1Comparison conditions not established 46.088 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB ArguAna Configuration defaultTask RetrievalMetric mrr_at_10Comparison conditions not established 61.861 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB ArguAna Configuration defaultTask RetrievalMetric mrr_at_100Comparison conditions not established 62.118 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB ArguAna Configuration defaultTask RetrievalMetric mrr_at_1000Comparison conditions not established 62.118 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB ArguAna Configuration defaultTask RetrievalMetric mrr_at_3Comparison conditions not established 57.729 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB ArguAna Configuration defaultTask RetrievalMetric mrr_at_5Comparison conditions not established 60.392 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB ArguAna Configuration defaultTask RetrievalMetric ndcg_at_1Comparison conditions not established 45.164 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB ArguAna Configuration defaultTask RetrievalMetric ndcg_at_10Comparison conditions not established 69.72 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB ArguAna Configuration defaultTask RetrievalMetric ndcg_at_100Comparison conditions not established 70.719 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB ArguAna Configuration defaultTask RetrievalMetric ndcg_at_1000Comparison conditions not established 70.719 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB ArguAna Configuration defaultTask RetrievalMetric ndcg_at_3Comparison conditions not established 61.518 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB ArguAna Configuration defaultTask RetrievalMetric ndcg_at_5Comparison conditions not established 66.247 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB ArguAna Configuration defaultTask RetrievalMetric precision_at_1Comparison conditions not established 45.164 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB ArguAna Configuration defaultTask RetrievalMetric precision_at_10Comparison conditions not established 9.545 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB ArguAna Configuration defaultTask RetrievalMetric precision_at_100Comparison conditions not established 0.996 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB ArguAna Configuration defaultTask RetrievalMetric precision_at_1000Comparison conditions not established 0.1 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB ArguAna Configuration defaultTask RetrievalMetric precision_at_3Comparison conditions not established 24.443 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB ArguAna Configuration defaultTask RetrievalMetric precision_at_5Comparison conditions not established 16.97 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB ArguAna Configuration defaultTask RetrievalMetric recall_at_1Comparison conditions not established 45.164 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB ArguAna Configuration defaultTask RetrievalMetric recall_at_10Comparison conditions not established 95.448 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB ArguAna Configuration defaultTask RetrievalMetric recall_at_100Comparison conditions not established 99.644 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB ArguAna Configuration defaultTask RetrievalMetric recall_at_1000Comparison conditions not established 99.644 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB ArguAna Configuration defaultTask RetrievalMetric recall_at_3Comparison conditions not established 73.329 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB ArguAna Configuration defaultTask RetrievalMetric recall_at_5Comparison conditions not established 84.851 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB ArxivClusteringP2P Configuration defaultTask ClusteringMetric v_measureComparison conditions not established 50.5119 Alibaba-NLP
Publisher reported
Evaluated revision not stated —
MTEB ArxivClusteringS2S Configuration defaultTask ClusteringMetric v_measureComparison conditions not established 45.0078 Alibaba-NLP
Publisher reported
Evaluated revision not stated —

Memory Requirements

PrecisionWeights in memory
As published7.1 GB
16-bit3.6 GB
8-bit1.8 GB
4-bit0.9 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About gte-Qwen2-1.5B-instruct

How much GPU memory does gte-Qwen2-1.5B-instruct need?

About 4.3 GB at 16-bit and 1.1 GB at 4-bit: the weights (1.8B parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run gte-Qwen2-1.5B-instruct on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use gte-Qwen2-1.5B-instruct commercially?

Yes. gte-Qwen2-1.5B-instruct is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

What is gte-Qwen2-1.5B-instruct's context length?

131,072 tokens, from the maximum position embeddings in its published configuration.

Similar Models

Model · Sentence similarity

Qwen3-VL-Embedding-2B

Qwen

The Qwen3-VL-Embedding and Qwen3-VL-Reranker model series are the latest additions to the Qwen family, built upon the recently open-sourced and powerful Qwen3-VL foundation model. Specifically designed for multimodal information retrieval and cross-modal understanding, this suite accepts diverse inputs including text, images, screenshots, and videos, as well as inputs containing a mixture of these modalities. While the Embedding model generates high-dimensional vectors for broad applications like retrieval and clustering, the Reranker model is engineered to refine these results, establishing a comprehensive pipeline for state-of-the-art multimodal search. Qwen3-VL-Embedding-2B has the…

Open weights apache-2.0 2.1B parameters 262,144 tokens sentence-transformers

Model · Sentence similarity

Nemotron-3-Embed-1B-BF16

NVIDIA

NVIDIA Nemotron 3 Embed Nemotron-3-Embed-1B-BF16 is a versatile text embedding model trained by NVIDIA and optimized for retrieval and semantic similarity tasks. It provides strong multilingual and cross-lingual retrieval capabilities and is designed to serve as a foundational component in text-based Retrieval-Augmented Generation (RAG) systems. This model was evaluated across 34 languages: English, Arabic, Assamese, Bengali, Bulgarian, Chinese, Danish, Dutch, Finnish, French, German, Hindi, Hinglish, Indonesian, Italian, Japanese, Korean, Malay, Marathi, Nepali, Norwegian, Persian, Portuguese, Romanian, Russian, Spanish, Swahili, Swedish, Tamil, Telugu, Thai, Ukrainian, Urdu, Vietnamese.…

Open weights other 1.1B parameters 262,144 tokens sentence-transformers

AXQuant CUDA NVFP4 W4A4 mixed precision development preview. Converted from the original upstream BF16 source, without AWQ. Native E2M1 FP4 weights and inputs use per-16 E4M3FN scales and FP32 global scales. This is a retrieval embedding checkpoint, with no MTP or generative claim. Eligible attention and MLP matrices use NVFP4 W4A4. Embeddings and norms retain original BF16. Saved query: / passage: prefixes, bidirectional attention, mean pooling and L2 normalization. The native vLLM Ministral alias retains iscausal=false and every actual attention layer is verified as encoder-only. Factory conversion uses AXQuant's NumPy reference RTN encoder, independently checked against preserved BF16…

Open weights other 1.1B parameters 262,144 tokens vllm

Model · Sentence similarity

embeddingmagibu2-a100

Ali Bayram

embeddingmagibu2 is a Turkish-focused multilingual embedding model built from google/embeddinggemma-2 and the Turkish-optimized magibu/Altus tokenizer. Offline distillation from google/embeddinggemma-2 is in progress; this table is updated automatically at every release. Latest release: phase5-train-new-done. Phases: test/new → test/full → validation/new → validation/full → train/new → train/full (new: only the new Turkish token embeddings train; full: all embeddings + text backbone at a low learning rate). Metrics on 2,048 held-out validation rows: cosine to the teacher's document embeddings for Turkish and for the other languages, their mean (score), and STSbTR test Spearman. It follows…

Access requested at publisher apache-2.0 744M parameters sentence-transformers

AXQuant CUDA NVFP4 W4A4 mixed precision development preview. Converted from the original upstream BF16 source, without AWQ. Native E2M1 FP4 weights and inputs use per-16 E4M3FN scales and FP32 global scales. This is a retrieval embedding checkpoint, with no MTP or generative claim. All attention projections and the first/last two MLP blocks retain original BF16. Remaining MLP matrices use NVFP4 W4A4. Saved query instruction, last-token pooling, exactly one (151643), and L2 normalization. The chat (151645) is not appended. Factory conversion uses AXQuant's NumPy reference RTN encoder, independently checked against preserved BF16 source tensors. Source and pooling assets, calibration and…

Open weights apache-2.0 596M parameters 32,768 tokens vllm

Model · Sentence similarity

snowflake-arctic-embed-l-v2.0

Snowflake

12/11/2024: Release of Technical Report - 12/04/2024: Release of snowflake-arctic-embed-l-v2.0 and snowflake-arctic-embed-m-v2.0 our newest models with multilingual workloads in mind. Snowflake arctic-embed-l-v2.0 is the newest addition to the suite of embedding models Snowflake has released optimizing for retrieval performance and inference efficiency. Arctic Embed 2.0 introduces a new standard for multilingual embedding models, combining high-quality multilingual text retrieval without sacrificing performance in English. Released under the permissive Apache 2.0 license, Arctic Embed 2.0 is ideal for applications that demand reliable, enterprise-grade multilingual search and retrieval at…

Open weights apache-2.0 568M parameters 8,194 tokens sentence-transformers