Model reference · open weights
Giga-Embeddings-0826 is an open-weight embedding model from ai-sage. Giga-Embeddings-instruct-3B-0826 (BF16) weighs 6.3 GB; the smallest configuration that runs it is RTX 3060 12 GB.
Summary of the ai-sage/Giga-Embeddings-instruct-3B-0826 model card, 2026-10-01
What it is
| Released by | ai-sage |
|---|---|
| Released | 2026-07-29 |
| Parameters | 3.2B |
| VRAM | 6.3 GB for the weights |
What it runs on
| Card | Runs | Memory |
|---|---|---|
| RTX 3060 12 GB | fits | 11.6 GB |
| RTX 4060 Ti 16 GB | fits | 15.4 GB |
| RTX 3090 24 GB | fits | 23.4 GB |
| RTX 4090 24 GB | fits | 23.4 GB |
| RTX 5090 32 GB | fits | 31.0 GB |
| L40S 48 GB | fits | 44.0 GB |
| A100 80 GB | fits | 78.2 GB |
| H100 80 GB | fits | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | fits | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | fits | 107 GB |
| H200 141 GB | fits | 138 GB |
| B200 180 GB | fits | 176 GB |
Builds
| Build | Params | Precision | Weights | Smallest setup |
|---|---|---|---|---|
| Giga-Embeddings-instruct-3B-0826 (above) ↗ | 3.2B | BF16 | 6.3 GB | RTX 3060 12 GB |
| Giga-Embeddings-instruct-480M-0826 ↗ | 484M | BF16 | 967 MB | RTX 3060 12 GB |
| Giga-Embeddings-instruct-10B-A1.8B-0826 ↗ | 10.5B | BF16 | 21.0 GB | RTX 4090 24 GB |
From the model card
bfloat16)Следующая итерация серии Giga-Embeddings. Модель текстовых эмбеддингов на основе архитектуры Qwen3, адаптированная под двунаправленное (encoder-style) внимание и обученная с контрастивной функцией потерь (InfoNCE). Модель строит плотные эмбеддинги предложений/абзацев для задач поиска (retrieval), семантического сравнения, классификации и кластеризации, показывая высокое качество на русском и английском языках.
Модель обучалась с mean pooling + L2-нормализацией. Использование CLS/last-token пулинга даст неверные результаты. Если вы используете transformers напрямую, необходимо самостоятельно усреднить (mean-pool) по не-паддинговым токенам и затем применить L2-нормализацию (см. пример ниже). В примерах для sentence-transformers и vLLM это делается автоматически. Сравнивайте эмбеддинги через косинусную близость (скалярное произведение нормированных векторов).
Модель обучалась в инструктивном стиле: для retrieval и других асимметричных задач необходимо добавлять инструкцию к запросу (query), а документы кодируются как есть, без инструкции. Формат:
Instruct: {описание задачи}
Query: {ваш текст}
Для симметричных задач (STS, дедупликация) можно использовать общую инструкцию либо не использовать её вовсе. Инструкцию выбирают под конкретную задачу — единственного «правильного» промпта не существует. Важно отметить, что инструкцию нужно добавлять только перед запросом, а не перед документом.
Для асимметричных задач (retrieval) — да, добавьте к запросу инструкцию из одного предложения, описывающую задачу. Документы кодируются как есть, без инструкции. Для симметричных задач (STS, дедупликация) можно использовать общую инструкцию либо не использовать её вовсе.
Mean pooling (усреднение) по не-паддинговым токенам с последующей L2-нормализацией. Использование CLS/last-token пулинга даст неверные результаты.
Разные версии библиотек transformers и pytorch могут вызывать незначительные, но ненулевые различия в результатах.
bfloat16)The next iteration of the Giga-Embeddings series. A text embedding model based on the Qwen3 architecture, adapted for bidirectional (encoder-style) attention and trained with a contrastive (InfoNCE) objective. It produces dense sentence/passage embeddings for retrieval, semantic similarity, classification and clustering, with strong Russian and English performance.
This model was trained with mean pooling + L2 normalization. Using CLS/last-token pooling will give wrong results. If you use transformers directly, you must mean-pool over non-padding tokens yourself and then L2-normalize (see the example below). The sentence-transformers and vLLM examples do this for you. Compare embeddings with cosine similarity (dot product of normalized vectors).
The model was trained in the instruction style: for retrieval and other asymmetric tasks, prepend a task instruction to the query (documents are embedded raw). The format is:
Instruct: {task description}
Query: {your text}
For symmetric tasks (STS, deduplication) you can either use a generic instruction or none at all. Choose the instruction per task; there is no single "correct" prompt.
For asymmetric tasks (retrieval), yes — prepend a one-sentence task instruction to the query. Documents are embedded raw, without an instruction. For symmetric tasks (STS, deduplication) you can use a generic instruction or none at all.
Mean pooling over non-padding tokens, followed by L2 normalization. Using CLS/last-token pooling will give wrong results.
Different versions of the transformers and pytorch libraries can cause small but non-zero differences in results.
| Benchmark | old 3b | Giga-Embeddings-instruct-3B-0826 | Giga-Embeddings-instruct-10B-A1.8B-0826 |
|---|---|---|---|
| MTEB (rus) | 74.16 | 74.57 | 74.99 |
| MTEB (eng) | 71.07 | 71.93 | 72.23 |
| MTEB (code) | 62.37 | 76.93 | 78.40 |
| MTEB (multilingual) | 55.51 | 63.9 | 65.60 |
| Model / backend | 512 tok | 1024 tok | 2048 tok | throughput vs 10B-A1.8B |
|---|---|---|---|---|
| Giga-Embeddings-instruct-3B-0826 / vLLM | 87.9k/s | 91.5k/s | 90.4k/s | 0.8x |
| Giga-Embeddings-instruct-10B-A1.8B-0826 / vLLM | 112.6k/s | 114.5k/s | 102.3k/s | 1.0x |
| Nemotron 8B / vLLM | 42.6k/s | 43.2k/s | 41.7k/s | 0.38x |
| Qwen3 Embedding 4B / vLLM | 70.1k/s | 73.2k/s | 71.2k/s | 0.64x |
| F2LLM-v2-8B / vLLM | 43.2k/s |
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.