SAVRN
Search Contact SAVRN

Open-weight model · Feature extraction

Qwen3-Embedding-4B-W4A16-G128

by Mou Geren boboliu/Qwen3-Embedding-4B-W4A16-G128

GPTQ Quantized Qwen/Qwen3-Embedding-4B with THUIR/T2Ranking and m-a-p/COIG-CQIA for calibration set. ~0.72% lost in C-MTEB. Evaluation performed with official code.

Parameters4.1B
Context40,960
Weights2.7 GB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads591.4k

Runs On

What it takes to serve Qwen3-Embedding-4B-W4A16-G128 (4.1B 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 8.1 GB 9.7 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 4.1 GB 4.9 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 2.0 GB 2.4 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 Qwen3-Embedding-4B-W4A16-G128

Two relations in the file frame this one: it is a GPTQ quantization of Qwen/Qwen3-Embedding-4B, published by Mou Geren, not Qwen. The calibration set was THUIR/T2Ranking and m-a-p/COIG-CQIA, and the publisher reports about 0.72 percent lost on C-MTEB. The 4-bit row matches the 2.65 GB of safetensors on disk: 2.0 GB of weights and 2.4 GB of working memory. The cheapest Index listing, one MI300X at $1.85 per hour on-demand, leaves nearly the whole card free for the retrieval workload these embeddings feed.

Apache 2.0 permits commercial use, modification and redistribution, with the license and copyright notices kept, significant changes stated, and an express patent grant from contributors. Check that Qwen/Qwen3-Embedding-4B is the model your evaluation ran on, since this derivative was released June 6, 2025; that your documents fit in 40,960 tokens; and that your stack loads it through sentence-transformers.

Model Card

By Mou Geren, published under apache-2.0, revision 9da6cb71a687.

GPTQ Quantized Qwen/Qwen3-Embedding-4B with THUIR/T2Ranking and m-a-p/COIG-CQIA for calibration set. ~0.72% lost in C-MTEB. Evaluation performed with official code. pip install compressed-tensors optimum and auto-gptq / gptqmodel, then goto the official usage guide.

Read Mou Geren's full model card

GPTQ Quantized Qwen/Qwen3-Embedding-4B with THUIR/T2Ranking and m-a-p/COIG-CQIA for calibration set.

What's the benefit?

VRAM Usage: 17430M -> 11000M (w/o FA2).

What's the cost?

~0.72% lost in C-MTEB.

Evaluation performed with official code.

C-MTEB Param. Mean(Task) Mean(Type) Class. Clust. Pair Class. Rerank. Retr. STS
multilingual-e5-large-instruct 0.6B 58.08 58.24 69.80 48.23 64.52 57.45 63.65 45.81
bge-multilingual-gemma2 9B 67.64 68.52 75.31 59.30 86.67 68.28 73.73 55.19
gte-Qwen2-1.5B-instruct 1.5B 67.12 67.79 72.53 54.61 79.5 68.21 71.86 60.05
gte-Qwen2-7B-instruct 7.6B 71.62 72.19 75.77 66.06 81.16 69.24 75.70 65.20
ritrieve_zh_v1 0.3B 72.71 73.85 76.88 66.5 85.98 72.86 76.97 63.92
Qwen3-Embedding-4B 4B 72.27 73.51 75.46 77.89 83.34 66.05 77.03 61.26
This Model 4B-W4A16 71.75 73.05 75.43 77.51 83.04 65.73 76.15 60.47

How to use it?

pip install compressed-tensors optimum and auto-gptq / gptqmodel, then goto the official usage guide.

Configuration

Architecture
Qwen3ForCausalLM
Context length (tokens)
40,960
Layers
36
Hidden size
2,560
Feed-forward size
9,728
Attention heads
32
Key/value heads
8
Head dimension
128
Vocabulary size
151,665
RoPE base
1,000,000
Stored precision
bfloat16
Model type
qwen3
Quantization
compressed-tensors

Identity and Version

Repository
boboliu/Qwen3-Embedding-4B-W4A16-G128
Publisher
Mou Geren
Task
Feature extraction
Modality
Text
Library
sentence-transformers
Parameters
4.1B parameters
Languages
Not stated by the source
Revision
9da6cb71a6870e7400988f01ad95d326e8c98097
First published
2025-06-06
Last updated
2025-06-07

Files and Weights

11 files, 2.7 GB in total. The weights are 1 file totalling 2.7 GB in safetensors.

Weights1 file · 2.7 GB
Configuration3 files · 2.2 KB
Tokenizer4 files · 15.9 MB
Documentation2 files · 2.7 KB
Repository1 file · 1.6 KB
Every file
FileTypeSizeSHA-256
model.safetensorsWeights2.7 GB c78ee786595f
config.jsonConfiguration1.5 KB
generation_config.jsonConfiguration117 B
special_tokens_map.jsonConfiguration613 B
.ipynb_checkpoints/README-checkpoint.mdDocumentation802 B
README.mdDocumentation1.9 KB
.gitattributesRepository1.6 KB
merges.txtTokenizer1.7 MB
tokenizer.jsonTokenizer11.4 MB dbc7d8c84cd6
tokenizer_config.jsonTokenizer4.7 KB
vocab.jsonTokenizer2.8 MB

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
2.7 GB
Download from Mou Geren

Released by Mou Geren through its official repository on Hugging Face. Read the license.

Built From

Memory Requirements

PrecisionWeights in memory
As published2.7 GB
16-bit8.1 GB
8-bit4.1 GB
4-bit2.0 GB

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

Compare Qwen3-Embedding-4B-W4A16-G128

Questions About Qwen3-Embedding-4B-W4A16-G128

How much GPU memory does Qwen3-Embedding-4B-W4A16-G128 need?

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

What is the cheapest GPU to run Qwen3-Embedding-4B-W4A16-G128 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 Qwen3-Embedding-4B-W4A16-G128 commercially?

Yes. Qwen3-Embedding-4B-W4A16-G128 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 Qwen3-Embedding-4B-W4A16-G128's context length?

40,960 tokens, from the maximum position embeddings in its published configuration.

Similar Models

Model · Feature extraction

Qwen3-Embedding-4B

Qwen

The Qwen3 Embedding model series is the latest proprietary model of the Qwen family, specifically designed for text embedding and ranking tasks. Building upon the dense foundational models of the Qwen3 series, it provides a comprehensive range of text embeddings and reranking models in various sizes (0.6B, 4B, and 8B). This series inherits the exceptional multilingual capabilities, long-text understanding, and reasoning skills of its foundational model. The Qwen3 Embedding series represents significant advancements in multiple text embedding and ranking tasks, including text retrieval, code retrieval, text classification, text clustering, and bitext mining. Exceptional Versatility: The…

Open weights apache-2.0 4B parameters 40,960 tokens sentence-transformers

Model · Feature extraction

tiny-audio-granite-qwen

Alex Kroman

This is the model card of a transformers model that has been pushed on the Hub. Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. Use the code below to get started with the model. Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).

Open weights 1.9B parameters transformers

Model · Feature extraction

Vela-1.0-Omni-Mini

vLLM Semantic Router

Vela Omni Mini maps text, images, and speech into a shared embedding space for multimodal search, routing, and use a 0–100 scale; higher is better. All applicable models use the same examples and retrieval pools. N/A denotes a modality the text-only model does not support. Bold Vela scores improve on multi-modal-embed-large. Macro-F1 gives equal weight to every intent class (77 for Banking77 and 60 for MASSIVE), complementing the query-weighted accuracy; undefined class F1 is zero. Text evaluation uses fixed class prototypes: 3,080 Banking77 and 2,972 MASSIVE English queries. Vela Omni is adapted using training examples and intent labels from these two datasets; comparison models are…

Open weights apache-2.0 1B parameters pytorch

Model · Feature extraction

e5-mistral-7b-instruct-bnb-4bit

Gábor Hosu

This model is a quantized version of the original model intfloat/e5-mistral-7b-instruct. It's quantized using the BitsAndBytes library to 4-bit using the bnb-my-repo space. - bnb4bitquanttype: nf4 - bnb4bitusedoublequant: True - bnb4bitcomputedtype: bfloat16 - bnb4bitquantstorage: uint8 Improving Text Embeddings with Large Language Models. Liang Wang, Nan Yang, Xiaolong Huang, Linjun Yang, Rangan Majumder, Furu Wei, arXiv 2024 This model has 32 layers and the embedding size is 4096. Below is an example to encode queries and passages from the MS-MARCO passage ranking dataset. Have a look at configsentencetransformers.json for the prompts that are pre-configured, such as websearchquery…

Open weights mit 7.3B parameters 32,768 tokens sentence-transformers

Model · Feature extraction

Qwen3-Embedding-0.6B

Qwen

The Qwen3 Embedding model series is the latest proprietary model of the Qwen family, specifically designed for text embedding and ranking tasks. Building upon the dense foundational models of the Qwen3 series, it provides a comprehensive range of text embeddings and reranking models in various sizes (0.6B, 4B, and 8B). This series inherits the exceptional multilingual capabilities, long-text understanding, and reasoning skills of its foundational model. The Qwen3 Embedding series represents significant advancements in multiple text embedding and ranking tasks, including text retrieval, code retrieval, text classification, text clustering, and bitext mining. Exceptional Versatility: The…

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

Model · Feature extraction

w2v-bert-2.0

AI at Meta

We are open-sourcing our Conformer-based W2v-BERT 2.0 speech encoder as described in Section 3.2.1 of the paper, which is at the core of our Seamless models. This model was pre-trained on 4.5M hours of unlabeled audio data covering more than 143 languages. It requires finetuning to be used for downstream tasks such as Automatic Speech Recognition (ASR), or Audio Classification. This model and its training are supported by Transformers, more on it in the docs. This is a bare checkpoint without any modeling head, and thus requires finetuning to be used for downstream tasks such as ASR. You can however use it to extract audio embeddings from the top layer with this code snippet: To learn more…

Open weights mit 580M parameters transformers