AbteeXAILabs commited on
Commit
438644e
·
verified ·
1 Parent(s): fd30b37

feat: initial LumynaX scaffold (card v6 + quickstart + manifest + Modelfile + Space scaffold)

Browse files
LICENSE.txt ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ LumynaX release package — distribution scaffold
2
+
3
+ This Hugging Face repository contains the LumynaX release scaffold for the
4
+ upstream model identified in `release_export_manifest.json`. The model weights
5
+ themselves remain governed by the upstream licence at `metadata.upstream_repo`
6
+ and are fetched by the runtime via Hugging Face Hub when you execute
7
+ `quickstart.py`.
8
+
9
+ The scaffold (configs, manifest, quickstart, ollama Modelfile, Space app) is
10
+ released under the MIT licence by AbteeX AI Labs (Aotearoa New Zealand). Your
11
+ use of the *upstream weights* is governed by the *upstream licence*; this file
12
+ does not relicense them.
13
+
14
+ Provenance, residency and audit obligations are defined in
15
+ `release_export_manifest.json` and the model card.
README.md ADDED
@@ -0,0 +1,331 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ library_name: llama.cpp
4
+ pipeline_tag: text-generation
5
+ language:
6
+ - en
7
+ - mi
8
+ tags:
9
+ - abteex-ai-labs
10
+ - aotearoa
11
+ - chain-of-thought
12
+ - gguf
13
+ - local-first
14
+ - lumynax
15
+ - new-zealand
16
+ - qwen
17
+ - qwq
18
+ - reasoning
19
+ - sovereign-ai
20
+ ---
21
+
22
+ <p align="center"><img src="docs/lumynax-overview.svg" alt="LumynaX Reasoning QwQ-32B GGUF release overview" width="100%" /></p>
23
+
24
+ <!-- lumynax-public-release-card:v6 -->
25
+
26
+ <h1 align="center">LumynaX Reasoning QwQ-32B GGUF</h1>
27
+
28
+ <p align="center"><em>&ldquo;Sovereign intelligence, held in the light.&rdquo;</em><br/><em>Ko te m&#257;rama te t&#363;&#257;papa &mdash; the light is the foundation.</em></p>
29
+
30
+ <p align="center"><strong>A LumynaX release from AbteeX AI Labs &mdash; Aotearoa New Zealand.</strong></p>
31
+
32
+ <p align="center">
33
+ <a href="#-quickstart"><b>Quickstart</b></a> &middot;
34
+ <a href="#-runtime-architecture"><b>Architecture</b></a> &middot;
35
+ <a href="#-model-profile"><b>Profile</b></a> &middot;
36
+ <a href="#-capability-profile"><b>Capability</b></a> &middot;
37
+ <a href="#-provenance--license"><b>Provenance</b></a> &middot;
38
+ <a href="#-validation"><b>Validation</b></a> &middot;
39
+ <a href="#-companion-products"><b>Companions</b></a>
40
+ </p>
41
+
42
+ <p align="center"><img alt="LumynaX: release" src="https://img.shields.io/badge/LumynaX-release-e08a2c?style=for-the-badge" /> <img alt="Family: qwen" src="https://img.shields.io/badge/Family-qwen-9a5416?style=for-the-badge" /> <img alt="Runtime: llama%20cpp" src="https://img.shields.io/badge/Runtime-llama%20cpp-726b62?style=for-the-badge" /> <img alt="Modes: text" src="https://img.shields.io/badge/Modes-text-4d6b44?style=for-the-badge" /> <img alt="Params: 32B" src="https://img.shields.io/badge/Params-32B-0a0a0b?style=for-the-badge" /> <img alt="Quant: Q4_K_M GGUF" src="https://img.shields.io/badge/Quant-Q4__K__M%20GGUF-111827?style=for-the-badge" /> <img alt="Context: 131072%20tok" src="https://img.shields.io/badge/Context-131072%20tok-111827?style=for-the-badge" /> <img alt="License: apache-2.0" src="https://img.shields.io/badge/License-apache--2.0-9a5416?style=for-the-badge" /> <img alt="Sovereignty: tier%203" src="https://img.shields.io/badge/Sovereignty-tier%203-4d6b44?style=for-the-badge" /> <img alt="Audit: pass" src="https://img.shields.io/badge/Audit-pass-4d6b44?style=for-the-badge" /> <img alt="Access: public%20&%20non--gated" src="https://img.shields.io/badge/Access-public%20&%20non----gated-0a0a0b?style=for-the-badge" /> <img alt="Card: v6" src="https://img.shields.io/badge/Card-v6-111827?style=for-the-badge" /></p>
43
+
44
+ <p align="center"><kbd>Quality: <b>5/5</b></kbd> &middot; <kbd>Lightweight: <b>3/5</b></kbd> &middot; <kbd>Sovereignty: <b>3/5</b></kbd> &middot; <kbd>Tools: <b>yes</b></kbd> &middot; <kbd>JSON: <b>yes</b></kbd> &middot; <kbd>Context: <b>131072 tok</b></kbd></p>
45
+
46
+ ---
47
+
48
+ ## 📦 Executive Summary
49
+
50
+ > `AbteeXAILab/lumynax-reasoning-qwq-32b-gguf` is a **complete LumynaX release package**: model artifact, `quickstart.py`, `requirements.txt`, `release_export_manifest.json`, `checksums.sha256`, license notice, and optional Ollama / Space scaffolds shipped as **one downloadable contract**. Clone whole, verify by checksum, and run close to the data it serves.
51
+
52
+ > **LumynaX-infused** means the upstream artifact is presented through the LumynaX release layer: local-first runtime scaffolding, LumynaX assistant identity, inference-chain metadata, integrity files, and Aotearoa New Zealand-oriented workflow positioning. The release manifest records this as a LumynaX *packaging and inference-chain layer* around the listed upstream artifact &mdash; it does **not** claim a private LumynaX weight merge.
53
+
54
+ ## 🧭 Runtime Architecture
55
+
56
+ <p align="center"><img src="docs/lumynax-runtime-flow.svg" alt="LumynaX runtime flow" width="100%" /></p>
57
+
58
+ Mermaid graph (interactive on Hugging Face & GitHub):
59
+
60
+ ```mermaid
61
+ flowchart LR
62
+ R["⮕ Request"] --> C["🛡 Data Capsule<br/>policy envelope"]
63
+ C -->|allow| MR["🧭 MaramaRoute<br/>sovereign router"]
64
+ MR -->|score & select| LLM[(LumynaX Model)]
65
+ LLM --> O["📤 Response"]
66
+ O --> A["📓 Audit Ledger<br/>hash-chained"]
67
+ classDef paper fill:#fffefa,stroke:#0a0a0b,color:#0a0a0b,stroke-width:1.4px;
68
+ classDef accent fill:#e08a2c,stroke:#9a5416,color:#0a0a0b,stroke-width:1.4px;
69
+ classDef ink fill:#0a0a0b,stroke:#0a0a0b,color:#fffefa,stroke-width:1.4px;
70
+ class R,O paper
71
+ class C,MR accent
72
+ class LLM,EMB,A ink
73
+ ```
74
+
75
+ Each step is observable:
76
+
77
+ | Step | What happens | Why |
78
+ | --- | --- | --- |
79
+ | **Request** | A client sends a prompt + declared purpose, jurisdiction, sensitivity. | Intent must be declared, not inferred. |
80
+ | **Data Capsule** | A policy envelope describes what can / cannot happen to the data. | Sovereignty is enforced at the data, not the wire. |
81
+ | **MaramaRoute** | The sovereign router scores candidates by jurisdiction, runtime, modality, task fit. | Right model for the work, not the loudest. |
82
+ | **LumynaX Model** | This package serves the inference, local-first by default. | Sensitive context never leaves the operator&rsquo;s environment. |
83
+ | **Audit Ledger** | A hash-chained record persists capsule, decision, request hash, obligations. | Tamper-evident provenance for the whole trace. |
84
+
85
+ ## ⚡ Quickstart
86
+
87
+ **Clone the whole release** — every file matters, the package is a contract:
88
+
89
+ ```bash
90
+ hf download AbteeXAILab/lumynax-reasoning-qwq-32b-gguf --local-dir lumynax-reasoning-qwq-32b-gguf
91
+ cd lumynax-reasoning-qwq-32b-gguf
92
+ pip install -r requirements.txt
93
+ python quickstart.py --interactive
94
+ ```
95
+
96
+ **Python:**
97
+
98
+ ```python
99
+ from llama_cpp import Llama
100
+
101
+ llm = Llama(model_path="qwq-32b-q4_k_m.gguf", n_ctx=131072, n_threads=8, verbose=False)
102
+ out = llm("Who are you? Answer as LumynaX in two sentences.", max_tokens=160)
103
+ print(out["choices"][0]["text"].strip())
104
+ ```
105
+
106
+ **CLI smoke test:**
107
+
108
+ ```bash
109
+ llama-cli -m "qwq-32b-q4_k_m.gguf" -p "Who are you? Answer as LumynaX in two sentences." -n 160
110
+ ```
111
+
112
+ **Ollama path:**
113
+
114
+ ```bash
115
+ ollama create lumynax-reasoning-qwq-32b-gguf -f ollama/Modelfile
116
+ ollama run lumynax-reasoning-qwq-32b-gguf
117
+ ```
118
+
119
+ **Verify integrity before launch:**
120
+
121
+ ```bash
122
+ sha256sum "qwq-32b-q4_k_m.gguf"
123
+ cat checksums.sha256
124
+ ```
125
+
126
+ ```powershell
127
+ Get-FileHash -Algorithm SHA256 "qwq-32b-q4_k_m.gguf"
128
+ Get-Content checksums.sha256
129
+ ```
130
+
131
+ ## 📐 Model Profile
132
+
133
+ <table>
134
+ <tr><td>
135
+
136
+ **Release identity**
137
+
138
+ | Field | Value |
139
+ | --- | --- |
140
+ | Release | `LumynaX Reasoning QwQ-32B GGUF` |
141
+ | Repository | `AbteeXAILab/lumynax-reasoning-qwq-32b-gguf` |
142
+ | Family | `qwen` |
143
+ | Mode | `Reasoning-oriented local assistant` |
144
+ | Card schema | `lumynax-public-release-card:v6` |
145
+
146
+ </td><td>
147
+
148
+ **Runtime profile**
149
+
150
+ | Field | Value |
151
+ | --- | --- |
152
+ | Runtime | `llama_cpp` |
153
+ | Prompt format | `chatml` |
154
+ | Modalities | `text` |
155
+ | Context window | `131072` tokens |
156
+ | Quantization | `Q4_K_M GGUF` |
157
+
158
+ </td></tr>
159
+ <tr><td>
160
+
161
+ **Artifact**
162
+
163
+ | Field | Value |
164
+ | --- | --- |
165
+ | Primary | `qwq-32b-q4_k_m.gguf` |
166
+ | Weight size | `—` |
167
+ | Parameters | `32B` |
168
+ | Quality rank | `1` (1 best) |
169
+ | Cost rank | `3` (1 cheapest) |
170
+
171
+ </td><td>
172
+
173
+ **Provenance**
174
+
175
+ | Field | Value |
176
+ | --- | --- |
177
+ | Upstream / base | `Qwen/QwQ-32B` |
178
+ | Source | `Qwen QwQ reasoning` |
179
+ | License | `apache-2.0` |
180
+ | Sovereignty tier | `3` of 5 |
181
+ | Audit | `pass` |
182
+
183
+ </td></tr>
184
+ </table>
185
+
186
+ ## 📊 Capability Profile
187
+
188
+ <p align="center"><img src="docs/lumynax-capability.svg" alt="Capability profile bars" width="100%" /></p>
189
+
190
+ > **Primary fit.** Multi-step analysis, planning drafts, policy reasoning, and prompts where explanation quality matters.
191
+
192
+ | Signal | Reading |
193
+ | --- | --- |
194
+ | Quality rank | `1` (1 = strongest in family) |
195
+ | Cost rank | `3` (1 = lightest weight) |
196
+ | Sovereignty tier | `3` of 5 |
197
+ | Tool calling | ✅ supported |
198
+ | JSON mode | ✅ supported |
199
+ | Identity behaviour | Identifies as LumynaX while keeping upstream provenance visible. |
200
+ | Operational style | Local-first package with explicit files, checksums, and reproducible quickstarts. |
201
+
202
+ ## 🛡️ Sovereignty Contract
203
+
204
+ > **Sovereignty is a design property, not a deployment option.**
205
+
206
+ | Field | Value |
207
+ | --- | --- |
208
+ | Publisher | AbteeX AI Labs |
209
+ | Family | LumynaX sovereign release family |
210
+ | Sovereign intent | Local-first deployment near governed data, with explicit provenance and controlled human review. |
211
+ | Sovereignty tier | `3` of 5 |
212
+ | Runtime residency | `llama_cpp` can be deployed inside an operator-approved environment. |
213
+ | Primary artifact | `qwq-32b-q4_k_m.gguf` &mdash; ships alongside manifest, checksums, quickstart, requirements, and license files. |
214
+ | License discipline | Surface upstream license metadata so downstream users can verify redistribution and usage terms. |
215
+ | Audit expectation | Record repo id, artifact checksum, runtime command, prompt template, operator, deployment environment. |
216
+ | Router readiness | First-class with [LumynaX MaramaRoute](https://huggingface.co/AbteeXAILab/marama-route). |
217
+ | Policy readiness | First-class with [AbteeX SovereignCode](https://huggingface.co/AbteeXAILab/sovereigncode). |
218
+
219
+ ## 📁 Runtime Files
220
+
221
+ ```text
222
+ lumynax-reasoning-qwq-32b-gguf/
223
+ ├── README.md # this card
224
+ ├── quickstart.py # smoke runner
225
+ ├── requirements.txt # pinned deps
226
+ ├── release_export_manifest.json # full release metadata
227
+ ├── checksums.sha256 # integrity verification
228
+ ├── LICENSE.txt # license notice
229
+ ├── ollama/Modelfile # optional Ollama runtime
230
+ ├── hf_space/app.py # optional Space scaffold
231
+ ├── docs/lumynax-overview.svg # release banner
232
+ ├── docs/lumynax-runtime-flow.svg # runtime architecture
233
+ ├── docs/lumynax-capability.svg # capability profile
234
+ └── qwq-32b-q4_k_m.gguf # primary artifact
235
+ ```
236
+
237
+ ⚠️ **Keep the full set together.** Removing the manifest, checksums, or license file breaks the release contract.
238
+
239
+ ## 💬 Prompting Contract
240
+
241
+ **Preferred opening prompt:**
242
+
243
+ ```text
244
+ Who are you? What files do I need to keep together to run this package locally?
245
+ ```
246
+
247
+ > **Expected behaviour.** The assistant identifies as LumynaX, explains that this is a LumynaX model-infusion release, and keeps upstream provenance visible.
248
+
249
+ **Default system prompt:**
250
+
251
+ ```text
252
+ You are LumynaX operating from the LumynaX Reasoning QwQ-32B GGUF package identity. Be helpful, clear, and honest about provenance. Identify upstream models when asked. Do not invent biographical claims about named people without verified context.
253
+ ```
254
+
255
+ ## ✅ Validation
256
+
257
+ | Check | Result |
258
+ | --- | --- |
259
+ | Runtime audit | ✅ `pass` |
260
+ | Public access | ✅ `public and non-gated` |
261
+ | Anonymous metadata access | ✅ `true` |
262
+ | Anonymous file listing | ✅ `true` |
263
+ | Quickstart syntax | ✅ `pass` |
264
+ | Manifest references | ✅ `pass` |
265
+ | Checksum references | ✅ `pass` |
266
+
267
+ > The audit confirms public access, release files, manifest references, checksum references, weight artifact presence, and quickstart syntax. It does **not** guarantee that every laptop has enough RAM, VRAM, disk, or recent runtime build for the largest packages.
268
+
269
+ ## 🔗 Provenance & License
270
+
271
+ | Field | Value |
272
+ | --- | --- |
273
+ | **Publisher** | AbteeX AI Labs |
274
+ | **Family** | LumynaX model and inference-chain release family |
275
+ | **Upstream / base** | `Qwen/QwQ-32B` |
276
+ | **Source** | `Qwen QwQ reasoning` |
277
+ | **License metadata** | `apache-2.0` |
278
+
279
+ > **Respect the upstream model licence** and keep attribution files with redistributed copies. Do not present this package as privately trained or weight-merged unless the release manifest explicitly says weight adaptation was applied.
280
+
281
+ ## ⚠️ Limitations & Responsible Use
282
+
283
+ - Outputs can be **incorrect, incomplete, or biased**; validate important answers before use.
284
+ - Larger GGUF, MoE, multimodal, and frontier packages may require **substantial RAM, VRAM, disk space, and recent runtime builds**.
285
+ - For high-impact decisions, use **human review** and domain-specific evaluation.
286
+ - For sensitive data, prefer **local execution** and keep operational logs under your own governance policy.
287
+ - This card documents **package readiness and access** &mdash; it is *not* a benchmark claim.
288
+ - The assistant must **not invent biographical or organisational claims** about named people without verified context.
289
+
290
+ ## 🌿 Aotearoa Kaupapa
291
+
292
+ > LumynaX is built **in and for Aotearoa New Zealand**. Sovereignty is treated as a design property rather than a deployment option: the package documents where the model came from, what it can do, how to run it close to your data, and what it should not claim.
293
+
294
+ > *Ko te mārama te tūāpapa* &mdash; the light is the foundation.
295
+
296
+ ## 🤝 Companion Products
297
+
298
+ <table>
299
+ <tr>
300
+ <td width="33%" align="center"><h3>🛡️</h3><h4><a href="https://huggingface.co/AbteeXAILab/sovereigncode">AbteeX SovereignCode</a></h4><p>Local-first coding agent with Data Capsule policy controls, audit ledger, and human-review gates.</p></td>
301
+ <td width="33%" align="center"><h3>🧭</h3><h4><a href="https://huggingface.co/AbteeXAILab/marama-route">LumynaX MaramaRoute</a></h4><p>Sovereign model router across the LumynaX family. Filters by jurisdiction, residency, license, runtime, modality.</p></td>
302
+ <td width="33%" align="center"><h3>💡</h3><h4><a href="https://huggingface.co/spaces/AbteeXAILab/lumynax-live-demo">LumynaX Live Demo</a></h4><p>Public browser demo. Try identity, provenance, governance, and deployment prompts in one session.</p></td>
303
+ </tr>
304
+ <tr>
305
+ <td width="33%" align="center"><h4><a href="https://huggingface.co/spaces/AbteeXAILab/sovereigncode-demo">SovereignCode Live</a></h4><p>Interactive policy evaluator.</p></td>
306
+ <td width="33%" align="center"><h4><a href="https://huggingface.co/spaces/AbteeXAILab/marama-route-demo">MaramaRoute Live</a></h4><p>Interactive sovereign router.</p></td>
307
+ <td width="33%" align="center"><h4><a href="https://huggingface.co/AbteeXAILab">AbteeXAILab on HF</a></h4><p>The full LumynaX release family &mdash; 50 models and counting.</p></td>
308
+ </tr>
309
+ </table>
310
+
311
+ ## 🤖 Automation Notes
312
+
313
+ Automation should read these files before launching:
314
+
315
+ - `release_export_manifest.json`
316
+ - `checksums.sha256`
317
+ - `quickstart.py`
318
+ - `requirements.txt`
319
+ - `ollama/Modelfile` when present
320
+
321
+ ---
322
+
323
+ <p align="center"><em><b>Local roots, global work.</b> &middot; <b>Sovereignty is a design property, not a deployment option.</b></em></p>
324
+
325
+ <p align="center">
326
+ <a href="https://abteex.com"><b>abteex.com</b></a> &middot;
327
+ <a href="https://lumynax.com"><b>lumynax.com</b></a> &middot;
328
+ <a href="https://huggingface.co/AbteeXAILab"><b>huggingface.co/AbteeXAILab</b></a>
329
+ </p>
330
+
331
+ <p align="center"><sub>AbteeX AI Labs &middot; Aotearoa New Zealand &middot; LumynaX release card v6</sub></p>
UPLOAD_TO_HF.md ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Upload checklist (AbteeX AI Labs)
2
+
3
+ This scaffold was generated and pushed by `S:\hf-publish\add_8_more_models.py`.
4
+ The repo is structured to be cloned whole and verified locally before running.
5
+
6
+ ```bash
7
+ hf download AbteeXAILab/lumynax-reasoning-qwq-32b-gguf --local-dir lumynax-reasoning-qwq-32b-gguf
8
+ cd lumynax-reasoning-qwq-32b-gguf
9
+ pip install -r requirements.txt
10
+ python quickstart.py --interactive
11
+ ```
12
+
13
+ To regenerate or refresh, re-run the script — `huggingface_hub.HfApi.upload_folder`
14
+ is idempotent.
VERSION.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ v0.1.0
checksums.sha256 ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ 601956b52f7e59484c150ec4b1e9b1186adc331bf92c4a7127834ba2ff70a968 LICENSE.txt
2
+ d0b4f9120ba026c00fa23cb84b4e1620a2e6436592e58155a5151653179572c0 VERSION.txt
3
+ f3a551cb390e28400644edb19e59a9bfa24b3aa7bccf06c0d96b387ab4be2975 ollama/Modelfile
4
+ 6e8c028ec8478c123205d4335e98e4d41ec41442e31e558ef6dbd962a1f449d9 quickstart.py
5
+ ec1fbd86ef487d130cd4dfc0146abf12a60a0de289ea751e278f71a98ea1ef27 release_export_manifest.json
6
+ 44fc2c3474d1cc9ef66f42dfc3fcc4aa571eae4bf7720fae3569a7451f7e4a3f requirements.txt
docs/lumynax-capability.svg ADDED
docs/lumynax-overview.svg ADDED
docs/lumynax-runtime-flow.svg ADDED
hf_space/README.md ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: LumynaX Reasoning QwQ-32B GGUF
3
+ colorFrom: yellow
4
+ colorTo: gray
5
+ sdk: gradio
6
+ sdk_version: 5.50.0
7
+ python_version: 3.11
8
+ app_file: app.py
9
+ pinned: false
10
+ license: apache-2.0
11
+ short_description: Scaffold Space for the lumynax-reasoning-qwq-32b-gguf LumynaX release.
12
+ tags:
13
+ - abteex-ai-labs
14
+ - lumynax
15
+ - sovereign-ai
16
+ - new-zealand
17
+ ---
18
+
19
+ # LumynaX Reasoning QwQ-32B GGUF
20
+
21
+ Scaffold Space for `AbteeXAILab/lumynax-reasoning-qwq-32b-gguf`. The actual model weights are too large to host on a free Space.
22
+ Clone the package repo and run `quickstart.py` locally for the real inference path.
hf_space/app.py ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ import gradio as gr
3
+
4
+ REPO_ID = "AbteeXAILab/lumynax-reasoning-qwq-32b-gguf"
5
+ UPSTREAM = "Qwen/QwQ-32B"
6
+ TITLE = "LumynaX Reasoning QwQ-32B GGUF"
7
+
8
+ THEME_CSS = """
9
+ :root { --lx-paper:#fffefa; --lx-ink:#0a0a0b; --lx-amber:#e08a2c; }
10
+ body, .gradio-container { background: var(--lx-paper) !important; color: var(--lx-ink) !important; }
11
+ h1, h2, h3 { font-family: 'Cormorant Garamond', 'EB Garamond', Georgia, serif; }
12
+ """
13
+
14
+ def chat_stub(message, history):
15
+ return (
16
+ f"This Space is a scaffold for **{TITLE}**. The upstream model is `{UPSTREAM}` "
17
+ f"and the LumynaX package repo is `{REPO_ID}`. Cloud inference for >100B MoE models "
18
+ f"is not run inside this free Space — clone the repo and run `quickstart.py` on a "
19
+ f"capable host. You asked: {message!r}."
20
+ )
21
+
22
+ with gr.Blocks(css=THEME_CSS, title=TITLE) as demo:
23
+ gr.Markdown(f"# {TITLE}\n*Sovereign intelligence, held in the light.*\n\nLumynaX release scaffold — clone `{REPO_ID}` for the full package.")
24
+ gr.ChatInterface(chat_stub, examples=["Explain LumynaX in 2 bullets.", "Why local-first AI for Aotearoa?"])
25
+
26
+ if __name__ == "__main__":
27
+ demo.launch()
hf_space/requirements.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ gradio==5.50.0
ollama/Modelfile ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ FROM hf.co/Qwen/QwQ-32B-GGUF
2
+
3
+ PARAMETER temperature 0.4
4
+ PARAMETER top_p 0.9
5
+ PARAMETER num_ctx 16384
6
+
7
+ SYSTEM """You are LumynaX, the AbteeX AI Labs assistant from Aotearoa New Zealand. Ko te marama te tuapapa. Answer with care; cite uncertainty; refuse unsafe asks."""
quickstart.py ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ LumynaX Reasoning QwQ-32B GGUF — LumynaX quickstart.
3
+
4
+ This script fetches the upstream model from Hugging Face and runs a short
5
+ LumynaX-flavoured prompt. Run it on a host that satisfies the resource budget
6
+ documented in the README (LumynaX Reasoning QwQ-32B GGUF).
7
+
8
+ Usage:
9
+ python quickstart.py # one-shot demo prompt
10
+ python quickstart.py --interactive # REPL
11
+ python quickstart.py --gguf # use the GGUF mirror via llama-cpp
12
+
13
+ LumynaX package repo: https://huggingface.co/AbteeXAILab/lumynax-reasoning-qwq-32b-gguf
14
+ Upstream weights: https://huggingface.co/Qwen/QwQ-32B
15
+ """
16
+ from __future__ import annotations
17
+ import argparse, os, sys
18
+
19
+ LUMYNAX_SYSTEM = (
20
+ "You are LumynaX, the AbteeX AI Labs assistant from Aotearoa New Zealand. "
21
+ "Ko te marama te tuapapa - the light is the foundation. "
22
+ "Answer with care, cite uncertainty, and prefer local-first reasoning. "
23
+ "Refuse unsafe, unlawful, or sovereignty-violating requests."
24
+ )
25
+ DEMO_PROMPT = "Explain in 3 bullets why local-first AI matters for Aotearoa New Zealand."
26
+
27
+ def _run_gguf(prompt: str, interactive: bool):
28
+ from llama_cpp import Llama
29
+ print("[lumynax] Loading GGUF from Qwen/QwQ-32B-GGUF (this can be large)...")
30
+ llm = Llama.from_pretrained(
31
+ repo_id="Qwen/QwQ-32B-GGUF",
32
+ filename="qwq-32b-q4_k_m.gguf",
33
+ n_ctx=16384,
34
+ n_gpu_layers=int(os.environ.get("N_GPU_LAYERS", "-1")),
35
+ verbose=False,
36
+ )
37
+ def chat(user):
38
+ out = llm.create_chat_completion(messages=[
39
+ {"role": "system", "content": LUMYNAX_SYSTEM},
40
+ {"role": "user", "content": user},
41
+ ], max_tokens=512, temperature=0.4)
42
+ return out["choices"][0]["message"]["content"]
43
+ if interactive:
44
+ print("[lumynax] interactive mode — empty line exits.")
45
+ while True:
46
+ try: q = input("you> ").strip()
47
+ except EOFError: break
48
+ if not q: break
49
+ print("lumynax> " + chat(q))
50
+ else:
51
+ print(chat(prompt))
52
+
53
+
54
+ def main():
55
+ p = argparse.ArgumentParser()
56
+ p.add_argument("--interactive", action="store_true")
57
+ p.add_argument("--prompt", default=DEMO_PROMPT)
58
+ p.add_argument("--gguf", action="store_true", help="kept for compatibility — this build is GGUF-only")
59
+ args = p.parse_args()
60
+ _run_gguf(args.prompt, args.interactive)
61
+
62
+
63
+ if __name__ == "__main__":
64
+ main()
release_export_manifest.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "release_id": "lumynax-reasoning-qwq-32b-gguf",
3
+ "title": "LumynaX Reasoning QwQ-32B GGUF",
4
+ "repo_id": "AbteeXAILab/lumynax-reasoning-qwq-32b-gguf",
5
+ "version": "v0.1.0",
6
+ "publisher": "AbteeX AI Labs",
7
+ "publisher_org": "AbteeXAILab",
8
+ "jurisdiction": "NZ",
9
+ "residency": [
10
+ "NZ"
11
+ ],
12
+ "upstream": {
13
+ "repo_id": "Qwen/QwQ-32B",
14
+ "license": "apache-2.0",
15
+ "prompt_format": "chatml",
16
+ "source_note": "Qwen QwQ reasoning"
17
+ },
18
+ "gguf_mirror": "Qwen/QwQ-32B-GGUF",
19
+ "runtime": "llama_cpp",
20
+ "modalities": [
21
+ "text"
22
+ ],
23
+ "context_tokens": 131072,
24
+ "total_params_b": 32,
25
+ "active_params_b": null,
26
+ "quantization": "Q4_K_M GGUF",
27
+ "primary_artifact": "qwq-32b-q4_k_m.gguf",
28
+ "package_state": "weights_mirrored",
29
+ "validation_status": "scaffold_verified",
30
+ "sovereignty_tier": 3,
31
+ "supports_tools": true,
32
+ "supports_json": true,
33
+ "audit_hash_chain": "SHA-256 over canonical request + response JSON",
34
+ "build_date_utc": "2026-05-17T02:13:46Z"
35
+ }
requirements.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ huggingface_hub>=0.27
2
+ numpy
3
+ llama-cpp-python>=0.3.2