SAVRN
Search Contact SAVRN

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 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 Sep 18, 2026.

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

A 131,072-token context is unusual in an embedding model, and it is the reason to look at gte-Qwen2-1.5B-instruct from Alibaba-NLP. Built on the Qwen2-1.5B LLM with bidirectional attention and instruction tuning on the query side only, it runs in sentence-transformers for sentence similarity, which for us means retrieval over long documents. At 16-bit the weights are 3.6 GB and memory needed is 4.3 GB; 8-bit needs 2.1 GB and 4-bit 1.1 GB, on a 192 GB MI300X at $1.85 an hour.

Apache 2.0 permits commercial use, modification and redistribution, requires keeping the license, copyright notices and any NOTICE file, and includes an express patent grant. Read arXiv:2308.03281, and note the publisher says this model shares its training data and strategy with gte-Qwen2-7B-instruct, so the choice is the 1.8 billion parameter footprint. The evaluations on file are publisher-reported MTEB results, including 96.61 percent accuracy 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

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

Model · Sentence similarity

nomic-embed-text-v2-moe

Nomic AI

This model was presented in the paper Training Sparse Mixture Of Experts Text Embedding Models. nomic-embed-text-v2-moe is a SoTA multilingual MoE text embedding model that excels at multilingual retrieval: Transformer-based text embedding models have improved their performance on benchmarks like MIRACL and BEIR by increasing their parameter counts. However, this scaling approach introduces significant deployment challenges, including increased inference latency and memory usage. These challenges are particularly severe in retrieval-augmented generation (RAG) applications, where large models' increased memory requirements constrain dataset ingestion capacity, and their higher latency…

Open weights apache-2.0 475M parameters sentence-transformers

Model · Sentence similarity

LaBSE

Sentence Transformers

This is a port of the LaBSE model to PyTorch. It can be used to map 109 languages to a shared vector space. Using this model becomes easy when you have sentence-transformers installed: Then you can use the model like this: Have a look at LaBSE for the respective publication that describes LaBSE.

Open weights apache-2.0 471M parameters 512 tokens sentence-transformers

Model · Sentence similarity

semantic-lite-2

Zulfah

Semantic-Lite-2 is a lightweight multilingual sentence embedding model that produces 256-dimensional semantic vectors. It is designed for semantic search, sentence similarity, clustering, retrieval, and retrieval-augmented generation (RAG) tasks. The model is built on top of the Spark-X2.5-1.7B backbone using a frozen-backbone plus trainable-projection-head approach. The 256-dimensional output keeps vector storage compact while preserving strong retrieval quality. Vectors are L2-normalized, so cosine similarity is computed as a simple dot product. Evaluated on 500 Indonesian NLI evaluation pairs (retrieval task, chance level 0.2%): Cross-lingual evaluation (10 languages, 20 pairs per…

Open weights apache-2.0 460M parameters 1,048,576 tokens transformers