nhannt201 commited on
Commit
366d6f1
·
verified ·
1 Parent(s): 3f1e5fd

Upload 9 files

Browse files
.gitattributes CHANGED
@@ -41,3 +41,11 @@ gguf/airy-0.6b-iq2_xxs.gguf filter=lfs diff=lfs merge=lfs -text
41
  gguf/airy-0.6b-iq3_m.gguf filter=lfs diff=lfs merge=lfs -text
42
  gguf/airy-0.6b-q2_k.gguf filter=lfs diff=lfs merge=lfs -text
43
  gguf/airy-0.6b-q3_k_m.gguf filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
41
  gguf/airy-0.6b-iq3_m.gguf filter=lfs diff=lfs merge=lfs -text
42
  gguf/airy-0.6b-q2_k.gguf filter=lfs diff=lfs merge=lfs -text
43
  gguf/airy-0.6b-q3_k_m.gguf filter=lfs diff=lfs merge=lfs -text
44
+ gguf/acnoryx-0.6b-iq1_m.gguf filter=lfs diff=lfs merge=lfs -text
45
+ gguf/acnoryx-0.6b-iq1_s.gguf filter=lfs diff=lfs merge=lfs -text
46
+ gguf/acnoryx-0.6b-iq2_m.gguf filter=lfs diff=lfs merge=lfs -text
47
+ gguf/acnoryx-0.6b-iq2_xs.gguf filter=lfs diff=lfs merge=lfs -text
48
+ gguf/acnoryx-0.6b-iq2_xxs.gguf filter=lfs diff=lfs merge=lfs -text
49
+ gguf/acnoryx-0.6b-iq3_m.gguf filter=lfs diff=lfs merge=lfs -text
50
+ gguf/acnoryx-0.6b-q2_k.gguf filter=lfs diff=lfs merge=lfs -text
51
+ gguf/acnoryx-0.6b-q3_k_m.gguf filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,190 +1,94 @@
1
- ---
2
- language:
3
- - vi
4
- - en
5
- license: other
6
- base_model:
7
- - Acnoryx/Airy
8
- - Qwen/Qwen3-0.6B
9
- library_name: gguf
10
- pipeline_tag: text-generation
11
- tags:
12
- - acne
13
- - skincare
14
- - dermatology
15
- - gguf
16
- - llama-cpp
17
- - fine-tuned
18
- - airy
19
- - acnoryx
20
- quantized_by: Acnoryx
21
- inference: false
22
- ---
23
-
24
- # Acnoryx/Airy-Lite
25
-
26
- **Airy-Lite** is the ultra-low-bit, ultra-lightweight research branch of the Acnoryx model family.
27
-
28
- This repository contains GGUF quantizations of the same fine-tuned weights used in the Acnoryx skincare model
29
- (Qwen/Qwen3-0.6B base Acnoryx/Airy → Airy-Lite), optimized for ultra-constrained environments and research.
30
-
31
- ---
32
-
33
- ## Overview
34
-
35
- Both model branches share the same fine-tuned base weights, but differ in quantization depth:
36
-
37
- | Branch | Quantization range | Target |
38
- |--------|--------------------|--------|
39
- | **Acnoryx-Core** (release) | Q4_0 F16 | Production / deployment |
40
- | **Airy-Lite** (this repo) | Q3_K_M IQ1_S | Research / ultra-constrained edge |
41
-
42
- > **Note:** Airy-Lite is provided for research and evaluation purposes only.
43
- > The Acnoryx app uses Acnoryx-Core variants, not Airy-Lite.
44
- > See the live app on Google Play for production usage.
45
-
46
- ---
47
-
48
- ## Evaluation Against Acnoryx-Core
49
-
50
- **Test profile:** `full-100` 100 questions × 2 modes (thinking / non-thinking)
51
- **Categories:** acne knowledge, app facts, refusal, skincare, identity, scan analysis, reasoning, medical uncertainty.
52
-
53
- ### Acnoryx-Core (Reference)
54
-
55
- | Model | Size | Think % | No-Think % | Rating |
56
- |-------|------|---------|-----------|--------|
57
- | acnoryx-0.6b-f16 | 1143 MB | 99.0% | 100.0% | ✅ Excellent |
58
- | acnoryx-0.6b-q8_0 | 610 MB | 98.0% | 99.0% | Excellent |
59
- | acnoryx-0.6b-q5_k_m | 424 MB | 98.0% | 96.0% | ✅ Excellent |
60
- | acnoryx-0.6b-q4_k_m | 378 MB | 99.0% | 99.0% | Excellent |
61
- | acnoryx-0.6b-q4_0 | 364 MB | 94.0% | 96.0% | Good |
62
- | acnoryx-0.6b-iq4_nl | 365 MB | 96.0% | 97.0% | Good |
63
- | acnoryx-0.6b-iq4_xs | 352 MB | 96.0% | 94.0% | Good |
64
-
65
- ### Airy-Lite (This Repository)
66
-
67
- | Model | Size | Think % | No-Think % | Rating |
68
- |-------|------|---------|-----------|--------|
69
- | airy-0.6b-q3_k_m | 331 MB | 92.0% | 85.0% | ⚠️ Degraded |
70
- | airy-0.6b-iq3_m | 320 MB | 18.0% | 17.0% | Collapsed |
71
- | airy-0.6b-q2_k | 282 MB | 17.0% | 11.0% | Collapsed |
72
- | airy-0.6b-iq2_m | 253 MB | 14.0% | 8.0% | Collapsed |
73
- | airy-0.6b-iq2_xs | 231 MB | 0.0% | 4.0% | Collapsed |
74
- | airy-0.6b-iq2_xxs | 219 MB | 4.0% | 4.0% | Collapsed |
75
- | airy-0.6b-iq1_m | 206 MB | 3.0% | 3.0% | ❌ Collapsed |
76
- | airy-0.6b-iq1_s | 198 MB | 4.0% | 3.0% | ❌ Collapsed |
77
-
78
- ---
79
-
80
- ## Verdict
81
-
82
- A sharp quality drop occurs between:
83
-
84
- - **Q3_K_M** → still usable (degraded but coherent)
85
- - **IQ3_M and below** → completely collapsed
86
-
87
- All IQ2 and IQ1 variants produce incoherent output regardless of format.
88
-
89
- 👉 **Only `airy-0.6b-q3_k_m` is usable** for experimentation.
90
- 👉 All other variants are strictly for research/benchmarking.
91
-
92
- **For production: use Acnoryx-Core (Q4_0 or higher).**
93
-
94
- ---
95
-
96
- ## Usability Classification
97
-
98
- | Level | Models | Status |
99
- |-------|--------|--------|
100
- | ⚠️ Usable | airy-0.6b-q3_k_m | Degraded but coherent |
101
- | ❌ Not usable | All IQ3, IQ2, IQ1 variants | Garbled / incoherent output |
102
-
103
- > Do not deploy Airy-Lite models in production systems.
104
-
105
- ---
106
-
107
- ## Files
108
-
109
- ```text
110
- gguf/
111
- airy-0.6b-q3_k_m.gguf 331 MB ⚠️ Usable
112
- airy-0.6b-iq3_m.gguf 320 MB ❌ Collapsed
113
- airy-0.6b-q2_k.gguf 282 MB ❌ Collapsed
114
- airy-0.6b-iq2_m.gguf 253 MB ❌ Collapsed
115
- airy-0.6b-iq2_xs.gguf 231 MB ❌ Collapsed
116
- airy-0.6b-iq2_xxs.gguf 219 MB ❌ Collapsed
117
- airy-0.6b-iq1_m.gguf 206 MB ❌ Collapsed
118
- airy-0.6b-iq1_s.gguf 198 MB ❌ Collapsed
119
-
120
- PROMPT_TEMPLATE.txt
121
- README.md
122
- ```
123
-
124
- ---
125
-
126
- ## How to Run
127
-
128
- ### llama.cpp (CLI)
129
-
130
- ```bash
131
- ./llama-cli -m ./gguf/airy-0.6b-q3_k_m.gguf -cnv -p "Bạn là ai?"
132
- ```
133
-
134
- ---
135
-
136
- ### Python (llama-cpp-python)
137
-
138
- ```python
139
- from llama_cpp import Llama
140
-
141
- model = Llama(
142
- model_path="./gguf/airy-0.6b-q3_k_m.gguf",
143
- n_ctx=2048,
144
- )
145
-
146
- SYSTEM_PROMPT = (
147
- "You are Acnoryx AI, a dermatology assistant. "
148
- "Focus only on acne and skincare. "
149
- "Politely refuse unrelated topics. "
150
- "You are not a doctor."
151
- )
152
-
153
- response = model.create_chat_completion(
154
- messages=[
155
- {"role": "system", "content": SYSTEM_PROMPT},
156
- {"role": "user", "content": "Mụn đầu đen là gì?"},
157
- ],
158
- )
159
-
160
- print(response["choices"][0]["message"]["content"])
161
- ```
162
-
163
- ---
164
-
165
- ## Intended Use
166
-
167
- - Research on ultra-low-bit quantization
168
- - Edge AI experimentation
169
- - GGUF benchmarking
170
-
171
- ---
172
-
173
- ## Limitations
174
-
175
- - Severe quality degradation below Q3
176
- - Not reliable for medical guidance
177
- - Not suitable for production deployment
178
-
179
- ---
180
-
181
- ## About Acnoryx
182
-
183
- Acnoryx is an AI-powered acne scanner app on Android.
184
-
185
- - Author: Nguyễn Trung Nhẫn
186
- - Publisher: 5CANH APPS
187
- - Contact: hello@5canh.com
188
-
189
- Production uses **Acnoryx-Core**, not Airy-Lite.
190
- Airy-Lite is released for research and community experimentation.
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - vi
5
+ - en
6
+ tags:
7
+ - acne
8
+ - skincare
9
+ - dermatology
10
+ - gguf
11
+ - qwen3
12
+ base_model: Qwen/Qwen3-0.6B
13
+ pipeline_tag: text-generation
14
+ ---
15
+
16
+ # Acnoryx/Airy-Lite — Research GGUF Bundle
17
+
18
+ Research & evaluation companion to the main release. Contains sub-4-bit quantizations
19
+ (<4-bit) for low-memory benchmarking on the **0.6B** model.
20
+
21
+ ## Model Details
22
+
23
+ | | |
24
+ |-|-|
25
+ | **Base model** | Qwen/Qwen3-0.6B (596M params) |
26
+ | **Fine-tune** | SFT on 30,007 acne/skincare/dermatology samples |
27
+ | **Training** | 4 epochs, batch=2, grad_acc=8, lr=5e-5 |
28
+ | **Languages** | Vietnamese, English |
29
+ | **Domain** | Acne analysis, skincare routines, scan interpretation |
30
+ | **Identity** | Acnoryx AI — in-app dermatology assistant |
31
+
32
+ ## Research Quantization Results
33
+
34
+ Tested with 100 domain-specific questions × 2 modes (thinking / non-thinking).
35
+ All quantizations in this bundle are **sub-4-bit (<4-bit)**, ordered high-to-low bit depth.
36
+
37
+ | Quant | Size | Thinking | Non-Think | Avg | Status |
38
+ |-------|------|----------|-----------|-----|--------|
39
+ | **Q3_K_M** | 395 MB | **77%** | **77%** | **77.0%** | ⚠️ Degraded |
40
+ | **IQ3_M** | 384 MB | 3% | 7% | 5.0% | Not usable |
41
+ | **Q2_K** | 331 MB | 0% | 0% | 0.0% | ❌ Not usable |
42
+ | **IQ2_M** | 316 MB | 0% | 0% | 0.0% | ❌ Not usable |
43
+ | **IQ2_XS** | 280 MB | 0% | 0% | 0.0% | ❌ Skipped (early-stop) |
44
+ | **IQ2_XXS** | 268 MB | 0% | 0% | 0.0% | ❌ Skipped (early-stop) |
45
+ | **IQ1_M** | 255 MB | 0% | 0% | 0.0% | ❌ Skipped (early-stop) |
46
+ | **IQ1_S** | 247 MB | 0% | 0% | 0.0% | ❌ Skipped (early-stop) |
47
+
48
+ ### imatrix
49
+
50
+ IQ2/IQ1 quants were generated with importance matrix (imatrix) calibration from
51
+ a 44KB domain-specific corpus. Despite imatrix, the 0.6B model fails at IQ3_M (5%)
52
+ and collapses completely at 2-bit and below.
53
+
54
+ ## Full Quantization Map (Release + Research)
55
+
56
+ Combined view across all quantizations for the 0.6B model, ordered by bit depth (high → low):
57
+
58
+ | Quant | Size | Thinking | Non-Think | Avg | Bundle |
59
+ |-------|------|----------|-----------|-----|--------|
60
+ | F16 | 1439 MB | 95% | 90% | 92.5% | Release |
61
+ | Q8_0 | 768 MB | 91% | 90% | 90.5% | Release |
62
+ | Q5_K_M | 526 MB | 94% | 92% | 93.0% | Release |
63
+ | Q4_K_M | 462 MB | 86% | 84% | 85.0% | Release |
64
+ | Q4_0 | 447 MB | 88% | 84% | 86.0% | Release |
65
+ | IQ4_NL | 448 MB | 90% | 90% | 90.0% | Release |
66
+ | IQ4_XS | 431 MB | 84% | 91% | 87.5% | Release |
67
+ | **Q3_K_M** | **395 MB** | **77%** | **77%** | **77.0%** | **Research** |
68
+ | **IQ3_M** | **384 MB** | **3%** | **7%** | **5.0%** | **Research** |
69
+ | **Q2_K** | **331 MB** | **0%** | **0%** | **0.0%** | **Research** |
70
+ | **IQ2_M** | **316 MB** | **0%** | **0%** | **0.0%** | **Research** |
71
+ | **IQ2_XS** | **280 MB** | **0%** | **0%** | **0.0%** | **Research** |
72
+ | **IQ2_XXS** | **268 MB** | **0%** | **0%** | **0.0%** | **Research** |
73
+ | **IQ1_M** | **255 MB** | **0%** | **0%** | **0.0%** | **Research** |
74
+ | **IQ1_S** | **247 MB** | **0%** | **0%** | **0.0%** | **Research** |
75
+
76
+ ### Key findings
77
+
78
+ - **Release floor (4-bit):** All release quants score ≥84% — production-ready
79
+ - **Research ceiling (3-bit):** Q3_K_M (77%) is usable but noticeably degraded
80
+ - **Hard cliff:** IQ3_M collapses to 5%, and everything below 3-bit hits 0%
81
+ - imatrix calibration does not rescue the 0.6B model below 3-bit
82
+ - For usable sub-4-bit results, switch to the 0.8B model (Acnoryx/Airy)
83
+
84
+ ## Usage
85
+
86
+ ```bash
87
+ # llama.cpp Q3_K_M is the only viable research quant
88
+ ./llama-cli -m acnoryx-0.6b-q3_k_m.gguf -cnv -p "Xin chào"
89
+ ```
90
+
91
+ ## Related
92
+
93
+ - **Release bundle:** Production quantizations (F16 → IQ4_XS, ≥4-bit)
94
+ - **0.8B research:** [Acnoryx/Airy](https://huggingface.co/Acnoryx/Airy) — larger model with better low-bit resilience
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
gguf/acnoryx-0.6b-iq1_m.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc40a6f8d3c53a22c76888a65acdccda20ba3c3e197e261cfbfaced56fc192e5
3
+ size 267099392
gguf/acnoryx-0.6b-iq1_s.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a809139da4c4440dcda77c47a61b8a4a33a78faf02b344ff2227145103973e4
3
+ size 259063040
gguf/acnoryx-0.6b-iq2_m.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bba771db4041b41f5c57cc8a92ac1255cea250f2f8c37b38addf775c852c4566
3
+ size 331757824
gguf/acnoryx-0.6b-iq2_xs.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:76a49927b10c0143d5d657172601794a2840de2d303bb4362eec14ab335ecee6
3
+ size 293043456
gguf/acnoryx-0.6b-iq2_xxs.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a34558921d04859ba080bf55cb8837cbf195969b6ae55e3e551b6b5411a7c8d
3
+ size 280493312
gguf/acnoryx-0.6b-iq3_m.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1555a760d3095b865abc92ed27cdbfb5684442a2c79ec1c372958bdbf7faf454
3
+ size 402875360
gguf/acnoryx-0.6b-q2_k.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3735fc651e0e213794bdcbd59d96afa72a981cc0591c81ab228e88de7680a0ae
3
+ size 347285472
gguf/acnoryx-0.6b-q3_k_m.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e45157f9acd6e2741522bac5bd07eb5795fb995bd412d75ce6e33b1a46528ad
3
+ size 413975520