Image-Text-to-Text
Transformers
Safetensors
Korean
English
qwen3_5
korean
reasoning
darwin
evolutionary-merge
conversational
Instructions to use Warecube/Warecube-KO-27B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Warecube/Warecube-KO-27B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="Warecube/Warecube-KO-27B") 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, AutoModelForImageTextToText processor = AutoProcessor.from_pretrained("Warecube/Warecube-KO-27B") model = AutoModelForImageTextToText.from_pretrained("Warecube/Warecube-KO-27B") 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
- vLLM
How to use Warecube/Warecube-KO-27B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Warecube/Warecube-KO-27B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Warecube/Warecube-KO-27B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/Warecube/Warecube-KO-27B
- SGLang
How to use Warecube/Warecube-KO-27B 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 "Warecube/Warecube-KO-27B" \ --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": "Warecube/Warecube-KO-27B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'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 "Warecube/Warecube-KO-27B" \ --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": "Warecube/Warecube-KO-27B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use Warecube/Warecube-KO-27B with Docker Model Runner:
docker model run hf.co/Warecube/Warecube-KO-27B
upload README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,160 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- ko
|
| 5 |
+
- en
|
| 6 |
+
library_name: transformers
|
| 7 |
+
tags:
|
| 8 |
+
- korean
|
| 9 |
+
- reasoning
|
| 10 |
+
- darwin
|
| 11 |
+
- evolutionary-merge
|
| 12 |
+
base_model:
|
| 13 |
+
- FINAL-Bench/Darwin-27B-Opus
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# Warecube-KO-27B
|
| 17 |
+
|
| 18 |
+
νκ΅μ΄ reasoning λͺ¨λΈ β Darwin μ§νμ λ¨Έμ§ κΈ°λ°.
|
| 19 |
+
|
| 20 |
+
---
|
| 21 |
+
|
| 22 |
+
## 𧬠Darwin μ§ν 컨μ
|
| 23 |
+
|
| 24 |
+
λ³Έ λͺ¨λΈμ **Darwin V7 μ§νμ λͺ¨λΈ λ¨Έμ§(Evolutionary Model Merge)**
|
| 25 |
+
ν¨λ¬λ€μμΌλ‘ μ μλμμ΅λλ€.
|
| 26 |
+
|
| 27 |
+
```
|
| 28 |
+
μμ° μ§ν Darwin λ¨Έμ§
|
| 29 |
+
βββββββββ βββββββββββ
|
| 30 |
+
μ μ μ κ΅μ°¨ (crossover) β κ°μ€μΉ λͺ¨λλ³ λΉμ¨ κ²°ν©
|
| 31 |
+
μμ° μ ν (selection) β μ ν©λ νκ° ν μ΅μ νμ μ λ³
|
| 32 |
+
μΈλ μ§ν (generations) β λ€μΈλ λ¨Έμ§Β·μ μ λ°λ³΅
|
| 33 |
+
μ μ μμ‘΄ β K-AI λλ©μΈ μ°μ μμλ§ λ³΄μ‘΄
|
| 34 |
+
```
|
| 35 |
+
|
| 36 |
+
λΆλͺ¨μ λ₯λ ₯μ΄ μμ λͺ¨λΈλ‘ **μ μ μ μΌλ‘ κ³μΉ**λλ©°,
|
| 37 |
+
μΈλλ₯Ό κ±°μ³ νκ΅μ΄Β·μΆλ‘ Β·λ¬Έν μ§λ₯μ΄ μ§νν©λλ€.
|
| 38 |
+
|
| 39 |
+
---
|
| 40 |
+
|
| 41 |
+
## ποΈ κ°λ¬Έ κ³λ³΄
|
| 42 |
+
|
| 43 |
+
```
|
| 44 |
+
ββββββββββββββββββββββββββββββββββββββββββββ
|
| 45 |
+
β μ¦μ‘°λΆ (Great-Grandfather) β
|
| 46 |
+
β Qwen-3.6-27B β
|
| 47 |
+
ββββββββββββββββββββββββββββββββββββββββββββ
|
| 48 |
+
β
|
| 49 |
+
βΌ Darwin V7 μ§ν λ¨Έμ§
|
| 50 |
+
ββββββββββββββββββββββββββββββββββββββββββββ
|
| 51 |
+
β μ‘°λΆ (Grandfather) β
|
| 52 |
+
β Darwin-3.6-28B β
|
| 53 |
+
β - Qwen 3.6 μ§ν λ¨Έμ§μ μ μ β
|
| 54 |
+
ββββββββββββββββββββββββββββββββββββββββββββ
|
| 55 |
+
β
|
| 56 |
+
βΌ νκ΅μ΄Β·μΆλ‘ νΉν μ§ν
|
| 57 |
+
ββββββββββββββββββββββββββββββββββββββββββββ
|
| 58 |
+
β μλΉ (Father) β
|
| 59 |
+
β FINAL-Bench/Darwin-27B-Opus β
|
| 60 |
+
β β
|
| 61 |
+
β - Darwin family reasoning μ μ β
|
| 62 |
+
β - GPQA 88.4% (μμ΄ μΆλ‘ ) β
|
| 63 |
+
β - <think> νΈλ μ΄μ€ ν¨ν΄ 보μ β
|
| 64 |
+
β - Apache 2.0 β
|
| 65 |
+
ββββββββββββββββββββββββββββββββββββββββββββ
|
| 66 |
+
β
|
| 67 |
+
ΓΓ λ€μ κ΅λ°° ΓΓ
|
| 68 |
+
β
|
| 69 |
+
βΌ Darwin μ§νμ λ¨Έμ§ + νκ΅μ΄ μ μ
|
| 70 |
+
ββββββββββββββββββββββββββββββββββββββββββββ
|
| 71 |
+
β μμ (Child) β λ³Έ λͺ¨λΈ β
|
| 72 |
+
β Warecube/Warecube-KO-27B β
|
| 73 |
+
β β
|
| 74 |
+
β β¦ μλΉ μ reasoning DNA μ§μ κ³μΉ β
|
| 75 |
+
β β¦ νκ΅μ΄ ννΒ·μ§μ μ§ν κ°ν β
|
| 76 |
+
β β¦ <think> μΆλ‘ νΈλ μ΄μ€ 보쑴 β
|
| 77 |
+
β β¦ K-AI λλ©μΈ μ ν©λ μ§ν β
|
| 78 |
+
ββββββββββββββββββββββββββββββββββββββββββββ
|
| 79 |
+
```
|
| 80 |
+
|
| 81 |
+
---
|
| 82 |
+
|
| 83 |
+
## π μ§ν λ¨κ³
|
| 84 |
+
|
| 85 |
+
| Stage | κ°λ΅ |
|
| 86 |
+
|:---|:---|
|
| 87 |
+
| **1. κ΅λ°° (Crossover)** | μΉκ° κ°μ€μΉλ₯Ό λͺ¨λλ³ λΉμ¨λ‘ μ§ν λ¨Έμ§ |
|
| 88 |
+
| **2. μ ν (Selection)** | νκ΅μ΄ λλ©μΈ μ ν©λ νκ°λ‘ μ°μ νμ μ λ³ |
|
| 89 |
+
| **3. μ μ (Refinement)** | νκ΅μ΄ instruction λ°μ΄ν°λ‘ μΆκ° μ§ν |
|
| 90 |
+
| **4. μ μ (Adaptation)** | K-AI Leaderboard Docker νΈν νμμΌλ‘ μ λΉ |
|
| 91 |
+
|
| 92 |
+
---
|
| 93 |
+
|
| 94 |
+
## π― μ¬μ©λ²
|
| 95 |
+
|
| 96 |
+
```python
|
| 97 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
| 98 |
+
import torch
|
| 99 |
+
|
| 100 |
+
model_id = "Warecube/Warecube-KO-27B"
|
| 101 |
+
tokenizer = AutoTokenizer.from_pretrained(
|
| 102 |
+
model_id, trust_remote_code=True
|
| 103 |
+
)
|
| 104 |
+
model = AutoModelForCausalLM.from_pretrained(
|
| 105 |
+
model_id,
|
| 106 |
+
torch_dtype=torch.bfloat16,
|
| 107 |
+
device_map="auto",
|
| 108 |
+
trust_remote_code=True,
|
| 109 |
+
)
|
| 110 |
+
|
| 111 |
+
prompt = "νκ΅μ μΆμμ λν΄ μ€λͺ
ν΄μ£ΌμΈμ."
|
| 112 |
+
messages = [{"role": "user", "content": prompt}]
|
| 113 |
+
inputs = tokenizer.apply_chat_template(
|
| 114 |
+
messages, return_tensors="pt", add_generation_prompt=True
|
| 115 |
+
)
|
| 116 |
+
out = model.generate(
|
| 117 |
+
inputs.to(model.device),
|
| 118 |
+
max_new_tokens=512,
|
| 119 |
+
do_sample=False,
|
| 120 |
+
)
|
| 121 |
+
print(tokenizer.decode(out[0], skip_special_tokens=False))
|
| 122 |
+
```
|
| 123 |
+
|
| 124 |
+
---
|
| 125 |
+
|
| 126 |
+
## π οΈ μ¬μ
|
| 127 |
+
|
| 128 |
+
- νλΌλ―Έν°: 27B (text)
|
| 129 |
+
- μμν: bf16
|
| 130 |
+
- 컨ν
μ€νΈ: 8K (νμ₯ κ°λ₯)
|
| 131 |
+
- μΈμ΄: νκ΅μ΄ + μμ΄
|
| 132 |
+
- μΆλ‘ : `<think>` reasoning trace
|
| 133 |
+
- License: Apache 2.0
|
| 134 |
+
|
| 135 |
+
---
|
| 136 |
+
|
| 137 |
+
## π νκ°
|
| 138 |
+
|
| 139 |
+
νκ΅μ΄ κ³΅κ° 10 λ°μ΄ν°μ
, 100λ¬Έμ Γ 1 seed.
|
| 140 |
+
|
| 141 |
+
| Dataset | Score |
|
| 142 |
+
|:---|---:|
|
| 143 |
+
| CLIcK | **87%** |
|
| 144 |
+
| KMMLU History | **50%** |
|
| 145 |
+
| KMMLU Law | **29%** |
|
| 146 |
+
| KMMLU Health | 78% |
|
| 147 |
+
| HAERAE General | 58% |
|
| 148 |
+
| HAERAE History | 86% |
|
| 149 |
+
| HAERAE Linguistics | 89% |
|
| 150 |
+
| KoBEST Hellaswag | 89% |
|
| 151 |
+
| KoBEST COPA | **100%** |
|
| 152 |
+
| KoBEST BoolQ | 97% |
|
| 153 |
+
| **Macro Avg** | **76.3%** |
|
| 154 |
+
|
| 155 |
+
---
|
| 156 |
+
|
| 157 |
+
## π€ μΆμ²
|
| 158 |
+
|
| 159 |
+
- μλΉ : [FINAL-Bench/Darwin-27B-Opus](https://huggingface.co/FINAL-Bench/Darwin-27B-Opus)
|
| 160 |
+
- κ°λ¬Έ: Darwin family (Darwin V7 μ§νμ λ¨Έμ§ μ리μ¦)
|