File size: 1,171 Bytes
59a944a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
license: apache-2.0
base_model: maxituc/aimi-base
tags:
  - aimi
  - lfm2-vl
  - lora
  - hot-swap
  - chat
---

# aimini-chat — Aimi chat aimini (V0.1)

LoRA adapter (rank 64, INT8 ~44 MB) hot-swappable on the `maxituc/aimi-base` LFM2.5-VL graph. Trained 2026-05-22 → 23 on ~1200 conversational examples covering:

- `generate_file` / `edit_file` / `read_file` / `ask_question` / `list_files` tool calls
- French chat (vouvoiement, structured replies)
- Multi-turn conversational patterns
- Clarification when content is ambiguous (asks instead of inventing)

## Usage

Hot-swap via `@aimi/provider-transformers`:

```ts
{
    id: 'aimi-chat',
    hotSwap: {
        base: 'maxituc/aimi-base',
        baseData: 'onnx/model_q4.onnx_data',
        adapterRepo: 'maxituc/aimini-chat',
        adapterFile: 'chat.data',
    },
}
```

## Training

- Base : LFM2.5-VL stripped 1.3B
- LoRA : r=64 α=64, attention + MLP (q/k/v/out_proj, in_proj, w1/w2/w3)
- QLoRA NF4, 4 epochs, lr 2e-4 cosine, packing bfd
- 4 checkpoints saved ; `ep1` selected as winner via behavior eval sweep (best balance: least tool hallucination, cohérent intro/tool, template-mode preserved)