Text Generation
Transformers
Safetensors
qwen3_5
image-text-to-text
darwin-v6
generation-2
evolutionary-merge
mri-guided
dare-ties
qwen3.5
korean
hybrid-vigor
reasoning
thinking
proto-agi
vidraft
k-ai
conversational
Instructions to use FINAL-Bench/Darwin-27B-KR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FINAL-Bench/Darwin-27B-KR with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="FINAL-Bench/Darwin-27B-KR") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("FINAL-Bench/Darwin-27B-KR") model = AutoModelForMultimodalLM.from_pretrained("FINAL-Bench/Darwin-27B-KR", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use FINAL-Bench/Darwin-27B-KR with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "FINAL-Bench/Darwin-27B-KR" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "FINAL-Bench/Darwin-27B-KR", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/FINAL-Bench/Darwin-27B-KR
- SGLang
How to use FINAL-Bench/Darwin-27B-KR with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "FINAL-Bench/Darwin-27B-KR" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "FINAL-Bench/Darwin-27B-KR", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "FINAL-Bench/Darwin-27B-KR" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "FINAL-Bench/Darwin-27B-KR", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use FINAL-Bench/Darwin-27B-KR with Docker Model Runner:
docker model run hf.co/FINAL-Bench/Darwin-27B-KR
File size: 13,060 Bytes
171a769 | 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 | ---
license: apache-2.0
base_model:
- FINAL-Bench/Darwin-27B-Opus
- Qwen/Qwen3.5-27B
tags:
- darwin-v6
- generation-2
- evolutionary-merge
- mri-guided
- dare-ties
- qwen3.5
- korean
- hybrid-vigor
- reasoning
- thinking
- proto-agi
- vidraft
- k-ai
language:
- ko
- en
- ja
- zh
- multilingual
pipeline_tag: text-generation
library_name: transformers
---
# Darwin-27B-KR — Korean Hybrid Vigor through Evolutionary FFN Breeding
<p align="center">
<a href="https://huggingface.co/FINAL-Bench/Darwin-27B-Opus"><img src="https://img.shields.io/badge/🧬_Father-Darwin--27B--Opus-blue?style=for-the-badge" alt="Father"></a>
<a href="https://huggingface.co/FINAL-Bench/Darwin-27B-KR"><img src="https://img.shields.io/badge/⭐_Child-Darwin--27B--KR-gold?style=for-the-badge" alt="Child"></a>
</p>
<p align="center">
<a href="https://huggingface.co/FINAL-Bench/Darwin-4B-Genesis"><img src="https://img.shields.io/badge/🧬_Model-Darwin--4B--Genesis-blue?style=for-the-badge" alt="Genesis"></a>
<a href="https://huggingface.co/FINAL-Bench/Darwin-9B-Opus"><img src="https://img.shields.io/badge/🧬_Model-Darwin--9B--Opus-blue?style=for-the-badge" alt="9B"></a>
<a href="https://huggingface.co/FINAL-Bench/Darwin-31B-Opus"><img src="https://img.shields.io/badge/🧬_Model-Darwin--31B--Opus-blue?style=for-the-badge" alt="31B"></a>
<a href="https://huggingface.co/FINAL-Bench/Darwin-35B-A3B-Opus"><img src="https://img.shields.io/badge/🧬_Model-Darwin--35B--A3B--Opus-blue?style=for-the-badge" alt="35B"></a>
</p>
<p align="center">
<a href="https://huggingface.co/collections/FINAL-Bench/darwin-family"><img src="https://img.shields.io/badge/🏠_Darwin_Family-Collection-green?style=for-the-badge" alt="Family"></a>
<a href="https://huggingface.co/spaces/FINAL-Bench/Leaderboard"><img src="https://img.shields.io/badge/🏆_FINAL_Bench-Leaderboard-green?style=for-the-badge" alt="FINAL Bench"></a>
</p>
> Qwen3.5-27B Dense | 27B Params | Thinking Mode | 262K Context | 201 Languages | BF16 | Apache 2.0
> **The child outperforms both parents on Korean cultural intelligence — Hybrid Vigor confirmed at 27B scale**
---
## What Is This?
Darwin-27B-KR is a second-generation Darwin model bred from two complementary parents:
- **Father (Darwin-27B-Opus):** Qwen3.5-27B evolved with Claude 4.6 Opus reasoning FFN — strong in logical reasoning and deep inference
- **Mother (Qwen3.5-27B-KoSFT):** Qwen3.5-27B fine-tuned with 230K+ Korean language samples — strong in Korean cultural knowledge and linguistic understanding (private, purpose-bred for Korean knowledge reinforcement)
The Darwin V6 engine automatically discovered that **93.3% of FFN layers should come from the Mother**, while **preserving 93.2% of the Father's Attention layers** — confirming the core Darwin principle: *FFN carries knowledge, Attention carries reasoning.*
The result: **the child outperforms both parents on every Korean benchmark category**, a phenomenon known as **Hybrid Vigor (잡종강세)**.
---
## Hybrid Vigor: 4-Generation CLIcK Comparison
CLIcK (Cultural and Linguistic Intelligence in Korean) — 200 questions, 0-shot, loglikelihood evaluation.
| Generation | Model | CLIcK (Overall) | Culture | Language |
|---|---|---|---|---|
| Gen 0 (Ancestor) | Qwen3.5-27B | 69.52% | 71.84% | 64.66% |
| Gen 1 (Father) | Darwin-27B-Opus | 70.19% | 72.91% | 64.47% |
| — (Mother) | Qwen3.5-27B-KoSFT | 74.74% | 76.95% | 70.11% |
| **Gen 2 (Child)** | **Darwin-27B-KR** | **75.59%** ★ | **77.85%** ★ | **70.86%** ★ |
**The child surpasses both parents.** Two generations of zero-training evolution achieved **+6.07%p over the original Qwen3.5-27B.**
### Detailed Category Breakdown
| Category | Ancestor | Father | Mother | **Child** | Best |
|---|---|---|---|---|---|
| **Economy** | 93.22% | 93.22% | 94.92% | **94.92%** | Mother=Child |
| **Geography** | 70.23% | 70.23% | 75.57% | **75.57%** | Mother=Child |
| **History** | 47.00% | 47.00% | 50.50% | **53.50%** | **Child ★** |
| **K-pop** | 92.68% | **97.56%** | 90.24% | 92.68% | Father |
| **Law** | 59.50% | 60.00% | 67.50% | **69.50%** | **Child ★** |
| **Politics** | 80.95% | 82.14% | **86.90%** | 85.71% | Mother |
| **Society** | 87.00% | 89.00% | **90.50%** | 90.00% | Mother |
| **Tradition** | 81.50% | 82.50% | 88.00% | **88.50%** | **Child ★** |
| **Functional** | 68.18% | 67.42% | 71.21% | **75.00%** | **Child ★** |
| **Grammar** | 44.50% | 44.50% | **55.00%** | 53.00% | Mother |
| **Text** | 82.50% | 82.50% | 84.50% | **86.00%** | **Child ★** |
**Child wins 7 out of 11 categories.** The largest gains are in Law (+9.5%p over Father), Functional Language (+7.6%p), and History (+6.5%p).
---
## Why This Matters
### 1. Hybrid Vigor at 27B Scale
Previously demonstrated at 4B (Darwin-4B-Genesis, CLIcK 92%). Now confirmed at 27B: the child exceeds both parents on Korean cultural and linguistic intelligence with zero additional training.
### 2. CMA-ES Discovered the Optimal Breeding Strategy
The evolutionary optimizer automatically determined:
- **FFN ratio: 93.3%** → Almost entirely Mother's Korean knowledge
- **Attention ratio: 6.8%** → Almost entirely Father's reasoning chains
- This independently confirms our finding: *"FFN = knowledge (safe to swap), Attention = reasoning (must preserve)"*
### 3. Ancestral Knowledge Tracking
By evaluating all four generations (Ancestor → Father → Mother → Child), we can trace how knowledge flows through evolutionary breeding:
- Father inherits Claude's reasoning but loses some Korean knowledge
- Mother gains Korean knowledge through SFT
- Child combines both — inheriting the best of each lineage
### 4. Zero Training Cost
| | This Model | Typical Fine-Tuning |
|---|---|---|
| GPU | H100 × 1 | 8-64 GPUs |
| Time | ~2.5 hours | Days to weeks |
| Training data | 0 tokens | Millions of tokens |
| Training compute | Fitness evaluation only | Full gradient updates |
---
## How It Works: Evolutionary FFN Breeding
```
Father: Darwin-27B-Opus (Claude reasoning FFN)
Mother: Qwen3.5-27B-KoSFT (Korean knowledge FFN)
Both: hidden_size=4096, intermediate=17408, 64 layers
= 100% structurally compatible
Method: CMA-ES optimizes per-block breeding ratios
across 14 genome dimensions
Fitness: kmmlu_lite (Korean knowledge benchmark)
Result: Child inherits Mother's Korean FFN knowledge
while preserving Father's reasoning Attention
```
### Optimal Genome (Discovered by CMA-ES)
```
global_ratio: 0.4812 Overall 48:52 Father:Mother balance
attn_ratio: 0.0681 Attention 93.2% from Father (reasoning preserved!)
ffn_ratio: 0.9334 FFN 93.3% from Mother (Korean knowledge absorbed!)
embed_ratio: 0.3678 Embedding 63:37 Father:Mother
density_a: 0.9699 Father density (DARE sparsity)
density_b: 0.9767 Mother density (DARE sparsity)
mri_trust: 0.5333 MRI guidance weight
```
### Block-Level Ratios
```
Block 0 (L0-10): 0.6041 Mother-leaning (early layers)
Block 1 (L11-21): 0.4107 Balanced
Block 2 (L22-32): 0.3975 Father-leaning (core reasoning)
Block 3 (L33-43): 0.6078 Mother-leaning (knowledge layers)
Block 4 (L44-54): 0.7820 Strong Mother (Korean knowledge peak)
Block 5 (L55-64): 0.3960 Father-leaning (output reasoning)
```
**Key insight:** CMA-ES applied the strongest Mother influence to Block 4 (L44-54), which corresponds to deep knowledge layers, while preserving Father's reasoning in Blocks 2 and 5.
---
## Evolution Parameters
| Setting | Value |
|---|---|
| Engine | Darwin V6 (Diagnostic-Guided Evolutionary Merge) |
| Merge method | DARE-TIES (direct PyTorch, no mergekit dependency) |
| Population size | 16 |
| Phase 1 (proxy search) | 150 steps |
| Phase 2 (real merge) | 25 steps, top 5 elite |
| Fitness function | kmmlu_lite (Korean knowledge) |
| Best fitness | **0.8274 (82.74%)** |
| MRI guidance | Enabled (static + probe analysis) |
| Total time | ~2.5 hours (H100 ×1) |
---
## Family Tree
```
Qwen/Qwen3.5-27B (Ancestor, CLIcK 69.52%)
├── × Jackrong/Claude-4.6-Opus-Reasoning-Distilled
│ └── Darwin-27B-Opus (Father, Gen 1, CLIcK 70.19%)
│ │ + Claude reasoning FFN
│ │ + GPQA Diamond 74.7% greedy
│ │
│ └── × Qwen3.5-27B-KoSFT (Mother, CLIcK 74.74%)
│ │ + 230K Korean SFT samples
│ │ + K-AI Leaderboard caliber
│ │
│ └── ★ Darwin-27B-KR (Child, Gen 2, CLIcK 75.59%)
│ Hybrid Vigor: surpasses BOTH parents!
│ FFN 93.3% Mother + Attention 93.2% Father
```
### DNA Composition
```
Qwen3.5-27B (foundation) ~40%
Claude 4.6 Opus (reasoning patterns) ~5% (via Father's Attention)
Korean SFT (cultural knowledge) ~55% (via Mother's FFN)
```
---
## Model Specifications
| | |
|---|---|
| Architecture | Qwen3.5 Dense (GatedDeltaNet) |
| Parameters | 27B |
| Hidden Size | 4096 |
| Intermediate Size | 17408 |
| Layers | 64 |
| Context Length | 262,144 (extensible to 1M via YaRN) |
| Precision | BF16 |
| Languages | 201 |
| Thinking | Enabled (chain-of-thought reasoning) |
| License | Apache 2.0 |
---
## Usage
### Transformers
```python
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
tokenizer = AutoTokenizer.from_pretrained(
"FINAL-Bench/Darwin-27B-KR", trust_remote_code=True
)
model = AutoModelForCausalLM.from_pretrained(
"FINAL-Bench/Darwin-27B-KR",
torch_dtype=torch.bfloat16,
device_map="auto",
trust_remote_code=True,
)
messages = [{"role": "user", "content": "한국의 전통 혼례 절차에 대해 설명해주세요."}]
text = tokenizer.apply_chat_template(
messages, tokenize=False, add_generation_prompt=True
)
inputs = tokenizer(text, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=4096, do_sample=False)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True))
```
---
## VRAM Requirements
| Setup | VRAM | Status |
|---|---|---|
| BF16 Full Precision | ~55 GB | H100 single GPU |
| NVIDIA H100 80GB | 80 GB | Very comfortable |
| 2× RTX 4090 48GB | 48 GB | Tensor parallel |
| 4-bit Quantized | ~16 GB | RTX 4090 single GPU |
---
## Darwin 27B Family
| Model | Gen | Role | CLIcK | GPQA | Specialty |
|---|---|---|---|---|---|
| Qwen3.5-27B | Gen 0 | Ancestor | 69.52% | 85.5% | Foundation |
| Darwin-27B-Opus | Gen 1 | Father | 70.19% | 74.7%* | Claude reasoning |
| Qwen3.5-27B-KoSFT | — | Mother | 74.74% | — | Korean knowledge |
| **Darwin-27B-KR** | **Gen 2** | **Child** | **75.59%** ★ | — | **Hybrid: Reasoning + Korean** |
*GPQA evaluated with greedy decoding; maj@8 retry in progress (estimated 88.9%)
---
## Key Findings
1. **FFN = Knowledge, Attention = Reasoning** — CMA-ES independently discovered this by assigning 93.3% FFN from Mother (Korean) and 93.2% Attention from Father (reasoning)
2. **Hybrid Vigor scales with model size** — Confirmed at 4B (Genesis, CLIcK 92%) and now at 27B (KR, CLIcK 75.59%)
3. **Zero-training evolution works recursively** — Gen 0 → Gen 1 → Gen 2, each generation improving, with zero gradient updates
4. **Ancestral knowledge is preserved** — Despite two generations of breeding, core Qwen3.5-27B capabilities remain intact
5. **Korean knowledge transfers through FFN** — The Mother's 230K Korean SFT knowledge was successfully transplanted into the child via FFN breeding
---
## Roadmap
- [ ] Full GPQA Diamond evaluation (greedy + selective maj@8 retry)
- [ ] K-AI Leaderboard official submission (KMMLU-Pro, CLIcK, HLE, MuSR, Com2)
- [ ] MMLU-Pro evaluation and HF leaderboard registration
- [ ] Cross-architecture breeding at 27B scale (Transformer × Mamba FFN)
- [ ] Third-generation breeding with domain-specific mothers
---
## References
- DARE-TIES: Yadav et al., 2023 (https://arxiv.org/abs/2311.03099) — re-implemented, not library-dependent
- CLIcK: Kim et al., 2024 (https://arxiv.org/abs/2403.06412) — Cultural and Linguistic Intelligence in Korean
- Darwin V6 Engine: https://huggingface.co/spaces/ginigen-ai/DARWIN-V5-BACKUP
- FINAL Bench: https://huggingface.co/spaces/FINAL-Bench/Leaderboard
- Darwin Family Collection: https://huggingface.co/collections/FINAL-Bench/darwin-family
---
## Built By
| | |
|---|---|
| Developer | VIDRAFT |
| Engine | Darwin V6 (Diagnostic-Guided Evolutionary Merge) |
| Generation | **Generation 2** — Korean Hybrid Vigor |
| Architecture | Qwen3.5-27B Dense |
| License | Apache 2.0 |
---
## Citation
```bibtex
@misc{vidraft_darwin_27b_kr_2026,
title = {Darwin-27B-KR: Korean Hybrid Vigor through Evolutionary FFN Breeding},
subtitle = {Child Surpasses Both Parents on Korean Cultural Intelligence with Zero Training},
author = {VIDRAFT},
year = {2026},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/FINAL-Bench/Darwin-27B-KR}}
}
``` |