File size: 9,485 Bytes
ea5ca1d
 
 
 
 
e098616
 
ea5ca1d
e098616
ea5ca1d
 
 
 
 
 
 
 
cbdddbf
 
 
 
 
 
 
 
e098616
92b1082
e098616
cbdddbf
e098616
cbdddbf
e098616
cbdddbf
e098616
cbdddbf
 
 
 
 
e098616
cbdddbf
e098616
cbdddbf
e098616
cbdddbf
e098616
cbdddbf
e098616
 
cbdddbf
e098616
 
 
 
 
 
cbdddbf
e098616
cbdddbf
e098616
cbdddbf
 
 
e098616
cbdddbf
e098616
 
 
 
 
 
 
 
 
 
cbdddbf
 
 
e098616
cbdddbf
e098616
cbdddbf
e098616
cbdddbf
e098616
cbdddbf
e098616
43f411f
799b10a
 
e098616
43f411f
e098616
cbdddbf
e098616
cbdddbf
 
 
 
 
e098616
cbdddbf
e098616
cbdddbf
e098616
cbdddbf
 
 
 
 
e098616
cbdddbf
e098616
cbdddbf
 
 
 
 
e098616
cbdddbf
e098616
cbdddbf
 
 
 
 
e098616
cbdddbf
e098616
cbdddbf
 
 
e098616
cbdddbf
1bf4363
cbdddbf
e098616
 
 
cbdddbf
 
 
e098616
dfff91b
 
 
e098616
cbdddbf
 
 
 
e098616
cbdddbf
 
e098616
cbdddbf
 
 
 
 
 
 
e098616
cbdddbf
 
 
 
 
e098616
cbdddbf
 
 
dfff91b
cbdddbf
 
 
dfff91b
e098616
dfff91b
cbdddbf
 
 
 
dfff91b
e098616
cbdddbf
 
e098616
cbdddbf
 
 
 
 
 
e098616
 
 
 
 
cbdddbf
e098616
cbdddbf
 
 
 
 
e098616
cbdddbf
e098616
cbdddbf
 
e098616
cbdddbf
e098616
 
 
 
 
 
cbdddbf
e098616
cbdddbf
 
 
 
e098616
cbdddbf
 
e098616
cbdddbf
e098616
 
 
 
 
 
cbdddbf
e098616
 
cbdddbf
 
 
 
 
 
 
e098616
cbdddbf
e098616
 
cbdddbf
e098616
 
cbdddbf
e098616
 
cbdddbf
e098616
 
cbdddbf
e098616
cbdddbf
 
 
 
e098616
cbdddbf
 
e098616
cbdddbf
e098616
 
 
 
 
 
cbdddbf
e098616
cbdddbf
 
 
 
e098616
cbdddbf
e098616
cbdddbf
 
e098616
 
cbdddbf
e098616
 
cbdddbf
e098616
 
cbdddbf
e098616
 
cbdddbf
e098616
 
cbdddbf
 
e098616
cbdddbf
 
e098616
 
cbdddbf
e098616
 
cbdddbf
e098616
 
 
 
 
cbdddbf
e098616
 
 
cbdddbf
e098616
 
cbdddbf
 
 
 
 
 
e098616
cbdddbf
 
e098616
cbdddbf
 
 
e098616
cbdddbf
e098616
cbdddbf
 
 
e098616
cbdddbf
e098616
cbdddbf
 
e098616
cbdddbf
e098616
cbdddbf
 
 
e098616
cbdddbf
e098616
cbdddbf
e098616
cbdddbf
e098616
cbdddbf
e098616
cbdddbf
 
 
e098616
cbdddbf
 
 
 
e098616
cbdddbf
e098616
cbdddbf
e098616
 
 
 
 
 
 
cbdddbf
e098616
cbdddbf
 
e098616
cbdddbf
 
 
 
 
 
 
 
 
 
e098616
cbdddbf
 
 
 
 
 
e098616
cbdddbf
e098616
 
cbdddbf
 
 
 
e098616
 
cbdddbf
e098616
cbdddbf
e098616
cbdddbf
 
e098616
cbdddbf
e098616
cbdddbf
e098616
cbdddbf
e098616
cbdddbf
e098616
cbdddbf
e098616
cbdddbf
 
e098616
cbdddbf
 
 
e098616
cbdddbf
e098616
cbdddbf
e098616
cbdddbf
e098616
 
 
 
 
 
 
cbdddbf
e098616
cbdddbf
e098616
cbdddbf
 
 
e098616
cbdddbf
e098616
cbdddbf
e098616
 
 
 
 
 
 
cbdddbf
e098616
cbdddbf
 
 
e098616
cbdddbf
e098616
cbdddbf
 
 
e098616
cbdddbf
e098616
cbdddbf
 
 
e098616
cbdddbf
e098616
cbdddbf
e098616
cbdddbf
 
dfff91b
e098616
dfff91b
cbdddbf
dfff91b
e098616
dfff91b
e098616
dfff91b
cbdddbf
dfff91b
cbdddbf
dfff91b
cbdddbf
dfff91b
cbdddbf
dfff91b
cbdddbf
dfff91b
e098616
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
---
license: mit
language:
- pt
- en
- es
- fr
base_model:
- ornith-ai/Ornith-1.5-9B
tags:
- coder
- code
- programmer
- edge
- fast
- smart
---
<div align="center">

![image](https://cdn-uploads.huggingface.co/production/uploads/644afe169279988e0cbcd2d9/jCFCVTpFLOvaCUOF90b9o.png)

<br>

# LEVUM

[👉 Visit the Velum AI Landing Page](https://guell11.github.io/velum-ai/)

### Local · Code · Software

**A local model based on Qwen 3.5 9B, focused on software development.**

Write. Understand. Fix. Refactor. Build.

**Less ceremony. More working code.**

</div>

---

## About

**LEVUM** is a **9-billion-parameter model**, based on **Qwen 3.5 9B** and focused on software development tasks.

The goal is simple: work close to the project and turn instructions into useful code.

The model was designed for tasks such as:

* code generation;
* feature implementation;
* debugging;
* refactoring;
* code explanation and understanding;
* prototype creation;
* project structuring;
* complete application generation;
* assistance during local development.

LEVUM follows a **local-first** philosophy: the model can run close to the IDE, files, and the actual project context, depending on the chosen runtime and quantization.

> **Software first. Local by default.**

---

## Specifications

|                 |                                                       |
| --------------- | ----------------------------------------------------- |
| **Model**       | LEVUM                                                 |
| **Base**        | Qwen 3.5 9B                                           |
| **Parameters**  | 9B                                                    |
| **Focus**       | Code / Software                                       |
| **Primary use** | Software development                                  |
| **Execution**   | Local                                                 |
| **Language**    | English + multilingual capabilities of the base model |
| **Origin**      | 🇧🇷 Brazil                                           |

---

# Quantizations

LEVUM is available in different quantization levels to support a wider range of hardware.

The ideal choice mainly depends on:

**RAM / VRAM → speed → fidelity**

Comparison of the model's relative quality after different quantization levels:

![image](https://cdn-uploads.huggingface.co/production/uploads/644afe169279988e0cbcd2d9/Kqx6ACbFDrb_UG0Zmah4z.png)

Defined values: Q8 = 99%, Q4 = 50%, Q3 = 30%, Q2 = 25%, and Q1 = 10%.

### Q8 — Fidelity

For machines with enough memory and users who want to preserve as much of the model's quality as possible.

`Q8_0`

---

### Q4 / IQ4 — Balanced

The recommended sweet spot for many local systems.

A good balance between size, memory usage, and quality.

`Q4_K_M` · `Q4_K_S` · `IQ4_XS` · `IQ4_NL` · `Q4_1` · `Q4_0`

---

### Q3 / IQ3 — Compact

For more limited hardware or situations where reducing RAM/VRAM usage is a priority.

`Q3_K_L` · `Q3_K_M` · `Q3_K_S` · `IQ3_M` · `IQ3_S` · `IQ3_XS` · `IQ3_XXS`

---

### Q2 / IQ2 — Ultra-Compact

Aggressive compression for environments where larger versions simply do not fit.

`Q2_K` · `Q2_K_S` · `IQ2_M` · `IQ2_S` · `IQ2_XS` · `IQ2_XXS` · `Q2_0` · `TQ2_0`

---

### IQ1 — Minimum

The extreme option.

`IQ1_M`

Recommended only when saving memory is more important than preserving maximum model fidelity.

---

> **Rule of thumb:** start with `Q4_K_M`.
> If you have memory to spare, try `Q8_0`.
> If memory is limited, move down to Q3, Q2, or IQ1.

---

# Running Locally

## llama.cpp

Download one of the GGUF versions of LEVUM and run it with a GGUF-compatible runtime.

```bash
llama-cli \
  -m ./LEVUM-Q4_K_M.gguf \
  -p "Create a REST API in Python using FastAPI."
```

To start a local server:

```bash
llama-server \
  -m ./LEVUM-Q4_K_M.gguf \
  -c 8192
```

After that, the model can be integrated with local tools that support compatible endpoints.

---

## Ollama

Create a `Modelfile` pointing to the GGUF:

```dockerfile
FROM ./LEVUM-Q4_K_M.gguf

PARAMETER temperature 0.6
PARAMETER top_p 0.9
```

Then:

```bash
ollama create levum -f Modelfile
ollama run levum
```

Example:

```text
>>> Create a FastAPI API for managing projects and tasks.
```

---

## LM Studio

1. Download a GGUF quantization of LEVUM.
2. Import the file into LM Studio.
3. Load the model.
4. Adjust the context size according to the available memory.
5. Start a conversation or the local server.

No remote infrastructure is required for inference when the model is running locally.

---

# Prompts

LEVUM works best when the task, context, and expected output format are explicit.

## Generate a Project

```text
Create an interactive financial dashboard in a single HTML file.

Requirements:
- HTML, CSS, and JavaScript in the same file
- interactive charts
- responsive
- sample data
- no mandatory external dependencies

Return only the complete HTML.
```

---

## Implement a Feature

```text
Analyze the code below and implement JWT authentication.

Requirements:
- preserve the current architecture
- validate expired tokens
- add authentication middleware
- do not modify public endpoints
- explain only important decisions

Code:
[paste the code here]
```

---

## Debug

```text
Find the cause of the bug in the code below.

Expected behavior:
[describe]

Current behavior:
[describe]

Error:
[paste the error]

Code:
[paste the code]

Identify the cause and return the complete fix.
```

---

## Refactoring

```text
Refactor this code.

Goals:
- reduce duplication
- improve readability
- preserve current behavior
- preserve the public API
- avoid unnecessary abstractions

Return the refactored code first, followed by a short summary of the changes.
```

---

# Prompt Format

For larger tasks, a simple structure usually produces more predictable results:

```text
OBJECTIVE
What needs to be built.

CONTEXT
Stack, existing files, and architecture.

REQUIREMENTS
Mandatory behaviors.

CONSTRAINTS
What must not be changed.

OUTPUT
Exact expected format.
```

For example:

```text
OBJECTIVE
Create an analytics page.

CONTEXT
React + TypeScript + Tailwind project.

REQUIREMENTS
- revenue chart
- period filters
- metric cards
- transactions table

CONSTRAINTS
- do not add new dependencies
- reuse existing components

OUTPUT
Return the complete files that need to be created or modified.
```

---

# Code-first

LEVUM was designed to work within the normal development cycle:

```text
PROMPT / CODE

    LEVUM

  UNDERSTAND

   GENERATE

    DEBUG

  REFACTOR

RUNNING SOFTWARE
```

### Generation

Projects, components, APIs, scripts, and features.

### Debug

Analysis of errors, unexpected behavior, and fixes.

### Refactoring

Structure, readability, and maintenance of existing code.

### Prototyping

Turn an idea into something executable quickly.

---

# Example

**Prompt**

```text
Create a Flappy Bird-style game in a single HTML file.

Use only HTML, CSS, and JavaScript.

Include:
- physics
- obstacles
- collision detection
- scoring
- restart
- keyboard and click controls

Return only the complete HTML.
```

**Expected result**

```text
prompt

LEVUM

HTML + CSS + JavaScript

browser

running software
```

---

# Hardware

Actual resource usage depends on several factors, including:

* quantization;
* context size;
* runtime;
* KV cache;
* CPU;
* GPU;
* number of layers offloaded to the GPU;
* inference configuration.

Because of this, memory requirements can vary significantly between systems.

As a general rule:

```text
more bits

more fidelity

more memory

fewer bits

less memory

more compression
```

Choose the quantization based on the available hardware and the quality required for the task.

---

# Limitations

LEVUM is still a language model.

This means it may:

* generate incorrect code;
* hallucinate APIs or libraries;
* produce insecure solutions;
* misinterpret requirements;
* introduce regressions;
* suggest nonexistent dependencies;
* generate code that looks correct without actually working.

For important software, review, test, and validate the code before putting it into production.

AI-generated code does not gain magical powers just because it compiled once.

---

# Responsible Use

Before running code generated by the model:

1. review the changes;
2. verify dependencies;
3. run tests;
4. validate external inputs;
5. review filesystem, network, and database operations;
6. do not expose secrets or credentials unnecessarily;
7. use isolated environments when testing unknown code.

For critical applications, the model should serve as an assistance tool, not as the only layer of review.

---

# Base Model

LEVUM is based on:

**Qwen 3.5 9B**

The base model provides the general capabilities upon which LEVUM is built.

Also review the base model's model card and license before distributing or using derivatives.

---

# License

Use of LEVUM is subject to the license published in this repository and, where applicable, the terms and conditions associated with the base model.

Review the `LICENSE` file before commercial use, redistribution, or creating derivatives.

---

# Brazil

<div align="center">

### 🇧🇷 MADE IN BRAZIL

**Intelligence that stays close.**

Local-first · Code-first · Software-first

<br>

`BUILD` · `DEBUG` · `REFACTOR` · `SHIP`

<br>

**LEVUM © 2026**

</div>