Mindket

Qwen3-Embedding-4B

Newversion 1 · updated

Overview

Turns text and code in over 100 languages into vectors for search, retrieval, classification and clustering, with adjustable vector size and task instructions, for developers building search and RAG systems.

Qwen3-Embedding-4B is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • Python with pip, on Windows, macOS or Linux
  • sentence-transformers
  • transformers 4.51.0 or newer
  • About 8 GB of space for BF16 weights
Runs in
  • Python with the sentence-transformers library, which Hugging Face lists
  • Search and retrieval pipelines that store vectors
  • Windows, macOS or Linux with Python, to download the files
Start with
pip install -U huggingface_hub
hf download Qwen/Qwen3-Embedding-4B

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

About

What it is

Qwen3-Embedding-4B turns text into vectors, so you can compare meaning by comparing numbers. It has 4B parameters, reads up to 32k tokens and supports over 100 languages, including programming languages. It belongs to the Qwen3 Embedding series, which also has reranking models. The vector size can be set anywhere from 32 to 2560.

Who it suits

Developers who build search, retrieval or recommendation features will get the most from it, as will teams who sort or group large piles of text. It suits multilingual work well.

IndustryWho uses itHow they use itExample
SoftwareSearch engineersEmbed documents and queries, then rank by closenessSemantic search over a knowledge base
SupportSupport teamsMatch a new question to past answersSuggesting related help articles
Data teamsAnalystsGroup similar texts into clustersSorting survey comments by theme
Code toolsDeveloper-tool buildersRetrieve code snippets from a plain-language queryFinding a function by describing it

If you need a model that writes text, you can skip it, since this one only produces vectors.

Where to use it

  • Python with the sentence-transformers library, which Hugging Face lists
  • Search and retrieval pipelines that store vectors
  • Windows, macOS or Linux with Python, to download the files
Use caseWhoWhat they get back
Text retrievalSearch engineersA vector for each query and document
Text classificationML engineersVectors to feed a classifier
ClusteringAnalystsVectors that group similar texts
Bitext miningTranslation teamsVectors to pair matching sentences across languages

How to set it up

You need Python with pip and transformers 4.51.0 or newer. Older versions stop with a KeyError for qwen3. The weights are about 8 GB in BF16.

  • Python with pip, on Windows, macOS or Linux
  • sentence-transformers
  • transformers 4.51.0 or newer
  • About 8 GB of space for BF16 weights
  1. Install the Hugging Face hub package.
  2. Download the model files.
  3. Load the model with sentence-transformers.
pip install -U huggingface_hub
hf download Qwen/Qwen3-Embedding-4B

How to use it

Pass your texts to the model through sentence-transformers and it returns one vector for each. You can choose a smaller vector size, and you can add an instruction that describes your task. The source shows no code, so follow the model page for the exact call.

ToolWhat it does
sentence-transformersThe library that loads the model and makes the vectors
Custom dimensionsSets the output vector size from 32 up to 2560
InstructionsAdds task text to the input, which the card says helps by 1 to 5 percent

Example

You embed the question "How do I reset my password" together with a set of help articles. You rank the articles by how close their vectors are to the question and show the top few.

For newcomers and experts

An embedding is a list of numbers that stands for the meaning of a text, so similar texts get similar lists. A good first step is to embed two short sentences and compare them.

The model is built on Qwen3-4B-Base with 36 layers and a 32K sequence length. Its dimension can be shrunk, which the card calls MRL support. It is instruction aware, and the card advises writing instructions in English even for other languages. It pairs with the series rerankers, which can reorder the top results.

  1. You pass in text, plus an optional task instruction
  2. The model reads it with its 36 layers
  3. It returns one vector, up to 2560 dimensions
  4. You compare vectors to rank or group texts
Embedding dimension by model size
0.6B model1024 dimensions
4B model2560 dimensions
8B model4096 dimensions

Good to know

  • License: apache-2.0, as listed on Hugging Face
  • Cost to run: none named
  • Data it reaches: the text you pass in, and the source names no web or account access
  • Supports over 100 languages, including programming languages
  • Not for: text generation, because it only produces vectors
  • Needs transformers 4.51.0 or newer

README and files

README

Qwen3-Embedding-4B

Turns text and code in over 100 languages into vectors for search, retrieval, classification and clustering, with adjustable vector size and task instructions, for developers building search and RAG systems.

Made by Qwen on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.

About

What it is: Qwen3-Embedding-4B turns text into vectors, so you can compare meaning by comparing numbers. It has 4B parameters, reads up to 32k tokens and supports over 100 languages, including programming languages. It belongs to the Qwen3 Embedding series, which also has reranking models. The vector size can be set anywhere from 32 to 2560.

Who it suits: Developers who build search, retrieval or recommendation features will get the most from it, as will teams who sort or group large piles of text. It suits multilingual work well.

Industry | Who uses it | How they use it | Example
Software | Search engineers | Embed documents and queries, then rank by closeness | Semantic search over a knowledge base
Support | Support teams | Match a new question to past answers | Suggesting related help articles
Data teams | Analysts | Group similar texts into clusters | Sorting survey comments by theme
Code tools | Developer-tool builders | Retrieve code snippets from a plain-language query | Finding a function by describing it

If you need a model that writes text, you can skip it, since this one only produces vectors.

Where to use it:

  • Python with the sentence-transformers library, which Hugging Face lists
  • Search and retrieval pipelines that store vectors
  • Windows, macOS or Linux with Python, to download the files
Use case | Who | What they get back
Text retrieval | Search engineers | A vector for each query and document
Text classification | ML engineers | Vectors to feed a classifier
Clustering | Analysts | Vectors that group similar texts
Bitext mining | Translation teams | Vectors to pair matching sentences across languages

How to set it up: You need Python with pip and transformers 4.51.0 or newer. Older versions stop with a KeyError for qwen3. The weights are about 8 GB in BF16.

  • Python with pip, on Windows, macOS or Linux
  • sentence-transformers
  • transformers 4.51.0 or newer
  • About 8 GB of space for BF16 weights
  1. Install the Hugging Face hub package.
  2. Download the model files.
  3. Load the model with sentence-transformers.
pip install -U huggingface_hub
hf download Qwen/Qwen3-Embedding-4B

How to use it: Pass your texts to the model through sentence-transformers and it returns one vector for each. You can choose a smaller vector size, and you can add an instruction that describes your task. The source shows no code, so follow the model page for the exact call.

Tool | What it does
sentence-transformers | The library that loads the model and makes the vectors
Custom dimensions | Sets the output vector size from 32 up to 2560
Instructions | Adds task text to the input, which the card says helps by 1 to 5 percent

Example: You embed the question "How do I reset my password" together with a set of help articles. You rank the articles by how close their vectors are to the question and show the top few.

For newcomers and experts: An embedding is a list of numbers that stands for the meaning of a text, so similar texts get similar lists. A good first step is to embed two short sentences and compare them.

The model is built on Qwen3-4B-Base with 36 layers and a 32K sequence length. Its dimension can be shrunk, which the card calls MRL support. It is instruction aware, and the card advises writing instructions in English even for other languages. It pairs with the series rerankers, which can reorder the top results.

You pass in text, plus an optional task instruction
The model reads it with its 36 layers
It returns one vector, up to 2560 dimensions
You compare vectors to rank or group texts
Title: Embedding dimension by model size
0.6B model: 1024 dimensions
4B model: 2560 dimensions
8B model: 4096 dimensions

Good to know:

  • License: apache-2.0, as listed on Hugging Face
  • Cost to run: none named
  • Data it reaches: the text you pass in, and the source names no web or account access
  • Supports over 100 languages, including programming languages
  • Not for: text generation, because it only produces vectors
  • Needs transformers 4.51.0 or newer

On Hugging Face, 13 November 2026

  • Task: feature extraction
  • Library: sentence-transformers
  • Parameters: 4B
  • Weights: about 8 GB in BF16; about 2 GB at 4-bit (estimate)
  • Formats: Safetensors
  • Downloads in the last 30 days: 2,426,700
  • Likes: 351
  • License: apache-2.0
  • Based on: Qwen/Qwen3-4B-Base
  • Quantized versions: 53
  • Fine-tunes: 77
  • Tags: sentence-transformers, safetensors, qwen3, text-generation, transformers, sentence-similarity, feature-extraction, text-embeddings-inference

Links

Get the model

Download its files with Hugging Face's command line:

pip install -U huggingface_hub
hf download Qwen/Qwen3-Embedding-4B

Then follow the usage in its model card. Nothing in this kit runs by itself.

Files
README.md  5 KB

1 file, 5 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-12

Compare with similar

Listed Hugging Face models in the same category that share the most tags with this one.

ProductDownloads, last 30 daysLikesParametersLicenseLast change
Qwen3-Embedding-4B This page2,426,7003514Bapache-2.0
Qwen3-Embedding-0.6BShares sentence-similarity · text-embeddings-inference · sentence-transformers8,761,0911,346596Mapache-2.0
Qwen3-Embedding-8BShares sentence-similarity · text-embeddings-inference · sentence-transformers2,358,9288587.6Bapache-2.0
Yalda EmbeddingShares sentence-similarity · sentence-transformers · qwen32045596Mapache-2.0
voyage-4-nanoShares text-embeddings-inference · sentence-transformers · qwen390,118152346Mapache-2.0
all-MiniLM-L6-v2Shares sentence-similarity · text-embeddings-inference · sentence-transformers174,740,1846,10422.7Mapache-2.0
Numbers as Mindket last read them, from 2026-11-12 to 2026-11-13.

Reviews

No ratings yet

Write a review

No reviews yet.

What people say

Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.

Searched

More from Mindket

See all from Mindket

Huashu Design

alchaincyf · Skill

Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…

New29.4k

Guizang PPT Skill

op7418 · Skill

Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…

New29.8k

Claude Code Skills & Plugins

alirezarezvani · Skill

Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…

New29.8k

Similar in Developer

See all in Developer

buzz

block · Kit

Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…

New37.3k

plannotator

backnotprop · Kit

Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.

New10.5k

open-code-review

alibaba · Kit

Reviews Git changes with an AI agent that reads files and searches the codebase, then writes comments tied to exact lines. It suits developers who want automat…

New50.7k