File size: 5,997 Bytes
662e434
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
license: apache-2.0
library_name: transformers
pipeline_tag: text-generation
language:
- en
- ko
tags:
- darwin
- expert
- multi-domain
- task-arithmetic
- cohere2
- moe
base_model: FINAL-Bench/Darwin-218B-kr
---

# 🌌 Darwin-218B-Expert

> **VIDRAFT FINAL-Bench**
> Darwin family multi-domain Expert flagship β€” 218B parameter Cohere2 MoE base with chemistry + biology domain knowledge integrated via **task arithmetic** on Korean-aligned base.

A multi-domain "Expert" derivative of the Darwin-218B family. Built by composing chemistry and biology domain deltas onto the Korean-aligned base, this v1 release preserves Korean fluency while adding scientific reasoning in chemistry and biology.

---

## Lineage

```
CohereLabs/command-a-plus-05-2026-bf16     (base 218B MoE, ~25B active)
              ↓ Korean LoRA merge
       Darwin-218B-kr                       (Korean-aligned base)
              ↓ Chem LoRA merge        ↓ Bio LoRA merge
   Darwin-218B-Expert-Chem      Darwin-218B-Expert-Bio
                       ↓ task arithmetic ↓
              Darwin-218B-Expert  ← THIS MODEL (v1 = Chem + Bio)
```

**Construction (v1)**: task arithmetic on the Korean base
```
W_Expert = W_Chem + W_Bio βˆ’ W_kr
        = W_kr + Ξ”Chem + Ξ”Bio
```

Both chemistry and biology deltas preserved at 100% (no dilution), with Korean fluency inherited from the kr base.

---

## Domain Capabilities

| Domain | Coverage | Source |
|--------|----------|--------|
| **Korean (ν•œκ΅­μ–΄)** | Native fluency | Inherited from `Darwin-218B-kr` base |
| **Chemistry** | Organic, spectroscopy, physical, inorganic, analytical, special (6-domain SFT) | `Darwin-218B-Expert-Chem` delta (Opus-distilled, anti-contamination) |
| **Biology** | Cellular, molecular, biochem, ecology, evolution (6-domain SFT) | `Darwin-218B-Expert-Bio` delta (Opus-distilled, anti-contamination) |
| **General** | All capabilities from Cohere Command A+ retained | Underlying base |

---

## Architecture

| Item | Value |
|------|-------|
| Parameters | 218B total / ~25B active (MoE) |
| Architecture | `Cohere2VisionForConditionalGeneration` (multimodal-capable, text-primary) |
| Experts | 128 (Cohere2 MoE structure) |
| Precision | BF16 |
| Tokenizer | Cohere2 (vocab 256K) |
| Languages | English, Korean |
| Context | 65,536 tokens |

---

## Usage

```python
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch

model = AutoModelForCausalLM.from_pretrained(
    "FINAL-Bench/Darwin-218B-Expert",
    dtype=torch.bfloat16,
    device_map="auto",
    trust_remote_code=True,
)
tok = AutoTokenizer.from_pretrained("FINAL-Bench/Darwin-218B-Expert")

messages = [
    {"role": "user", "content": "Explain the mechanism of SN2 reaction step by step. Then describe how mRNA splicing maintains reading frame fidelity."}
]
prompt = tok.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tok(prompt, return_tensors="pt").to(model.device)
out = model.generate(**inputs, max_new_tokens=2048, temperature=0.3, top_p=0.9)
print(tok.decode(out[0][inputs.input_ids.shape[1]:], skip_special_tokens=True))
```

**Serving (vLLM, recommended)**:
```bash
vllm serve FINAL-Bench/Darwin-218B-Expert \
    --tensor-parallel-size 8 \
    --dtype bfloat16 \
    --max-model-len 65536 \
    --trust-remote-code
```

Requires vLLM β‰₯ 0.21.0 with `Cohere2VisionForConditionalGeneration` support.

---

## Methodology β€” Task Arithmetic

Unlike sibling-model averaging (which dilutes expertise), this model uses **task vectors** (Ilharco et al., 2022) to compose domain knowledge:

1. Train domain-specific LoRA on a shared base (`Darwin-218B-kr`)
2. Each merged expert (`Expert-Chem`, `Expert-Bio`) encodes a domain delta from the base
3. Add deltas to the base: `W_final = W_base + Ξ£ Ξ”_domains`

This is mathematically equivalent to applying multiple LoRA adapters simultaneously, but produces a single dense checkpoint requiring no runtime adapter loading.

**Properties**:
- Both expert deltas preserved at 100% magnitude
- No interference dilution (unlike weighted blends)
- Korean base layer intact

---

## Version Roadmap

| Version | Domains | Status |
|---------|---------|--------|
| **v1** | Korean + Chemistry + Biology | βœ… Current |
| v2 | + Mathematics | ⬜ Planned |
| v3 | + Code | ⬜ Planned |
| v4 | + Physics, Law | ⬜ Planned |

Each domain delta is added via task arithmetic on the shared `Darwin-218B-kr` base.

---

## License

**Apache License 2.0**

Built upon `CohereLabs/command-a-plus-05-2026-bf16` (Apache-2.0) and `Darwin-218B-kr` (Apache-2.0). Both upstream components are permissively licensed; users are responsible for compliance with upstream terms.

---

## Contributors

**Lead Architect & Developer**
**μž₯μž¬μ› (Jaewon Jang)** β€” CTO, VIDRAFT
*Multi-domain Expert composition design, task-arithmetic merge pipeline, domain SFT distillation pipelines.*

**Organization**
VIDRAFT / FINAL-Bench
https://huggingface.co/FINAL-Bench

---

## Citation

```bibtex
@misc{darwin-218b-expert-2026,
  title  = {Darwin-218B-Expert: Multi-Domain Expert via Task Arithmetic on Korean-Aligned 218B MoE},
  author = {Jang, Jaewon and {VIDRAFT FINAL-Bench Team}},
  year   = {2026},
  publisher = {Hugging Face},
  howpublished = {\url{https://huggingface.co/FINAL-Bench/Darwin-218B-Expert}}
}
```

---

## References

- **Task Arithmetic**: Ilharco et al., "Editing Models with Task Arithmetic", ICLR 2023 β€” [arXiv:2212.04089](https://arxiv.org/abs/2212.04089)
- **TIES-Merging**: Yadav et al., "TIES-Merging: Resolving Interference When Merging Models", NeurIPS 2023 β€” [arXiv:2306.01708](https://arxiv.org/abs/2306.01708)
- **Cohere Command A+** (base): [CohereLabs/command-a-plus-05-2026-bf16](https://huggingface.co/CohereLabs/command-a-plus-05-2026-bf16)
- **Darwin-218B-kr** (Korean base): private β€” `FINAL-Bench/Darwin-218B-kr`
- **Expert sources**: private β€” `FINAL-Bench/Darwin-218B-Expert-Chem`, `FINAL-Bench/Darwin-218B-Expert-Bio`