update model card: ES/EN docs, header, benchmarks, download
Browse files
README.md
CHANGED
|
@@ -1,70 +1,87 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
base_model: Qwen/Qwen3-4B-Instruct-2507
|
| 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 |
-
- `daimon
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: Qwen/Qwen3-4B-Instruct-2507
|
| 4 |
+
language:
|
| 5 |
+
- es
|
| 6 |
+
- en
|
| 7 |
+
tags:
|
| 8 |
+
- daimon
|
| 9 |
+
- lora
|
| 10 |
+
- tool-calling
|
| 11 |
+
- code
|
| 12 |
+
- spanish
|
| 13 |
+
library_name: gguf
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
<div align="center">
|
| 17 |
+
<img src="https://huggingface.co/lucas-mella/Daimon-R/resolve/main/daimon-R.png" width="120" alt="Daimon"/>
|
| 18 |
+
<br/><br/>
|
| 19 |
+
<img src="https://huggingface.co/lucas-mella/Daimon-R/resolve/main/daimon-palabra.png" width="160" alt="daimon"/> <b style="font-size:1.6em;vertical-align:middle">r</b>
|
| 20 |
+
</div>
|
| 21 |
+
|
| 22 |
+
---
|
| 23 |
+
|
| 24 |
+
## 🇪🇸 Español
|
| 25 |
+
|
| 26 |
+
**daimon r** es el modelo **razonador de 4B** (fine-tune LoRA de `Qwen3-4B-Instruct-2507`), el hermano mayor de `daimon x`: mismo asistente de **código, agente (tool-calling) y conversación**, con foco en **español nativo**, pero con más capacidad de razonamiento.
|
| 27 |
+
|
| 28 |
+
> Forma parte del proyecto **Daimon** — *próximamente / coming soon*.
|
| 29 |
+
|
| 30 |
+
### 🧠 Con qué se entrenó
|
| 31 |
+
Fine-tune **LoRA (QLoRA 4-bit)** sobre el mismo mix curado que `daimon x`, pesado hacia el núcleo de Daimon (tool-calling / agente):
|
| 32 |
+
|
| 33 |
+
- **Tool-calling / agente** — xLAM, ToolACE, Hermes-FC, **Toucan** (trayectorias multi-turno reales de +495 servidores MCP)
|
| 34 |
+
- **Código** — evol-codealpaca, OpenCodeReasoning, glaive
|
| 35 |
+
- **Razonamiento** — OpenThoughts, **OpenR1-Math** (con respuestas verificadas)
|
| 36 |
+
- **Español nativo** — **BSC-LT m-personas**, **projecte-aina MentorES**, **aya** (nativo, no traducido)
|
| 37 |
+
- **In-house** — acciones de agente + identidad de Daimon
|
| 38 |
+
|
| 39 |
+
### 📊 Benchmarks
|
| 40 |
+
| Base | Ejemplos | train_loss | eval_loss |
|
| 41 |
+
|---|---|---|---|
|
| 42 |
+
| Qwen3-4B-Instruct-2507 | 4.979 | 0.762 | **0.633** |
|
| 43 |
+
|
| 44 |
+
`eval_loss < train_loss`, y notablemente más bajo que `daimon x` (0.633 vs 0.868) → el 4B aprende mejor.
|
| 45 |
+
|
| 46 |
+
### ⬇️ Descargar (opcional — solo si querés usarlo)
|
| 47 |
+
```bash
|
| 48 |
+
huggingface-cli download lucas-mella/Daimon-R
|
| 49 |
+
# correr con llama.cpp (base GGUF + adapter LoRA):
|
| 50 |
+
llama-server --model Qwen3-4B-Instruct-2507-Q4_K_M.gguf \
|
| 51 |
+
--lora daimon-r-lora-f16.gguf --alias daimon-r
|
| 52 |
+
```
|
| 53 |
+
|
| 54 |
+
---
|
| 55 |
+
|
| 56 |
+
## 🇬🇧 English
|
| 57 |
+
|
| 58 |
+
**daimon r** is the **4B reasoning** model (LoRA fine-tune of `Qwen3-4B-Instruct-2507`), the big sibling of `daimon x`: the same **code, agentic tool-calling and conversation** assistant with a focus on **native Spanish**, but with stronger reasoning.
|
| 59 |
+
|
| 60 |
+
> Part of the **Daimon** project — *coming soon*.
|
| 61 |
+
|
| 62 |
+
### 🧠 Training
|
| 63 |
+
**LoRA (4-bit QLoRA)** fine-tune on the same curated mix as `daimon x`, weighted toward Daimon's tool-calling/agent core:
|
| 64 |
+
|
| 65 |
+
- **Tool-calling / agent** — xLAM, ToolACE, Hermes-FC, **Toucan** (real multi-turn trajectories from 495+ MCP servers)
|
| 66 |
+
- **Code** — evol-codealpaca, OpenCodeReasoning, glaive
|
| 67 |
+
- **Reasoning** — OpenThoughts, **OpenR1-Math** (verified answers)
|
| 68 |
+
- **Native Spanish** — **BSC-LT m-personas**, **projecte-aina MentorES**, **aya** (native, not translated)
|
| 69 |
+
- **In-house** — Daimon agent-actions + identity
|
| 70 |
+
|
| 71 |
+
### 📊 Benchmarks
|
| 72 |
+
| Base | Examples | train_loss | eval_loss |
|
| 73 |
+
|---|---|---|---|
|
| 74 |
+
| Qwen3-4B-Instruct-2507 | 4,979 | 0.762 | **0.633** |
|
| 75 |
+
|
| 76 |
+
`eval_loss < train_loss`, and notably lower than `daimon x` (0.633 vs 0.868) → the 4B learns better.
|
| 77 |
+
|
| 78 |
+
### ⬇️ Download (optional)
|
| 79 |
+
```bash
|
| 80 |
+
huggingface-cli download lucas-mella/Daimon-R
|
| 81 |
+
# run with llama.cpp (base GGUF + LoRA adapter):
|
| 82 |
+
llama-server --model Qwen3-4B-Instruct-2507-Q4_K_M.gguf \
|
| 83 |
+
--lora daimon-r-lora-f16.gguf --alias daimon-r
|
| 84 |
+
```
|
| 85 |
+
|
| 86 |
+
---
|
| 87 |
+
<sub>Base: Qwen3-4B-Instruct-2507 (Apache-2.0). LoRA + mix: proyecto Daimon.</sub>
|