ritterkraft commited on
Commit
2197c04
·
verified ·
1 Parent(s): f210006

Build ADI models lab static hub

Browse files
Files changed (4) hide show
  1. README.md +11 -6
  2. app.js +33 -0
  3. index.html +165 -17
  4. styles.css +323 -0
README.md CHANGED
@@ -1,10 +1,15 @@
1
  ---
2
- title: Adi Models Lab
3
- emoji: 📊
4
- colorFrom: gray
5
- colorTo: yellow
6
  sdk: static
7
- pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
1
  ---
2
+ title: ADI Models Lab
3
+ emoji: 🧠
4
+ colorFrom: green
5
+ colorTo: blue
6
  sdk: static
7
+ pinned: true
8
+ short_description: Local-first ADI models distilled at theLAB
9
+ thumbnail: https://serve.thelabsource.com/u/oLHfvT.png
10
  ---
11
 
12
+ # ADI Models Lab
13
+
14
+ A focused showcase for Advanced Data Intelligence models built at [theLAB](https://thelabsource.com).
15
+
app.js ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const filters = document.querySelectorAll(".filter");
2
+ const models = document.querySelectorAll(".model");
3
+ const toast = document.getElementById("toast");
4
+
5
+ filters.forEach((button) => {
6
+ button.addEventListener("click", () => {
7
+ const filter = button.dataset.filter;
8
+ filters.forEach((item) => item.classList.toggle("is-active", item === button));
9
+ models.forEach((model) => {
10
+ model.hidden = filter !== "all" && model.dataset.kind !== filter;
11
+ });
12
+ });
13
+ });
14
+
15
+ document.querySelectorAll(".copy").forEach((button) => {
16
+ button.addEventListener("click", async () => {
17
+ const command = button.dataset.command;
18
+ try {
19
+ await navigator.clipboard.writeText(command);
20
+ showToast("Copied command");
21
+ } catch {
22
+ showToast("Copy failed");
23
+ }
24
+ });
25
+ });
26
+
27
+ function showToast(message) {
28
+ toast.textContent = message;
29
+ toast.classList.add("is-visible");
30
+ window.clearTimeout(showToast.timeout);
31
+ showToast.timeout = window.setTimeout(() => toast.classList.remove("is-visible"), 1600);
32
+ }
33
+
index.html CHANGED
@@ -1,19 +1,167 @@
1
  <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  </html>
 
 
1
  <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
+ <meta name="description" content="Advanced Data Intelligence model lab: small local models distilled at theLAB and shipped as GGUF for Ollama and llama.cpp." />
7
+ <title>ADI Models Lab</title>
8
+ <link rel="stylesheet" href="./styles.css" />
9
+ </head>
10
+ <body>
11
+ <main>
12
+ <section class="hero" aria-labelledby="page-title">
13
+ <div class="hero__media" aria-hidden="true">
14
+ <img src="https://serve.thelabsource.com/u/FhQgYP.gif" alt="" />
15
+ </div>
16
+ <div class="hero__content">
17
+ <p class="eyebrow">Advanced Data Intelligence</p>
18
+ <h1 id="page-title">Small local models distilled from frontier teachers.</h1>
19
+ <p class="lede">
20
+ ADI turns strong teacher outputs into compact GGUF models that run on consumer hardware,
21
+ built end-to-end at theLAB and published for Ollama, llama.cpp, and local-first workflows.
22
+ </p>
23
+ <div class="hero__actions">
24
+ <a class="button button--primary" href="https://thelabsource.com" target="_blank" rel="noreferrer">Visit theLAB</a>
25
+ <a class="button" href="https://huggingface.co/AdvancedDataIntelligence" target="_blank" rel="noreferrer">View HF org</a>
26
+ <a class="button" href="https://huggingface.co/spaces/AdvancedDataIntelligence/adi-qwen3.5-4b-glm5.2-general-demo" target="_blank" rel="noreferrer">Try live demo</a>
27
+ </div>
28
+ </div>
29
+ </section>
30
+
31
+ <section class="band stats" aria-label="Model stats">
32
+ <article>
33
+ <span>Models</span>
34
+ <strong>6</strong>
35
+ <p>general, coding, voice, and upcoming larger students</p>
36
+ </article>
37
+ <article>
38
+ <span>Format</span>
39
+ <strong>GGUF</strong>
40
+ <p>ready for Ollama and llama.cpp runtimes</p>
41
+ </article>
42
+ <article>
43
+ <span>Training style</span>
44
+ <strong>Distill</strong>
45
+ <p>teacher answers transferred into smaller local students</p>
46
+ </article>
47
+ <article>
48
+ <span>Home</span>
49
+ <strong>theLAB</strong>
50
+ <p>Learning. Algorithms. Breakthroughs.</p>
51
+ </article>
52
+ </section>
53
+
54
+ <section class="section" aria-labelledby="lineup-title">
55
+ <div class="section__head">
56
+ <div>
57
+ <p class="eyebrow">Model Lineup</p>
58
+ <h2 id="lineup-title">Choose the local model for the job.</h2>
59
+ </div>
60
+ <div class="filters" role="group" aria-label="Model filters">
61
+ <button class="filter is-active" data-filter="all">All</button>
62
+ <button class="filter" data-filter="general">General</button>
63
+ <button class="filter" data-filter="code">Code</button>
64
+ <button class="filter" data-filter="voice">Voice</button>
65
+ </div>
66
+ </div>
67
+
68
+ <div class="models" id="models">
69
+ <article class="model" data-kind="general">
70
+ <div class="model__top"><span>General</span><span>4B</span></div>
71
+ <h3>adi-qwen3.5-4b-glm5.2-general</h3>
72
+ <p>Compact general assistant distilled from glm-5.2, built for fast local answers with long-context headroom.</p>
73
+ <code>ollama run hf.co/AdvancedDataIntelligence/adi-qwen3.5-4b-glm5.2-general-GGUF:Q4_K_M</code>
74
+ <div class="model__actions">
75
+ <button class="copy" data-command="ollama run hf.co/AdvancedDataIntelligence/adi-qwen3.5-4b-glm5.2-general-GGUF:Q4_K_M">Copy</button>
76
+ <a href="https://huggingface.co/AdvancedDataIntelligence/adi-qwen3.5-4b-glm5.2-general-GGUF" target="_blank" rel="noreferrer">Model</a>
77
+ </div>
78
+ </article>
79
+
80
+ <article class="model" data-kind="general">
81
+ <div class="model__top"><span>General</span><span>8B</span></div>
82
+ <h3>adi-qwen3-8b-glm5.2-general</h3>
83
+ <p>General-purpose student with more parametric headroom while remaining practical on a single local GPU.</p>
84
+ <code>ollama run hf.co/AdvancedDataIntelligence/adi-qwen3-8b-glm5.2-general-GGUF:Q4_K_M</code>
85
+ <div class="model__actions">
86
+ <button class="copy" data-command="ollama run hf.co/AdvancedDataIntelligence/adi-qwen3-8b-glm5.2-general-GGUF:Q4_K_M">Copy</button>
87
+ <a href="https://huggingface.co/AdvancedDataIntelligence/adi-qwen3-8b-glm5.2-general-GGUF" target="_blank" rel="noreferrer">Model</a>
88
+ </div>
89
+ </article>
90
+
91
+ <article class="model" data-kind="code">
92
+ <div class="model__top"><span>Code</span><span>7B</span></div>
93
+ <h3>adi-qwen2.5-coder-7b-kimi2.7-code</h3>
94
+ <p>Local coding assistant distilled from a frontier code teacher for writing, explaining, and debugging.</p>
95
+ <code>ollama run hf.co/AdvancedDataIntelligence/adi-qwen2.5-coder-7b-kimi2.7-code-GGUF:Q4_K_M</code>
96
+ <div class="model__actions">
97
+ <button class="copy" data-command="ollama run hf.co/AdvancedDataIntelligence/adi-qwen2.5-coder-7b-kimi2.7-code-GGUF:Q4_K_M">Copy</button>
98
+ <a href="https://huggingface.co/AdvancedDataIntelligence/adi-qwen2.5-coder-7b-kimi2.7-code-GGUF" target="_blank" rel="noreferrer">Model</a>
99
+ </div>
100
+ </article>
101
+
102
+ <article class="model" data-kind="general">
103
+ <div class="model__top"><span>General</span><span>9B</span></div>
104
+ <h3>adi-qwen3.5-9b-glm5.2-general</h3>
105
+ <p>A larger Qwen3.5 general student for users who want more reasoning headroom in the same ADI style.</p>
106
+ <code>hf.co/AdvancedDataIntelligence/adi-qwen3.5-9b-glm5.2-general-GGUF</code>
107
+ <div class="model__actions">
108
+ <a href="https://huggingface.co/AdvancedDataIntelligence/adi-qwen3.5-9b-glm5.2-general-GGUF" target="_blank" rel="noreferrer">Model</a>
109
+ </div>
110
+ </article>
111
+
112
+ <article class="model" data-kind="general">
113
+ <div class="model__top"><span>General</span><span>14B</span></div>
114
+ <h3>adi-qwen2.5-14b-glm5.2-general</h3>
115
+ <p>A bigger general distill for stronger local quality when disk, RAM, and VRAM budgets allow it.</p>
116
+ <code>hf.co/AdvancedDataIntelligence/adi-qwen2.5-14b-glm5.2-general-GGUF</code>
117
+ <div class="model__actions">
118
+ <a href="https://huggingface.co/AdvancedDataIntelligence/adi-qwen2.5-14b-glm5.2-general-GGUF" target="_blank" rel="noreferrer">Model</a>
119
+ </div>
120
+ </article>
121
+
122
+ <article class="model" data-kind="voice">
123
+ <div class="model__top"><span>Wakeword</span><span>Voice</span></div>
124
+ <h3>hey-adi-wakeword</h3>
125
+ <p>A wakeword model for ADI interaction loops, connecting local AI with hands-free ambient workflows.</p>
126
+ <code>hf.co/AdvancedDataIntelligence/hey-adi-wakeword</code>
127
+ <div class="model__actions">
128
+ <a href="https://huggingface.co/AdvancedDataIntelligence/hey-adi-wakeword" target="_blank" rel="noreferrer">Model</a>
129
+ </div>
130
+ </article>
131
+ </div>
132
+ </section>
133
+
134
+ <section class="showcase" aria-labelledby="visuals-title">
135
+ <div>
136
+ <p class="eyebrow">Visual Map</p>
137
+ <h2 id="visuals-title">Built as a pipeline, not a prompt trick.</h2>
138
+ <p>
139
+ The ADI line is organized around repeatable distillation: collect prompts, generate teacher answers,
140
+ fine-tune compact students, merge adapters, quantize to GGUF, then ship model cards with practical run commands.
141
+ </p>
142
+ <a class="button button--primary" href="https://huggingface.co/datasets/AdvancedDataIntelligence/glm5.2-general-distill" target="_blank" rel="noreferrer">Explore dataset</a>
143
+ </div>
144
+ <img src="https://serve.thelabsource.com/u/ih5dUC.png" alt="The ADI distillation pipeline" />
145
+ </section>
146
+
147
+ <section class="lab-grid" aria-label="ADI resources">
148
+ <a class="resource resource--wide" href="https://huggingface.co/spaces/AdvancedDataIntelligence/adi-qwen3.5-4b-glm5.2-general-demo" target="_blank" rel="noreferrer">
149
+ <img src="https://serve.thelabsource.com/u/4Kb3iS.gif" alt="ADI live demo preview" />
150
+ <span>Launch the live browser demo</span>
151
+ </a>
152
+ <a class="resource" href="https://thelabsource.com" target="_blank" rel="noreferrer">
153
+ <img src="https://serve.thelabsource.com/u/T5Kdlg.png" alt="" />
154
+ <span>Read more at theLAB</span>
155
+ </a>
156
+ <a class="resource" href="https://advanced-data-intelligence.com" target="_blank" rel="noreferrer">
157
+ <img src="https://serve.thelabsource.com/u/yZylMt.gif" alt="ADI animation" />
158
+ <span>Advanced Data Intelligence</span>
159
+ </a>
160
+ </section>
161
+ </main>
162
+
163
+ <div class="toast" id="toast" role="status" aria-live="polite">Copied command</div>
164
+ <script src="./app.js"></script>
165
+ </body>
166
  </html>
167
+
styles.css ADDED
@@ -0,0 +1,323 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ :root {
2
+ color-scheme: dark;
3
+ --bg: #05070a;
4
+ --panel: #111820;
5
+ --panel-2: #16202a;
6
+ --text: #f5f7fb;
7
+ --muted: #a8b3c2;
8
+ --line: #2b3643;
9
+ --green: #11c483;
10
+ --blue: #58c4ff;
11
+ --gold: #f4b954;
12
+ --ink: #04110d;
13
+ }
14
+
15
+ * { box-sizing: border-box; }
16
+
17
+ html { scroll-behavior: smooth; }
18
+
19
+ body {
20
+ margin: 0;
21
+ background: var(--bg);
22
+ color: var(--text);
23
+ font: 15px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
24
+ }
25
+
26
+ a { color: inherit; text-decoration: none; }
27
+
28
+ img {
29
+ display: block;
30
+ max-width: 100%;
31
+ }
32
+
33
+ main {
34
+ width: min(1200px, calc(100vw - 32px));
35
+ margin: 0 auto;
36
+ }
37
+
38
+ .hero {
39
+ min-height: 92vh;
40
+ display: grid;
41
+ grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
42
+ gap: 44px;
43
+ align-items: center;
44
+ padding: 34px 0 48px;
45
+ }
46
+
47
+ .hero__media {
48
+ min-height: 420px;
49
+ display: grid;
50
+ place-items: center;
51
+ overflow: hidden;
52
+ border-radius: 8px;
53
+ border: 1px solid rgba(255, 255, 255, 0.12);
54
+ background: #0c1118;
55
+ }
56
+
57
+ .hero__media img {
58
+ width: 100%;
59
+ height: 100%;
60
+ min-height: 420px;
61
+ object-fit: cover;
62
+ }
63
+
64
+ .hero__content {
65
+ display: grid;
66
+ gap: 22px;
67
+ }
68
+
69
+ .eyebrow {
70
+ margin: 0;
71
+ color: var(--green);
72
+ font-size: 13px;
73
+ font-weight: 850;
74
+ text-transform: uppercase;
75
+ }
76
+
77
+ h1, h2, h3, p { margin-top: 0; }
78
+
79
+ h1 {
80
+ margin-bottom: 0;
81
+ max-width: 850px;
82
+ font-size: clamp(44px, 7vw, 82px);
83
+ line-height: 0.94;
84
+ letter-spacing: 0;
85
+ }
86
+
87
+ h2 {
88
+ margin-bottom: 0;
89
+ font-size: clamp(30px, 4vw, 48px);
90
+ line-height: 1;
91
+ letter-spacing: 0;
92
+ }
93
+
94
+ h3 {
95
+ margin-bottom: 10px;
96
+ font-size: 21px;
97
+ line-height: 1.16;
98
+ letter-spacing: 0;
99
+ }
100
+
101
+ .lede {
102
+ max-width: 680px;
103
+ margin-bottom: 0;
104
+ color: var(--muted);
105
+ font-size: 18px;
106
+ }
107
+
108
+ .hero__actions,
109
+ .model__actions,
110
+ .filters {
111
+ display: flex;
112
+ gap: 10px;
113
+ flex-wrap: wrap;
114
+ align-items: center;
115
+ }
116
+
117
+ .button,
118
+ .model__actions a,
119
+ .copy,
120
+ .filter {
121
+ min-height: 42px;
122
+ display: inline-flex;
123
+ align-items: center;
124
+ justify-content: center;
125
+ border-radius: 8px;
126
+ border: 1px solid var(--line);
127
+ background: #121b24;
128
+ color: var(--text);
129
+ padding: 0 14px;
130
+ font: inherit;
131
+ font-weight: 800;
132
+ cursor: pointer;
133
+ }
134
+
135
+ .button--primary,
136
+ .copy {
137
+ border-color: transparent;
138
+ background: var(--green);
139
+ color: var(--ink);
140
+ }
141
+
142
+ .band {
143
+ display: grid;
144
+ grid-template-columns: repeat(4, minmax(0, 1fr));
145
+ gap: 12px;
146
+ margin: 0 0 74px;
147
+ }
148
+
149
+ .stats article,
150
+ .model {
151
+ border: 1px solid var(--line);
152
+ border-radius: 8px;
153
+ background: var(--panel);
154
+ }
155
+
156
+ .stats article {
157
+ padding: 18px;
158
+ }
159
+
160
+ .stats span,
161
+ .model__top {
162
+ color: var(--muted);
163
+ font-size: 13px;
164
+ }
165
+
166
+ .stats strong {
167
+ display: block;
168
+ margin: 4px 0;
169
+ font-size: 30px;
170
+ line-height: 1;
171
+ }
172
+
173
+ .stats p,
174
+ .model p,
175
+ .showcase p {
176
+ margin-bottom: 0;
177
+ color: var(--muted);
178
+ }
179
+
180
+ .section {
181
+ padding-bottom: 72px;
182
+ }
183
+
184
+ .section__head {
185
+ display: flex;
186
+ justify-content: space-between;
187
+ gap: 20px;
188
+ align-items: end;
189
+ margin-bottom: 18px;
190
+ }
191
+
192
+ .filter.is-active {
193
+ border-color: var(--green);
194
+ background: rgba(17, 196, 131, 0.13);
195
+ }
196
+
197
+ .models {
198
+ display: grid;
199
+ grid-template-columns: repeat(3, minmax(0, 1fr));
200
+ gap: 14px;
201
+ }
202
+
203
+ .model {
204
+ min-height: 340px;
205
+ display: grid;
206
+ grid-template-rows: auto auto 1fr auto auto;
207
+ gap: 12px;
208
+ padding: 18px;
209
+ }
210
+
211
+ .model__top {
212
+ display: flex;
213
+ justify-content: space-between;
214
+ gap: 10px;
215
+ }
216
+
217
+ code {
218
+ display: block;
219
+ overflow: auto;
220
+ border: 1px solid var(--line);
221
+ border-radius: 8px;
222
+ background: #090e14;
223
+ color: #d9fff0;
224
+ padding: 12px;
225
+ font-size: 12px;
226
+ white-space: nowrap;
227
+ }
228
+
229
+ .showcase {
230
+ display: grid;
231
+ grid-template-columns: minmax(300px, 0.86fr) minmax(360px, 1.14fr);
232
+ gap: 28px;
233
+ align-items: center;
234
+ padding: 34px;
235
+ margin-bottom: 16px;
236
+ border: 1px solid var(--line);
237
+ border-radius: 8px;
238
+ background: var(--panel);
239
+ }
240
+
241
+ .showcase > div {
242
+ display: grid;
243
+ gap: 16px;
244
+ align-content: center;
245
+ }
246
+
247
+ .showcase img,
248
+ .resource img {
249
+ border-radius: 8px;
250
+ border: 1px solid rgba(255, 255, 255, 0.11);
251
+ }
252
+
253
+ .lab-grid {
254
+ display: grid;
255
+ grid-template-columns: 1.3fr 0.85fr 0.85fr;
256
+ gap: 14px;
257
+ padding: 0 0 44px;
258
+ }
259
+
260
+ .resource {
261
+ min-height: 230px;
262
+ display: grid;
263
+ align-content: space-between;
264
+ gap: 14px;
265
+ padding: 14px;
266
+ border: 1px solid var(--line);
267
+ border-radius: 8px;
268
+ background: var(--panel-2);
269
+ font-weight: 850;
270
+ }
271
+
272
+ .resource--wide {
273
+ min-height: 300px;
274
+ }
275
+
276
+ .resource span {
277
+ color: var(--text);
278
+ }
279
+
280
+ .toast {
281
+ position: fixed;
282
+ right: 18px;
283
+ bottom: 18px;
284
+ transform: translateY(90px);
285
+ transition: transform 180ms ease;
286
+ border: 1px solid var(--line);
287
+ border-radius: 8px;
288
+ background: #101820;
289
+ color: var(--text);
290
+ padding: 12px 14px;
291
+ box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
292
+ }
293
+
294
+ .toast.is-visible {
295
+ transform: translateY(0);
296
+ }
297
+
298
+ @media (max-width: 980px) {
299
+ .hero,
300
+ .showcase,
301
+ .lab-grid {
302
+ grid-template-columns: 1fr;
303
+ }
304
+
305
+ .band,
306
+ .models {
307
+ grid-template-columns: repeat(2, minmax(0, 1fr));
308
+ }
309
+
310
+ .section__head {
311
+ align-items: start;
312
+ flex-direction: column;
313
+ }
314
+ }
315
+
316
+ @media (max-width: 640px) {
317
+ main { width: min(100vw - 22px, 1200px); }
318
+ .hero { min-height: auto; padding-top: 18px; }
319
+ .hero__media, .hero__media img { min-height: 280px; }
320
+ .band, .models { grid-template-columns: 1fr; }
321
+ .showcase { padding: 18px; }
322
+ }
323
+