ai-babai commited on
Commit
8300cc3
·
verified ·
1 Parent(s): 33b2ff4

Polish model card and add quantization chooser

Browse files
.gitattributes CHANGED
@@ -37,3 +37,4 @@ giga-embeddings-0826-3b-bf16.gguf filter=lfs diff=lfs merge=lfs -text
37
  giga-embeddings-0826-3b-q4_k_m.gguf filter=lfs diff=lfs merge=lfs -text
38
  giga-embeddings-0826-3b-q6_k.gguf filter=lfs diff=lfs merge=lfs -text
39
  giga-embeddings-0826-3b-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
 
 
37
  giga-embeddings-0826-3b-q4_k_m.gguf filter=lfs diff=lfs merge=lfs -text
38
  giga-embeddings-0826-3b-q6_k.gguf filter=lfs diff=lfs merge=lfs -text
39
  giga-embeddings-0826-3b-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
40
+ assets/giga-embeddings-0826-gguf-choice.png filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -46,19 +46,22 @@ included for research, but is not a better default than Q8_0 or Q4_K_M.
46
  This is an independent `ai-babai` GGUF conversion, not an official `ai-sage`
47
  release.
48
 
 
 
49
  ## Choose a file
50
 
51
- | Variant | Best for | Download | Saving vs BF16 | Measured Metal allocation | RTX PRO 4500 peak VRAM |
52
  |---|---|---:|---:|---:|---:|
53
- | **Q8_0** | **recommended default** | **3.354 GB** | **46.8%** | **4,810 MiB** | **5,128 MiB** |
54
- | **Q4_K_M** | **lightweight / experimental** | **1.961 GB** | **68.9%** | **3,482 MiB** | **3,802 MiB** |
55
- | BF16 | high-precision reference | 6.308 GB | — | 7,627 MiB | not measured |
56
- | Q6_K | research / owner review | 2.591 GB | 58.9% | 4,083 MiB | 4,402 MiB |
57
 
58
  Apple Silicon uses unified memory. Metal allocation and process RSS are
59
  different views of the same shared memory and must not be added together. Peak
60
- process RSS in the same Mac runs was 7,827 / 4,955 / 4,245 / 3,658 MiB for
61
- BF16 / Q8_0 / Q6_K / Q4_K_M.
 
62
 
63
  ## Quick start
64
 
@@ -129,21 +132,23 @@ leaderboard submission, or a cross-model comparison.
129
  | Q4_K_M | 0.778297 | 0.769349 | 0.888652 | −0.0461 points |
130
 
131
  ¹The small positive aggregate difference is not evidence that Q6_K improves the
132
- model. Q6_K failed a separate frozen representation gate on one reproducible
133
- long-code sample.
134
 
135
  The stricter frozen multilingual/code holdout compared each quantized GGUF with
136
  the BF16 GGUF:
137
 
138
- | Variant | Min / mean vector cosine | Top-1 agreement | Mean top-10 overlap | Gate |
139
- |---|---:|---:|---:|---|
140
- | Q8_0 | 0.993540 / 0.999734 | 100.00% | 99.06% | PASS |
141
- | Q6_K | 0.974783 / 0.997845 | 99.61% | 97.07% | FAIL: one long-code outlier |
142
- | Q4_K_M | 0.950085 / 0.982052 | 96.88% | 91.37% | FAIL: representation/ranking |
143
 
144
  These agreement numbers measure preservation versus our BF16 GGUF, not absolute
145
- retrieval accuracy. They are why Q4_K_M is labeled experimental even though its
146
- full RuBQ+SciFact NDCG loss was small.
 
 
147
 
148
  ## Measured speed
149
 
 
46
  This is an independent `ai-babai` GGUF conversion, not an official `ai-sage`
47
  release.
48
 
49
+ ![GGUF quantization chooser comparing file size, memory, speed, and quality](assets/giga-embeddings-0826-gguf-choice.png)
50
+
51
  ## Choose a file
52
 
53
+ | Variant | Best for | File size | Saving vs BF16 | Metal memory | CUDA peak VRAM |
54
  |---|---|---:|---:|---:|---:|
55
+ | **Q8_0** | **recommended default** | **3.35 GB** | **46.8%** | **5.04 GB** | **5.38 GB** |
56
+ | **Q4_K_M** | **lightweight / experimental** | **1.96 GB** | **68.9%** | **3.65 GB** | **3.99 GB** |
57
+ | BF16 | high-precision reference | 6.31 GB | — | 8.00 GB | not measured |
58
+ | Q6_K | research / owner review | 2.59 GB | 58.9% | 4.28 GB | 4.62 GB |
59
 
60
  Apple Silicon uses unified memory. Metal allocation and process RSS are
61
  different views of the same shared memory and must not be added together. Peak
62
+ process RSS in the same Mac runs was 8.21 / 5.20 / 4.45 / 3.84 GB for BF16 /
63
+ Q8_0 / Q6_K / Q4_K_M. All capacities in this section use decimal GB
64
+ (`1 GB = 10^9 bytes`); measured MiB values were converted to GB.
65
 
66
  ## Quick start
67
 
 
132
  | Q4_K_M | 0.778297 | 0.769349 | 0.888652 | −0.0461 points |
133
 
134
  ¹The small positive aggregate difference is not evidence that Q6_K improves the
135
+ model. A separate frozen representation comparison found one reproducible
136
+ long-code outlier for Q6_K.
137
 
138
  The stricter frozen multilingual/code holdout compared each quantized GGUF with
139
  the BF16 GGUF:
140
 
141
+ | Variant | Min / mean vector cosine | Top-1 agreement | Mean top-10 overlap |
142
+ |---|---:|---:|---:|
143
+ | Q8_0 | 0.993540 / 0.999734 | 100.00% | 99.06% |
144
+ | Q6_K | 0.974783 / 0.997845 | 99.61% | 97.07% |
145
+ | Q4_K_M | 0.950085 / 0.982052 | 96.88% | 91.37% |
146
 
147
  These agreement numbers measure preservation versus our BF16 GGUF, not absolute
148
+ retrieval accuracy. All four files passed functional runtime validation. The
149
+ larger representation drift is why Q4_K_M is labeled experimental even though
150
+ its full RuBQ+SciFact NDCG loss was small; Q6_K's lower minimum comes from one
151
+ reproducible long-code sample.
152
 
153
  ## Measured speed
154
 
README.ru.md CHANGED
@@ -16,18 +16,22 @@ Giga Embeddings 3B 0826 для stock `llama.cpp`.
16
 
17
  Это независимая GGUF-конверсия `ai-babai`, а не официальный релиз `ai-sage`.
18
 
 
 
19
  ## Какой файл выбрать
20
 
21
- | Вариант | Для чего | Загрузка | Экономия к BF16 | Metal allocation | Peak VRAM RTX PRO 4500 |
22
  |---|---|---:|---:|---:|---:|
23
- | **Q8_0** | **рекомендуемый default** | **3,354 ГБ** | **46,8%** | **4 810 MiB** | **5 128 MiB** |
24
- | **Q4_K_M** | **лёгкий / экспериментальный** | **1,961 ГБ** | **68,9%** | **3 482 MiB** | **3 802 MiB** |
25
- | BF16 | высокоточный reference | 6,308 ГБ | — | 7 627 MiB | не измерялось |
26
- | Q6_K | исследование / owner review | 2,591 ГБ | 58,9% | 4 083 MiB | 4 402 MiB |
27
 
28
  На Apple Silicon unified memory общая: Metal allocation и RSS — разные срезы
29
  одной памяти, их нельзя складывать. Peak RSS в тех же Mac-тестах составил
30
- 7 827 / 4 955 / 4 245 / 3 658 MiB для BF16 / Q8_0 / Q6_K / Q4_K_M.
 
 
31
 
32
  ## Быстрый старт
33
 
@@ -91,20 +95,22 @@ macro-average двух задач. Это не полный MTEB, не leaderboa
91
  | Q6_K | 0,779334 | 0,768964 | 0,895146 | +0,0576 points¹ |
92
  | Q4_K_M | 0,778297 | 0,769349 | 0,888652 | −0,0461 points |
93
 
94
- ¹Небольшой положительный delta не доказывает улучшение Q6_K. На отдельном
95
- frozen representation gate у него воспроизводимо провалился один длинный
96
- пример с кодом.
97
 
98
  Более строгий frozen multilingual/code holdout сравнивал кванты с нашим BF16:
99
 
100
- | Вариант | Min / mean cosine | Top-1 | Mean top-10 overlap | Gate |
101
- |---|---:|---:|---:|---|
102
- | Q8_0 | 0,993540 / 0,999734 | 100,00% | 99,06% | PASS |
103
- | Q6_K | 0,974783 / 0,997845 | 99,61% | 97,07% | FAIL: один long-code outlier |
104
- | Q4_K_M | 0,950085 / 0,982052 | 96,88% | 91,37% | FAIL: representation/ranking |
105
 
106
- Поэтому Q4 помечен экспериментальным, хотя его потеря полного
107
- RuBQ+SciFact NDCG невелика.
 
 
108
 
109
  ## Измеренная скорость
110
 
 
16
 
17
  Это независимая GGUF-конверсия `ai-babai`, а не официальный релиз `ai-sage`.
18
 
19
+ ![Выбор GGUF-кванта по размеру файла, памяти, скорости и качеству](assets/giga-embeddings-0826-gguf-choice.png)
20
+
21
  ## Какой файл выбрать
22
 
23
+ | Вариант | Для чего | Размер файла | Экономия к BF16 | Память Metal | Peak VRAM CUDA |
24
  |---|---|---:|---:|---:|---:|
25
+ | **Q8_0** | **рекомендуемый default** | **3,35 ГБ** | **46,8%** | **5,04 ГБ** | **5,38 ГБ** |
26
+ | **Q4_K_M** | **лёгкий / экспериментальный** | **1,96 ГБ** | **68,9%** | **3,65 ГБ** | **3,99 ГБ** |
27
+ | BF16 | высокоточный reference | 6,31 ГБ | — | 8,00 ГБ | не измерялось |
28
+ | Q6_K | исследование / owner review | 2,59 ГБ | 58,9% | 4,28 ГБ | 4,62 ГБ |
29
 
30
  На Apple Silicon unified memory общая: Metal allocation и RSS — разные срезы
31
  одной памяти, их нельзя складывать. Peak RSS в тех же Mac-тестах составил
32
+ 8,21 / 5,20 / 4,45 / 3,84 ГБ для BF16 / Q8_0 / Q6_K / Q4_K_M. В этом разделе
33
+ используются десятичные гигабайты (`1 ГБ = 10^9 байт`); исходные измерения в
34
+ MiB пересчитаны в ГБ.
35
 
36
  ## Быстрый старт
37
 
 
95
  | Q6_K | 0,779334 | 0,768964 | 0,895146 | +0,0576 points¹ |
96
  | Q4_K_M | 0,778297 | 0,769349 | 0,888652 | −0,0461 points |
97
 
98
+ ¹Небольшой положительный delta не доказывает улучшение Q6_K. Отдельное
99
+ сравнение сохранения представлений выявило один воспроизводимый длинный
100
+ пример с кодом, на котором Q6_K отклоняется сильнее.
101
 
102
  Более строгий frozen multilingual/code holdout сравнивал кванты с нашим BF16:
103
 
104
+ | Вариант | Min / mean cosine | Top-1 | Mean top-10 overlap |
105
+ |---|---:|---:|---:|
106
+ | Q8_0 | 0,993540 / 0,999734 | 100,00% | 99,06% |
107
+ | Q6_K | 0,974783 / 0,997845 | 99,61% | 97,07% |
108
+ | Q4_K_M | 0,950085 / 0,982052 | 96,88% | 91,37% |
109
 
110
+ Все четыре файла прошли функциональную runtime-проверку. Q4 помечен
111
+ экспериментальным из-за большего отклонения представлений, хотя его потеря
112
+ полного RuBQ+SciFact NDCG невелика. Более низкий минимум Q6_K относится к
113
+ одному воспроизводимому длинному примеру с кодом.
114
 
115
  ## Измеренная скорость
116
 
assets/giga-embeddings-0826-gguf-choice.png ADDED

Git LFS Details

  • SHA256: 81533d6d89915720ab35021afcdba363be353fd6f42a21663549a2dcd836c65a
  • Pointer size: 131 Bytes
  • Size of remote file: 404 kB
assets/giga-embeddings-0826-gguf-choice.svg ADDED
manifest.json CHANGED
@@ -32,6 +32,18 @@
32
  "pooling": "mean",
33
  "embedding_dimension": 2048
34
  },
 
 
 
 
 
 
 
 
 
 
 
 
35
  "artifacts": [
36
  {
37
  "file": "giga-embeddings-0826-3b-bf16.gguf",
 
32
  "pooling": "mean",
33
  "embedding_dimension": 2048
34
  },
35
+ "card_assets": [
36
+ {
37
+ "file": "assets/giga-embeddings-0826-gguf-choice.svg",
38
+ "role": "editable quantization chooser source",
39
+ "sha256": "7205e7e3d10223a570761aadd9c2a753552778effe5f454040352d6ff7c67b90"
40
+ },
41
+ {
42
+ "file": "assets/giga-embeddings-0826-gguf-choice.png",
43
+ "role": "rendered quantization chooser",
44
+ "sha256": "81533d6d89915720ab35021afcdba363be353fd6f42a21663549a2dcd836c65a"
45
+ }
46
+ ],
47
  "artifacts": [
48
  {
49
  "file": "giga-embeddings-0826-3b-bf16.gguf",