openamer-max commited on
Commit
03a0d9d
·
verified ·
1 Parent(s): b69b155

Karte: Android-Weg und Agent-Link ergaenzt

Browse files
Files changed (1) hide show
  1. README.md +197 -186
README.md CHANGED
@@ -1,186 +1,197 @@
1
- ---
2
- license: apache-2.0
3
- language:
4
- - de
5
- - bs
6
- - hr
7
- - sr
8
- - en
9
- base_model: Qwen/Qwen2.5-7B-Instruct
10
- tags:
11
- - gguf
12
- - ollama
13
- - llama.cpp
14
- - on-device
15
- - tablet
16
- - german
17
- - bosnian
18
- - qwen2.5
19
- - lora
20
- pipeline_tag: text-generation
21
- library_name: llama.cpp
22
- ---
23
-
24
- ## Familien-Prüfstand (45 Fälle)
25
-
26
- Der Standard der OpenAmer-Max-Familie ist ein eingefrorener Satz mit 45 Fällen —
27
- alle Stufen werden gegen denselben Satz gemessen, damit die Zahlen vergleichbar sind.
28
-
29
- | Satz | Ergebnis |
30
- |---|---|
31
- | **Produktfragen, 45 Fälle** | **42/45 (93,3 %)** |
32
- | Älterer 23er-Satz (weiter unten dokumentiert) | 22/23 (95,7 %) |
33
-
34
- Die 45er-Zahl stammt aus einer Messung mit der ausgelieferten GGUF ueber Ollama (`reports/v2_openamer-max-tab.json`).
35
-
36
- Die 23er-Zahlen weiter unten sind die frühere, kleinere Messung. Sie bleiben als
37
- Historie stehen, sind aber nicht mehr der Maßstab der Familie.
38
-
39
-
40
- # OpenAmer-Max-Tab
41
-
42
- **Third tier of the OpenAmer-Max family — a 7.62B assistant for tablets and
43
- mid-range machines. Runs offline, answers in under a second, knows its limits.**
44
-
45
- 4,4 GB · Q4_K_M GGUF · Apache-2.0 · 16k context
46
-
47
- ---
48
-
49
- ## The family
50
-
51
- Every tier is named after its hardware target, not after marketing:
52
-
53
- | Tier | Parameters | Target | Status |
54
- |---|---|---|---|
55
- | `OpenAmer-Max-Watch` | ≤ 1B | smartwatch (0.6B, 639 MB) | [released](https://huggingface.co/openamer-max/openamer-max-watch) |
56
- | `OpenAmer-Max-Phone` | 1–5B | smartphone (3.09B, 2.5 GB) | [released](https://huggingface.co/openamer-max/openamer-max-phone) |
57
- | **`OpenAmer-Max-Tab`** | **5–10B** | **tablet — this model: 7.62B** | **this page** |
58
- | `OpenAmer-Max-Desktop` | 10–20B | desktop PC | in progress |
59
- | `OpenAmer-Max-Pro` … `Tera` | 20B–10T | workstation → cluster | planned |
60
-
61
- ---
62
-
63
- ## Measured results
64
-
65
- | Test | Result |
66
- |---|---|
67
- | **Frozen benchmark, 23 unseen cases** (contamination-free) | **22/23 — 95,7 %** |
68
- | Categories | facts 7/7 · paraphrases 3/3 · refusals 5/5 · Bosnian 2/3 · Bosnian refusals 1/1 · long 1/1 · short 1/1 · edge 2/2 |
69
- | **Fresh test, 12 questions never in any training set** | **12/12** (content-verified) |
70
- | Latency | 0.2 – 1.1 s on CPU |
71
- | Size | 4,7 GB in Ollama (Q4_K_M), 14,5 GB as f16 |
72
-
73
- ## What it does well
74
-
75
- - Correct product facts, and honest refusals when the answer is not in context
76
- - Correct negation polarity: *"Auf dem iPhone. OpenAmer läuft auf einem Android-Telefon…"*
77
- - Documents (Word, Excel, PDF), code, arithmetic, summarising — the 7B base keeps
78
- general ability that the smaller tiers lose
79
- - German and Bosnian, 16k context for longer documents
80
-
81
- ## What it does not do
82
-
83
- | Limitation | Detail |
84
- |---|---|
85
- | Same weak Bosnian phrasing as the smaller tiers | *"Mogu li koristiti OpenAmer bez interneta?"* answers correctly in substance, but does not use the words "internet"/"mreža" — the one benchmark case it misses |
86
- | No 4-digit multiplication guarantee | check before trusting arithmetic |
87
- | Not a substitute for a large model | 7.62B, not 70B — long reasoning chains stay shaky |
88
-
89
- ---
90
-
91
- ## Quick start (Ollama)
92
-
93
- **One command — no GGUF download, no Modelfile:**
94
-
95
- ```bash
96
- ollama run amersacirovic/openamer-max-tab
97
- ```
98
-
99
- Also on [ollama.com](https://ollama.com/amersacirovic/openamer-max-tab) — the same weights, served by Ollama's registry.
100
-
101
- **Try it in the browser** (free, zero setup): [OpenAmer-Max demo](https://openamer-max-openamer-max-demo.hf.space) — Desktop and Pro run live on ZeroGPU.
102
- **Benchmark:** all tiers were measured on the same frozen [45-case set](https://huggingface.co/datasets/openamer-max/openamer-max-benchmark).
103
-
104
- <sub>Below: the manual route with the bare GGUF, if you prefer to keep the file.</sub>
105
-
106
- ```bash
107
- curl -L -o openamer-max-tab-q4.gguf \
108
- https://huggingface.co/openamer-max/openamer-max-tab/resolve/main/openamer-max-tab-q4.gguf
109
-
110
- ollama create OpenAmer-Max-Tab -f Modelfile # ships with this repo
111
-
112
- curl -s http://127.0.0.1:11434/api/chat -d '{
113
- "model": "OpenAmer-Max-Tab",
114
- "messages": [{"role":"user","content":"Was ist OpenAmer?"}],
115
- "stream": false,
116
- "options": {"temperature": 0}
117
- }' | jq -r .message.content
118
- ```
119
-
120
- > Ein persoenlicher KI-Assistent, der lokal auf deinem Rechner laeuft und Aufgaben ausfuehrt.
121
- > Entwickelt von Amer Sacirovic in der Schweiz.
122
-
123
- > **Important:** keep `repeat_penalty` at **1.0**. With 1.1 the model flipped a
124
- > negation in the Phone tier ("does not run on Android" instead of "iPhone") — the
125
- > penalty punishes exactly the words a negation needs twice.
126
-
127
- ---
128
-
129
- ---
130
-
131
- ## How this was measured — and when the *test* was wrong, not the model
132
-
133
- Every number above has a script behind it. When a score dropped, the first question was
134
- always: "can my checker even accept the correct answer?"
135
-
136
- 1. **AND vs OR in keyword checks** — a synonym group checked with AND fails an answer that
137
- contains two of three correct words. Groups must be OR-linked.
138
- 2. **A refusal counted as a violation** — a safety answer (*"I won't give instructions for
139
- that"*) was scored as a breach because the checker searched for the word "Anleitung".
140
- 3. **Diacritics scored as wrong language** — correct Bosnian was flagged as drift because
141
- `č/ć/š/ž/đ` were missing from the normalisation table.
142
- 4. **A forbidden phrase that also appears in the correct answer** — *"Nein. OpenAmer kann
143
- Musik **nicht** erzeugen"* was rejected because the forbid list held `"kann musik"`.
144
- Forbid entries must describe the false claim, not a word that occurs in a right answer.
145
- 5. **An inverted polarity scored as correct** — *"Šta OpenAmer ne može?"* answered with
146
- *"Ne radi na Androidu"* passed, because only `"ne radi"` was required. A negation must be
147
- checked for *which* object it negates.
148
-
149
- **The sixth lesson, and the most expensive:** `repeat_penalty 1.1` in the Ollama Modelfile
150
- flipped a negation from *"does not run on iPhone"* to *"does not run on Android"*. The
151
- adapter, the merged model and the same model **with** a system prompt all answered correctly
152
- — only the build with the token penalty failed. The penalty punishes exactly the words a
153
- negation needs twice. Every card in this family ships `repeat_penalty 1.0`.
154
-
155
- **What the fresh test caught that the benchmark could not:** at stage 2 this tier passed
156
- 23/23 while claiming *"Ja. OpenAmer kann Musik erzeugen"* (an invented capability) and
157
- answering *"Android wird nicht unterstützt"* (inverted). Both were fixed by targeted stages.
158
- A frozen benchmark you optimise against will not show you this — only questions that never
159
- appear in any training set will.
160
-
161
- ---
162
-
163
- ## Support this project
164
-
165
- OpenAmer is built by one person, without venture capital, on a laptop with 8 GB of VRAM.
166
-
167
- **PayPal:** <https://www.paypal.com/qrcodes/managed/bfb5b6b5-c04c-4836-af60-987dff8cff61>
168
-
169
- ![PayPal](paypal-qr.png)
170
-
171
- A ⭐ on GitHub helps as much as a donation.
172
-
173
- ---
174
-
175
- ## Deutsch
176
-
177
- **OpenAmer-Max-Tab** ist die dritte Stufe der OpenAmer-Max-Familie: ein 7,62B-Modell für
178
- Tablets und mittlere Rechner, das offline läuft und seine Grenzen benennen kann.
179
-
180
- - **4,4 GB** (Q4_K_M), 16k Kontext
181
- - **22/23** auf einem eingefrorenen, kontaminationsfreien Prüfstand (95,7 %)
182
- - **12/12** bei nie trainierten Fragen
183
- - Behält die allgemeinen Fähigkeiten der 7B-Basis: Dokumente, Code, Rechnen, Zusammenfassen
184
-
185
- Basis ist Qwen2.5-7B-Instruct (Apache 2.0), verfeinert mit QLoRA in mehreren Etappen.
186
- Gebaut von Amer Sacirovic in der Schweiz, ohne Konzern, auf einem Laptop mit 8 GB VRAM.
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - de
5
+ - bs
6
+ - hr
7
+ - sr
8
+ - en
9
+ base_model: Qwen/Qwen2.5-7B-Instruct
10
+ tags:
11
+ - gguf
12
+ - ollama
13
+ - llama.cpp
14
+ - on-device
15
+ - tablet
16
+ - german
17
+ - bosnian
18
+ - qwen2.5
19
+ - lora
20
+ pipeline_tag: text-generation
21
+ library_name: llama.cpp
22
+ ---
23
+
24
+ ## Familien-Prüfstand (45 Fälle)
25
+
26
+ Der Standard der OpenAmer-Max-Familie ist ein eingefrorener Satz mit 45 Fällen —
27
+ alle Stufen werden gegen denselben Satz gemessen, damit die Zahlen vergleichbar sind.
28
+
29
+ | Satz | Ergebnis |
30
+ |---|---|
31
+ | **Produktfragen, 45 Fälle** | **42/45 (93,3 %)** |
32
+ | Älterer 23er-Satz (weiter unten dokumentiert) | 22/23 (95,7 %) |
33
+
34
+ Die 45er-Zahl stammt aus einer Messung mit der ausgelieferten GGUF ueber Ollama (`reports/v2_openamer-max-tab.json`).
35
+
36
+ Die 23er-Zahlen weiter unten sind die frühere, kleinere Messung. Sie bleiben als
37
+ Historie stehen, sind aber nicht mehr der Maßstab der Familie.
38
+
39
+
40
+ # OpenAmer-Max-Tab
41
+
42
+ **Third tier of the OpenAmer-Max family — a 7.62B assistant for tablets and
43
+ mid-range machines. Runs offline, answers in under a second, knows its limits.**
44
+
45
+ 4,4 GB · Q4_K_M GGUF · Apache-2.0 · 16k context
46
+
47
+ ---
48
+
49
+ ## The family
50
+
51
+ Every tier is named after its hardware target, not after marketing:
52
+
53
+ | Tier | Parameters | Target | Status |
54
+ |---|---|---|---|
55
+ | `OpenAmer-Max-Watch` | ≤ 1B | smartwatch (0.6B, 639 MB) | [released](https://huggingface.co/openamer-max/openamer-max-watch) |
56
+ | `OpenAmer-Max-Phone` | 1–5B | smartphone (3.09B, 2.5 GB) | [released](https://huggingface.co/openamer-max/openamer-max-phone) |
57
+ | **`OpenAmer-Max-Tab`** | **5–10B** | **tablet — this model: 7.62B** | **this page** |
58
+ | `OpenAmer-Max-Desktop` | 10–20B | desktop PC | in progress |
59
+ | `OpenAmer-Max-Pro` … `Tera` | 20B–10T | workstation → cluster | planned |
60
+
61
+ ---
62
+
63
+ ## Measured results
64
+
65
+ | Test | Result |
66
+ |---|---|
67
+ | **Frozen benchmark, 23 unseen cases** (contamination-free) | **22/23 — 95,7 %** |
68
+ | Categories | facts 7/7 · paraphrases 3/3 · refusals 5/5 · Bosnian 2/3 · Bosnian refusals 1/1 · long 1/1 · short 1/1 · edge 2/2 |
69
+ | **Fresh test, 12 questions never in any training set** | **12/12** (content-verified) |
70
+ | Latency | 0.2 – 1.1 s on CPU |
71
+ | Size | 4,7 GB in Ollama (Q4_K_M), 14,5 GB as f16 |
72
+
73
+ ## What it does well
74
+
75
+ - Correct product facts, and honest refusals when the answer is not in context
76
+ - Correct negation polarity: *"Auf dem iPhone. OpenAmer läuft auf einem Android-Telefon…"*
77
+ - Documents (Word, Excel, PDF), code, arithmetic, summarising — the 7B base keeps
78
+ general ability that the smaller tiers lose
79
+ - German and Bosnian, 16k context for longer documents
80
+
81
+ ## What it does not do
82
+
83
+ | Limitation | Detail |
84
+ |---|---|
85
+ | Same weak Bosnian phrasing as the smaller tiers | *"Mogu li koristiti OpenAmer bez interneta?"* answers correctly in substance, but does not use the words "internet"/"mreža" — the one benchmark case it misses |
86
+ | No 4-digit multiplication guarantee | check before trusting arithmetic |
87
+ | Not a substitute for a large model | 7.62B, not 70B — long reasoning chains stay shaky |
88
+
89
+ ---
90
+
91
+ ## Quick start (Ollama)
92
+
93
+ **One command — no GGUF download, no Modelfile:**
94
+
95
+ ```bash
96
+ ollama run amersacirovic/openamer-max-tab
97
+ ```
98
+
99
+ Also on [ollama.com](https://ollama.com/amersacirovic/openamer-max-tab) — the same weights, served by Ollama's registry.
100
+
101
+ **Try it in the browser** (free, zero setup): [OpenAmer-Max demo](https://openamer-max-openamer-max-demo.hf.space) — Desktop and Pro run live on ZeroGPU.
102
+ **Benchmark:** all tiers were measured on the same frozen [45-case set](https://huggingface.co/datasets/openamer-max/openamer-max-benchmark).
103
+
104
+ <sub>Below: the manual route with the bare GGUF, if you prefer to keep the file.</sub>
105
+
106
+ ```bash
107
+ curl -L -o openamer-max-tab-q4.gguf \
108
+ https://huggingface.co/openamer-max/openamer-max-tab/resolve/main/openamer-max-tab-q4.gguf
109
+
110
+ ollama create OpenAmer-Max-Tab -f Modelfile # ships with this repo
111
+
112
+ curl -s http://127.0.0.1:11434/api/chat -d '{
113
+ "model": "OpenAmer-Max-Tab",
114
+ "messages": [{"role":"user","content":"Was ist OpenAmer?"}],
115
+ "stream": false,
116
+ "options": {"temperature": 0}
117
+ }' | jq -r .message.content
118
+ ```
119
+
120
+ > Ein persoenlicher KI-Assistent, der lokal auf deinem Rechner laeuft und Aufgaben ausfuehrt.
121
+ > Entwickelt von Amer Sacirovic in der Schweiz.
122
+
123
+ > **Important:** keep `repeat_penalty` at **1.0**. With 1.1 the model flipped a
124
+ > negation in the Phone tier ("does not run on Android" instead of "iPhone") — the
125
+ > penalty punishes exactly the words a negation needs twice.
126
+
127
+ ---
128
+
129
+ ---
130
+
131
+ ## How this was measured — and when the *test* was wrong, not the model
132
+
133
+ Every number above has a script behind it. When a score dropped, the first question was
134
+ always: "can my checker even accept the correct answer?"
135
+
136
+ 1. **AND vs OR in keyword checks** — a synonym group checked with AND fails an answer that
137
+ contains two of three correct words. Groups must be OR-linked.
138
+ 2. **A refusal counted as a violation** — a safety answer (*"I won't give instructions for
139
+ that"*) was scored as a breach because the checker searched for the word "Anleitung".
140
+ 3. **Diacritics scored as wrong language** — correct Bosnian was flagged as drift because
141
+ `č/ć/š/ž/đ` were missing from the normalisation table.
142
+ 4. **A forbidden phrase that also appears in the correct answer** — *"Nein. OpenAmer kann
143
+ Musik **nicht** erzeugen"* was rejected because the forbid list held `"kann musik"`.
144
+ Forbid entries must describe the false claim, not a word that occurs in a right answer.
145
+ 5. **An inverted polarity scored as correct** — *"Šta OpenAmer ne može?"* answered with
146
+ *"Ne radi na Androidu"* passed, because only `"ne radi"` was required. A negation must be
147
+ checked for *which* object it negates.
148
+
149
+ **The sixth lesson, and the most expensive:** `repeat_penalty 1.1` in the Ollama Modelfile
150
+ flipped a negation from *"does not run on iPhone"* to *"does not run on Android"*. The
151
+ adapter, the merged model and the same model **with** a system prompt all answered correctly
152
+ — only the build with the token penalty failed. The penalty punishes exactly the words a
153
+ negation needs twice. Every card in this family ships `repeat_penalty 1.0`.
154
+
155
+ **What the fresh test caught that the benchmark could not:** at stage 2 this tier passed
156
+ 23/23 while claiming *"Ja. OpenAmer kann Musik erzeugen"* (an invented capability) and
157
+ answering *"Android wird nicht unterstützt"* (inverted). Both were fixed by targeted stages.
158
+ A frozen benchmark you optimise against will not show you this — only questions that never
159
+ appear in any training set will.
160
+
161
+ ---
162
+
163
+ ## Support this project
164
+
165
+ OpenAmer is built by one person, without venture capital, on a laptop with 8 GB of VRAM.
166
+
167
+ **PayPal:** <https://www.paypal.com/qrcodes/managed/bfb5b6b5-c04c-4836-af60-987dff8cff61>
168
+
169
+ ![PayPal](paypal-qr.png)
170
+
171
+ A ⭐ on GitHub helps as much as a donation.
172
+
173
+ ---
174
+
175
+ ## Deutsch
176
+
177
+ **OpenAmer-Max-Tab** ist die dritte Stufe der OpenAmer-Max-Familie: ein 7,62B-Modell für
178
+ Tablets und mittlere Rechner, das offline läuft und seine Grenzen benennen kann.
179
+
180
+ - **4,4 GB** (Q4_K_M), 16k Kontext
181
+ - **22/23** auf einem eingefrorenen, kontaminationsfreien Prüfstand (95,7 %)
182
+ - **12/12** bei nie trainierten Fragen
183
+ - Behält die allgemeinen Fähigkeiten der 7B-Basis: Dokumente, Code, Rechnen, Zusammenfassen
184
+
185
+ Basis ist Qwen2.5-7B-Instruct (Apache 2.0), verfeinert mit QLoRA in mehreren Etappen.
186
+ Gebaut von Amer Sacirovic in der Schweiz, ohne Konzern, auf einem Laptop mit 8 GB VRAM.
187
+
188
+ ## Auf Android
189
+
190
+ Der Agent läuft auch auf dem Telefon — nicht ferngesteuert, sondern im
191
+ Debian-Userspace mit denselben Werkzeugen und Skills. Launcher-APK, gemessene
192
+ Version und ehrliche Grenzen:
193
+
194
+ <https://openamer-max.github.io/android.html>
195
+
196
+ Agent-Quellcode: <https://github.com/openamer-max/openamer>
197
+