Upload EEVE Korean Custom model (checkpoint-500 merged)
Browse files- README.md +281 -0
- UPLOAD_GUIDE.md +177 -0
- chat_template.jinja +6 -0
- config.json +29 -0
- generation_config.json +7 -0
- model-00001-of-00005.safetensors +3 -0
- model-00002-of-00005.safetensors +3 -0
- model-00003-of-00005.safetensors +3 -0
- model-00004-of-00005.safetensors +3 -0
- model-00005-of-00005.safetensors +3 -0
- model.safetensors.index.json +443 -0
- special_tokens_map.json +30 -0
- tokenizer.json +0 -0
- tokenizer_config.json +66 -0
- upload_to_hf.py +198 -0
README.md
ADDED
|
@@ -0,0 +1,281 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- ko
|
| 4 |
+
- en
|
| 5 |
+
license: cc-by-nc-sa-4.0
|
| 6 |
+
base_model: yanolja/EEVE-Korean-Instruct-10.8B-v1.0
|
| 7 |
+
tags:
|
| 8 |
+
- korean
|
| 9 |
+
- instruction-tuning
|
| 10 |
+
- lora
|
| 11 |
+
- merged
|
| 12 |
+
library_name: transformers
|
| 13 |
+
pipeline_tag: text-generation
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# EEVE-Korean-Custom-10.8B
|
| 17 |
+
|
| 18 |
+
> ๐ฐ๐ท **ํ๊ตญ์ด ์ปค์คํ
ํ์ธํ๋** - ๋ฐ๋ง ์ง๋ฌธ์๋ ์กด๋๋ง๋ก ์ ์คํ๊ฒ ๋ต๋ณํฉ๋๋ค
|
| 19 |
+
|
| 20 |
+
## ๋ชจ๋ธ ์๊ฐ
|
| 21 |
+
|
| 22 |
+
์ด ๋ชจ๋ธ์ [EEVE-Korean-Instruct-10.8B-v1.0](https://huggingface.co/yanolja/EEVE-Korean-Instruct-10.8B-v1.0)์ ๋ฒ ์ด์ค๋ก, ๊ณ ํ์ง ํ๊ตญ์ด instruction ๋ฐ์ดํฐ๋ก **LoRA ํ์ธํ๋**ํ ํ **๋ณํฉ(merged)** ํ ๋ชจ๋ธ์
๋๋ค.
|
| 23 |
+
|
| 24 |
+
### ์ฃผ์ ํน์ง
|
| 25 |
+
|
| 26 |
+
- โ
**๊ณ ํ์ง ํ๊ตญ์ด**: 100K+ ๊ณ ํ์ง instruction ๋ฐ์ดํฐ๋ก ํ๋ จ
|
| 27 |
+
- โ
**8K context**: ๊ธด ๋ฌธ๋งฅ ์ง์
|
| 28 |
+
- โ
**ํ์ bilingual**: ํ๊ตญ์ด์ ์์ด ๋ชจ๋ ์ง์
|
| 29 |
+
|
| 30 |
+
## ๋น ๋ฅธ ์์
|
| 31 |
+
|
| 32 |
+
### ์ค์น
|
| 33 |
+
|
| 34 |
+
```bash
|
| 35 |
+
pip install transformers torch accelerate
|
| 36 |
+
```
|
| 37 |
+
|
| 38 |
+
### ๊ธฐ๋ณธ ์ฌ์ฉ
|
| 39 |
+
|
| 40 |
+
```python
|
| 41 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 42 |
+
|
| 43 |
+
# ๋ชจ๋ธ ๋ก๋ (PEFT ์์ด!)
|
| 44 |
+
model = AutoModelForCausalLM.from_pretrained(
|
| 45 |
+
"MyeongHo0621/eeve-vss-smh",
|
| 46 |
+
device_map="auto",
|
| 47 |
+
torch_dtype="auto"
|
| 48 |
+
)
|
| 49 |
+
tokenizer = AutoTokenizer.from_pretrained("MyeongHo0621/eeve-vss-smh")
|
| 50 |
+
|
| 51 |
+
# ํ๋กฌํํธ ํ
ํ๋ฆฟ (EEVE ํ์)
|
| 52 |
+
def create_prompt(user_input):
|
| 53 |
+
return f"""A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions.
|
| 54 |
+
Human: {user_input}
|
| 55 |
+
Assistant: """
|
| 56 |
+
|
| 57 |
+
# ๋ํ
|
| 58 |
+
user_input = "ํ์ด์ฌ์ผ๋ก ํผ๋ณด๋์น ์์ด ๊ตฌํํด์ค" # ๋ฐ๋ง
|
| 59 |
+
prompt = create_prompt(user_input)
|
| 60 |
+
|
| 61 |
+
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
|
| 62 |
+
outputs = model.generate(
|
| 63 |
+
**inputs,
|
| 64 |
+
max_new_tokens=512,
|
| 65 |
+
temperature=0.3,
|
| 66 |
+
top_p=0.85,
|
| 67 |
+
repetition_penalty=1.0,
|
| 68 |
+
do_sample=True
|
| 69 |
+
)
|
| 70 |
+
|
| 71 |
+
response = tokenizer.decode(outputs[0][inputs['input_ids'].shape[1]:], skip_special_tokens=True)
|
| 72 |
+
print(response) # ์กด๋๋ง๋ก ๋ต๋ณ
|
| 73 |
+
```
|
| 74 |
+
|
| 75 |
+
### ์คํธ๋ฆฌ๋ฐ ์์ฑ
|
| 76 |
+
|
| 77 |
+
```python
|
| 78 |
+
from transformers import TextIteratorStreamer
|
| 79 |
+
from threading import Thread
|
| 80 |
+
|
| 81 |
+
streamer = TextIteratorStreamer(tokenizer, skip_special_tokens=True)
|
| 82 |
+
generation_kwargs = {
|
| 83 |
+
**inputs,
|
| 84 |
+
"max_new_tokens": 512,
|
| 85 |
+
"temperature": 0.3,
|
| 86 |
+
"top_p": 0.85,
|
| 87 |
+
"streamer": streamer
|
| 88 |
+
}
|
| 89 |
+
|
| 90 |
+
thread = Thread(target=model.generate, kwargs=generation_kwargs)
|
| 91 |
+
thread.start()
|
| 92 |
+
|
| 93 |
+
for text in streamer:
|
| 94 |
+
print(text, end="", flush=True)
|
| 95 |
+
```
|
| 96 |
+
|
| 97 |
+
## ํ๋ จ ์ธ๋ถ์ฌํญ
|
| 98 |
+
|
| 99 |
+
### ๋ฐ์ดํฐ์
|
| 100 |
+
|
| 101 |
+
- **ํฌ๊ธฐ**: ~100,000 ์ํ
|
| 102 |
+
- **์ถ์ฒ**: ๊ณ ํ์ง ํ๊ตญ์ด instruction ๋ฐ์ดํฐ์
์กฐํฉ
|
| 103 |
+
- KoAlpaca
|
| 104 |
+
- Ko-Ultrachat
|
| 105 |
+
- KoInstruct
|
| 106 |
+
- Kullm-v2
|
| 107 |
+
- Smol Korean Talk
|
| 108 |
+
- Korean Wiki QA
|
| 109 |
+
- **์ ์ **: ๊ธธ์ด ํํฐ๋ง, ๋ฐ๋ณต ์ ๊ฑฐ, ์ธ์ด ํ์ธ, ํน์๋ฌธ์ ์ ๊ฑฐ
|
| 110 |
+
|
| 111 |
+
### LoRA ์ค์
|
| 112 |
+
|
| 113 |
+
```yaml
|
| 114 |
+
r: 64 # LoRA rank
|
| 115 |
+
lora_alpha: 128 # alpha = 2 * r
|
| 116 |
+
lora_dropout: 0.05 # ๋ฎ๊ฒ ์ค์ (์ด๋ฏธ instruction-tuned)
|
| 117 |
+
target_modules:
|
| 118 |
+
- q_proj
|
| 119 |
+
- k_proj
|
| 120 |
+
- v_proj
|
| 121 |
+
- o_proj
|
| 122 |
+
- gate_proj
|
| 123 |
+
- up_proj
|
| 124 |
+
- down_proj
|
| 125 |
+
bias: none
|
| 126 |
+
task_type: CAUSAL_LM
|
| 127 |
+
```
|
| 128 |
+
|
| 129 |
+
### ํ๋ จ ํ์ดํผํ๋ผ๋ฏธํฐ
|
| 130 |
+
|
| 131 |
+
| ํ๋ผ๋ฏธํฐ | ๊ฐ | ์ค๋ช
|
|
| 132 |
+
|---------|-----|------|
|
| 133 |
+
| **Epochs** | 2 | ๋น ๋ฅธ ์๋ ด |
|
| 134 |
+
| **Batch Size** | 4 (per device) | ๋ฉ๋ชจ๋ฆฌ ํจ์จ |
|
| 135 |
+
| **Gradient Accumulation** | 4 | Effective batch = 16 |
|
| 136 |
+
| **Learning Rate** | 1e-4 | ๋ฎ์ LR (์์ ์ ) |
|
| 137 |
+
| **Max Length** | 2048 | ํ ํฐ ๊ธธ์ด |
|
| 138 |
+
| **Warmup Ratio** | 0.05 | ์ด๊ธฐ ์์ ํ |
|
| 139 |
+
| **Weight Decay** | 0.01 | ์ ๊ทํ |
|
| 140 |
+
| **Optimizer** | AdamW (8-bit) | ๋ฉ๋ชจ๋ฆฌ ์ต์ ํ |
|
| 141 |
+
| **LR Scheduler** | Cosine | ๋ถ๋๋ฌ์ด ๊ฐ์ |
|
| 142 |
+
|
| 143 |
+
### ๋ฉ๋ชจ๋ฆฌ ์ต์ ํ
|
| 144 |
+
|
| 145 |
+
- **4-bit Quantization**: NF4 (ํ๋ จ ์)
|
| 146 |
+
- **Gradient Checkpointing**: ํ์ฑํ
|
| 147 |
+
- **BF16 Training**: H100E ์ต์ ํ
|
| 148 |
+
- **VRAM ์ฌ์ฉ๋**: ~11GB (ํ๋ จ ์)
|
| 149 |
+
|
| 150 |
+
### ํ๋ จ ํ๊ฒฝ
|
| 151 |
+
|
| 152 |
+
- **GPU**: NVIDIA H100 80GB HBM3
|
| 153 |
+
- **Framework**: PyTorch 2.6, Transformers 4.46.3, PEFT 0.13.2
|
| 154 |
+
- **ํ๋ จ ์๊ฐ**: ~6-8์๊ฐ (500 steps)
|
| 155 |
+
- **Checkpoint**: checkpoint-500 (๋ณํฉ๋จ)
|
| 156 |
+
|
| 157 |
+
## ์ฑ๋ฅ ์์
|
| 158 |
+
|
| 159 |
+
### ๋ฐ๋ง โ ์กด๋๋ง ๋ณํ
|
| 160 |
+
|
| 161 |
+
**์
๋ ฅ (๋ฐ๋ง)**:
|
| 162 |
+
```
|
| 163 |
+
WMS๊ฐ ๋ญ์ผ?
|
| 164 |
+
```
|
| 165 |
+
|
| 166 |
+
**์ถ๋ ฅ (์กด๋๋ง)**:
|
| 167 |
+
```
|
| 168 |
+
WMS๋ Warehouse Management System์ ์ฝ์๋ก, ์ฐฝ๊ณ ๊ด๋ฆฌ ์์คํ
์ ์๋ฏธํฉ๋๋ค.
|
| 169 |
+
์ฌ๊ณ ์ถ์ , ์
์ถ๊ณ ๊ด๋ฆฌ, ํผํน, ํจํน ๋ฑ์ ๋ฌผ๋ฅ ํ๋ก์ธ์ค๋ฅผ ์๋ํํ๊ณ ์ต์ ํํ๋
|
| 170 |
+
์ํํธ์จ์ด ์์คํ
์
๋๋ค. ํจ์จ์ ์ธ ์ฐฝ๊ณ ์ด์์ ์ํด ์ฌ์ฉ๋๋ฉฐ, ์ค์๊ฐ ์ฌ๊ณ ๊ฐ์์ฑ๊ณผ
|
| 171 |
+
์์
์์ฐ์ฑ ํฅ์์ ์ ๊ณตํฉ๋๋ค.
|
| 172 |
+
```
|
| 173 |
+
|
| 174 |
+
### ์ฝ๋ ์์ฑ
|
| 175 |
+
|
| 176 |
+
**์
๋ ฅ**:
|
| 177 |
+
```
|
| 178 |
+
ํ์ด์ฌ์ผ๋ก ๋ฆฌ์คํธ๋ฅผ ์ญ์์ผ๋ก ๋ง๋ค์ด์ค
|
| 179 |
+
```
|
| 180 |
+
|
| 181 |
+
**์ถ๋ ฅ**:
|
| 182 |
+
```
|
| 183 |
+
ํ์ด์ฌ์์ ๋ฆฌ์คํธ๋ฅผ ์ญ์์ผ๋ก ๋ง๋๋ ๋ฐฉ๋ฒ์ ์๋ ค๋๋ฆฌ๊ฒ ์ต๋๋ค:
|
| 184 |
+
|
| 185 |
+
1. reverse() ๋ฉ์๋ ์ฌ์ฉ:
|
| 186 |
+
my_list = [1, 2, 3, 4, 5]
|
| 187 |
+
my_list.reverse()
|
| 188 |
+
print(my_list) # [5, 4, 3, 2, 1]
|
| 189 |
+
|
| 190 |
+
2. ์ฌ๋ผ์ด์ฑ ์ฌ์ฉ:
|
| 191 |
+
my_list = [1, 2, 3, 4, 5]
|
| 192 |
+
reversed_list = my_list[::-1]
|
| 193 |
+
print(reversed_list) # [5, 4, 3, 2, 1]
|
| 194 |
+
|
| 195 |
+
3. reversed() ํจ์ ์ฌ์ฉ:
|
| 196 |
+
my_list = [1, 2, 3, 4, 5]
|
| 197 |
+
reversed_list = list(reversed(my_list))
|
| 198 |
+
print(reversed_list) # [5, 4, 3, 2, 1]
|
| 199 |
+
|
| 200 |
+
๊ฐ ๋ฐฉ๋ฒ์ ์ฐจ์ด์ :
|
| 201 |
+
- reverse()๋ ์๋ณธ ๋ฆฌ์คํธ๋ฅผ ์ง์ ์์ ํฉ๋๋ค
|
| 202 |
+
- ์ฌ๋ผ์ด์ฑ๊ณผ reversed()๋ ์๋ก์ด ๋ฆฌ์คํธ๋ฅผ ์์ฑํฉ๋๋ค
|
| 203 |
+
```
|
| 204 |
+
|
| 205 |
+
## ํ๋กฌํํธ ํ
ํ๋ฆฟ
|
| 206 |
+
|
| 207 |
+
์ด ๋ชจ๋ธ์ EEVE์ ํ์ค ํ
ํ๋ฆฟ์ ์ฌ์ฉํฉ๋๋ค:
|
| 208 |
+
|
| 209 |
+
```python
|
| 210 |
+
template = """A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions.
|
| 211 |
+
Human: {user_message}
|
| 212 |
+
Assistant: """
|
| 213 |
+
```
|
| 214 |
+
|
| 215 |
+
**์ค์**: ์ด ํ
ํ๋ฆฟ์ ์ ํํ ์ฌ์ฉํด์ผ ์ต์ ์ ์ฑ๋ฅ์ ์ป์ ์ ์์ต๋๋ค.
|
| 216 |
+
|
| 217 |
+
## ์ถ์ฒ ์์ฑ ํ๋ผ๋ฏธํฐ
|
| 218 |
+
|
| 219 |
+
```python
|
| 220 |
+
generation_config = {
|
| 221 |
+
"max_new_tokens": 512,
|
| 222 |
+
"temperature": 0.3, # ๋ฎ์ = ์ผ๊ด์ฑ
|
| 223 |
+
"top_p": 0.85, # Nucleus sampling
|
| 224 |
+
"repetition_penalty": 1.0, # ๋ฐ๋ณต ๋ฐฉ์ง
|
| 225 |
+
"do_sample": True,
|
| 226 |
+
"pad_token_id": tokenizer.pad_token_id,
|
| 227 |
+
"eos_token_id": tokenizer.eos_token_id,
|
| 228 |
+
}
|
| 229 |
+
```
|
| 230 |
+
|
| 231 |
+
### ํ๋ผ๋ฏธํฐ ์กฐ์ ๊ฐ์ด๋
|
| 232 |
+
|
| 233 |
+
| ์ฉ๋ | Temperature | Top P | Repetition Penalty |
|
| 234 |
+
|------|-------------|-------|-------------------|
|
| 235 |
+
| **์ ํํ ๋ต๋ณ** | 0.1-0.3 | 0.8-0.9 | 1.0 |
|
| 236 |
+
| **๊ท ํ์กํ ๋ต๋ณ** | 0.5-0.7 | 0.85-0.95 | 1.0 |
|
| 237 |
+
| **์ฐฝ์์ ๋ต๋ณ** | 0.8-1.0 | 0.9-1.0 | 1.05-1.1 |
|
| 238 |
+
|
| 239 |
+
## ์ ํ์ฌํญ
|
| 240 |
+
|
| 241 |
+
- ์ด ๋ชจ๋ธ์ **์ฐ๊ตฌ ๋ฐ ๊ต์ก ๋ชฉ์ **์ผ๋ก ๊ณต๊ฐ๋์์ต๋๋ค
|
| 242 |
+
- ์์
์ ์ฌ์ฉ ์ CC-BY-NC-SA-4.0 ๋ผ์ด์ ์ค๋ฅผ ์ค์ํด์ผ ํฉ๋๋ค
|
| 243 |
+
- ํ๊ตญ์ด์ ์ต์ ํ๋์ด ์์ผ๋, ๋ค๋ฅธ ์ธ์ด๋ ๋ถ๋ถ์ ์ผ๋ก ์ง์ํฉ๋๋ค
|
| 244 |
+
- checkpoint-500 ๊ธฐ์ค์ผ๋ก, ์ถ๊ฐ ํ๋ จ ์ ์ฑ๋ฅ์ด ํฅ์๋ ์ ์์ต๋๋ค
|
| 245 |
+
|
| 246 |
+
## ๋ผ์ด์ ์ค
|
| 247 |
+
|
| 248 |
+
- **๋ชจ๋ธ ๋ผ์ด์ ์ค**: CC-BY-NC-SA-4.0
|
| 249 |
+
- **๋ฒ ์ด์ค ๋ชจ๋ธ**: [EEVE-Korean-Instruct-10.8B-v1.0](https://huggingface.co/yanolja/EEVE-Korean-Instruct-10.8B-v1.0)์ ๋ผ์ด์ ์ค ์ค์
|
| 250 |
+
- **์์
์ ์ฌ์ฉ**: ์ ํ์ (๋ผ์ด์ ์ค ์ฐธ์กฐ)
|
| 251 |
+
|
| 252 |
+
## Citation
|
| 253 |
+
|
| 254 |
+
```bibtex
|
| 255 |
+
@misc{eeve-vss-smh-2024,
|
| 256 |
+
author = {MyeongHo0621},
|
| 257 |
+
title = {EEVE-VSS-SMH: Korean Custom Fine-tuned Model},
|
| 258 |
+
year = {2024},
|
| 259 |
+
publisher = {Hugging Face},
|
| 260 |
+
howpublished = {\url{https://huggingface.co/MyeongHo0621/eeve-vss-smh}},
|
| 261 |
+
note = {LoRA fine-tuned and merged model based on EEVE-Korean-Instruct-10.8B-v1.0}
|
| 262 |
+
}
|
| 263 |
+
```
|
| 264 |
+
|
| 265 |
+
## Acknowledgments
|
| 266 |
+
|
| 267 |
+
- **๋ฒ ์ด์ค ๋ชจ๋ธ**: [Yanolja](https://huggingface.co/yanolja) - EEVE-Korean-Instruct-10.8B-v1.0
|
| 268 |
+
- **ํ๋ จ ์ธํ๋ผ**: KT Cloud H100E
|
| 269 |
+
- **ํ๋ ์์ํฌ**: Hugging Face Transformers, PEFT
|
| 270 |
+
|
| 271 |
+
## Contact
|
| 272 |
+
|
| 273 |
+
- **GitHub**: [MyeongHo0621](https://github.com/MyeongHo0621)
|
| 274 |
+
- **Model Repository**: [tesseract](https://github.com/MyeongHo0621/tuned_solar)
|
| 275 |
+
|
| 276 |
+
---
|
| 277 |
+
|
| 278 |
+
**Last Updated**: 2024-10-11
|
| 279 |
+
**Checkpoint**: 500 steps
|
| 280 |
+
**Status**: Merged & Ready for Deployment ๐
|
| 281 |
+
|
UPLOAD_GUIDE.md
ADDED
|
@@ -0,0 +1,177 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Hugging Face ์
๋ก๋ ๊ฐ์ด๋
|
| 2 |
+
|
| 3 |
+
## ๋ชจ๋ธ ์ ๋ณด
|
| 4 |
+
|
| 5 |
+
- **๋ชจ๋ธ ์ด๋ฆ**: `MyeongHo0621/eeve-vss-smh`
|
| 6 |
+
- **ํฌ๊ธฐ**: ~21GB
|
| 7 |
+
- **์์ ์
๋ก๋ ์๊ฐ**: 20-30๋ถ
|
| 8 |
+
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
## ๐ ์
๋ก๋ ๋จ๊ณ
|
| 12 |
+
|
| 13 |
+
### 1๋จ๊ณ: Hugging Face ๋ก๊ทธ์ธ
|
| 14 |
+
|
| 15 |
+
```bash
|
| 16 |
+
# ์ต์ ๋ช
๋ น์ด
|
| 17 |
+
hf auth login
|
| 18 |
+
|
| 19 |
+
# ๋๋
|
| 20 |
+
huggingface-cli login
|
| 21 |
+
```
|
| 22 |
+
|
| 23 |
+
**ํ ํฐ ๋ฐ๊ธฐ**:
|
| 24 |
+
1. https://huggingface.co/settings/tokens ์ ์
|
| 25 |
+
2. `New token` ํด๋ฆญ
|
| 26 |
+
3. Name: `tesseract-upload` (์๋ฌด๊ฑฐ๋)
|
| 27 |
+
4. Type: `Write` โ
(์ค์!)
|
| 28 |
+
5. ์์ฑ๋ ํ ํฐ ๋ณต์ฌ
|
| 29 |
+
6. ํฐ๋ฏธ๋์ ๋ถ์ฌ๋ฃ๊ธฐ
|
| 30 |
+
|
| 31 |
+
---
|
| 32 |
+
|
| 33 |
+
### 2๋จ๊ณ: ์
๋ก๋ ์คํ
|
| 34 |
+
|
| 35 |
+
#### ๋ฐฉ๋ฒ A: Python ์คํฌ๋ฆฝํธ (์ถ์ฒ)
|
| 36 |
+
|
| 37 |
+
```bash
|
| 38 |
+
cd /home/work/tesseract/eeve_hf_upload
|
| 39 |
+
|
| 40 |
+
# Public ์
๋ก๋
|
| 41 |
+
python upload_to_hf.py --repo-id MyeongHo0621/eeve-vss-smh
|
| 42 |
+
|
| 43 |
+
# Private ์
๋ก๋ (ํ
์คํธ์ฉ)
|
| 44 |
+
python upload_to_hf.py --repo-id MyeongHo0621/eeve-vss-smh --private
|
| 45 |
+
```
|
| 46 |
+
|
| 47 |
+
#### ๋ฐฉ๋ฒ B: CLI ์ง์ ์ฌ์ฉ
|
| 48 |
+
|
| 49 |
+
```bash
|
| 50 |
+
# ์ต์ ๋ช
๋ น์ด
|
| 51 |
+
hf upload MyeongHo0621/eeve-vss-smh /home/work/tesseract/eeve_hf_upload
|
| 52 |
+
|
| 53 |
+
# ๋๋ ๊ธฐ์กด ๋ช
๋ น์ด
|
| 54 |
+
huggingface-cli upload MyeongHo0621/eeve-vss-smh /home/work/tesseract/eeve_hf_upload
|
| 55 |
+
```
|
| 56 |
+
|
| 57 |
+
---
|
| 58 |
+
|
| 59 |
+
### 3๋จ๊ณ: ์
๋ก๋ ํ์ธ
|
| 60 |
+
|
| 61 |
+
์
๋ก๋ ์๋ฃ ํ:
|
| 62 |
+
|
| 63 |
+
1. **๋ชจ๋ธ ํ์ด์ง**: https://huggingface.co/MyeongHo0621/eeve-vss-smh
|
| 64 |
+
2. **Files and versions** ํญ์์ ํ์ผ ํ์ธ:
|
| 65 |
+
- โ
README.md
|
| 66 |
+
- โ
config.json
|
| 67 |
+
- โ
model-00001-of-00005.safetensors (4.6GB)
|
| 68 |
+
- โ
model-00002-of-00005.safetensors (4.6GB)
|
| 69 |
+
- โ
model-00003-of-00005.safetensors (4.7GB)
|
| 70 |
+
- โ
model-00004-of-00005.safetensors (4.6GB)
|
| 71 |
+
- โ
model-00005-of-00005.safetensors (1.8GB)
|
| 72 |
+
- โ
tokenizer files
|
| 73 |
+
|
| 74 |
+
---
|
| 75 |
+
|
| 76 |
+
## ๐งช ์
๋ก๋ ํ ํ
์คํธ
|
| 77 |
+
|
| 78 |
+
```python
|
| 79 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 80 |
+
|
| 81 |
+
# ๋ชจ๋ธ ๋ค์ด๋ก๋ ๋ฐ ๋ก๋
|
| 82 |
+
model = AutoModelForCausalLM.from_pretrained(
|
| 83 |
+
"MyeongHo0621/eeve-vss-smh",
|
| 84 |
+
device_map="auto",
|
| 85 |
+
torch_dtype="auto"
|
| 86 |
+
)
|
| 87 |
+
tokenizer = AutoTokenizer.from_pretrained("MyeongHo0621/eeve-vss-smh")
|
| 88 |
+
|
| 89 |
+
# ๊ฐ๋จํ ํ
์คํธ
|
| 90 |
+
prompt = """A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions.
|
| 91 |
+
Human: ์๋
|
| 92 |
+
Assistant: """
|
| 93 |
+
|
| 94 |
+
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
|
| 95 |
+
outputs = model.generate(**inputs, max_new_tokens=50)
|
| 96 |
+
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|
| 97 |
+
```
|
| 98 |
+
|
| 99 |
+
---
|
| 100 |
+
|
| 101 |
+
## ๐ง ๋ฌธ์ ํด๊ฒฐ
|
| 102 |
+
|
| 103 |
+
### ๋ฌธ์ 1: "Not logged in"
|
| 104 |
+
|
| 105 |
+
```bash
|
| 106 |
+
hf auth login
|
| 107 |
+
# ํ ํฐ ์
๋ ฅ (Write ๊ถํ ํ์)
|
| 108 |
+
```
|
| 109 |
+
|
| 110 |
+
### ๋ฌธ์ 2: "Repository not found"
|
| 111 |
+
|
| 112 |
+
- ๋ฆฌํฌ์งํ ๋ฆฌ ์ด๋ฆ์ด ์ ํํ์ง ํ์ธ
|
| 113 |
+
- `MyeongHo0621/eeve-vss-smh` (๋์๋ฌธ์ ๊ตฌ๋ถ)
|
| 114 |
+
|
| 115 |
+
### ๋ฌธ์ 3: ์
๋ก๋ ์คํจ
|
| 116 |
+
|
| 117 |
+
```bash
|
| 118 |
+
# ์ฌ์๋
|
| 119 |
+
python upload_to_hf.py --repo-id MyeongHo0621/eeve-vss-smh
|
| 120 |
+
|
| 121 |
+
# ๋๋ Git LFS ์ฌ์ฉ
|
| 122 |
+
git lfs install
|
| 123 |
+
huggingface-cli repo create MyeongHo0621/eeve-vss-smh --type model
|
| 124 |
+
git clone https://huggingface.co/MyeongHo0621/eeve-vss-smh
|
| 125 |
+
cd eeve-vss-smh
|
| 126 |
+
cp -r /home/work/tesseract/eeve_hf_upload/* .
|
| 127 |
+
git add .
|
| 128 |
+
git commit -m "Upload EEVE-VSS-SMH model"
|
| 129 |
+
git push
|
| 130 |
+
```
|
| 131 |
+
|
| 132 |
+
### ๋ฌธ์ 4: ๋คํธ์ํฌ ํ์์์
|
| 133 |
+
|
| 134 |
+
```bash
|
| 135 |
+
# ์ฌ์๋ (์๋ ์ฌ๊ฐ)
|
| 136 |
+
python upload_to_hf.py --repo-id MyeongHo0621/eeve-vss-smh
|
| 137 |
+
```
|
| 138 |
+
|
| 139 |
+
---
|
| 140 |
+
|
| 141 |
+
## ๐ ์
๋ก๋ ์ํ ๋ชจ๋ํฐ๋ง
|
| 142 |
+
|
| 143 |
+
```bash
|
| 144 |
+
# ๋ณ๋ ํฐ๋ฏธ๋์์ ์คํ
|
| 145 |
+
watch -n 5 'ls -lh /home/work/tesseract/eeve_hf_upload/'
|
| 146 |
+
```
|
| 147 |
+
|
| 148 |
+
---
|
| 149 |
+
|
| 150 |
+
## โ
์๋ฃ ์ฒดํฌ๋ฆฌ์คํธ
|
| 151 |
+
|
| 152 |
+
- [ ] Hugging Face ๋ก๊ทธ์ธ ์๋ฃ
|
| 153 |
+
- [ ] ์
๋ก๋ ์คํฌ๋ฆฝํธ ์คํ
|
| 154 |
+
- [ ] ๋ชจ๋ธ ํ์ด์ง ์ ์ ํ์ธ
|
| 155 |
+
- [ ] README.md ์ ์ ํ์ ํ์ธ
|
| 156 |
+
- [ ] ๋ชจ๋ธ ํ์ผ ์ ๋ถ ์
๋ก๋ ํ์ธ (21GB)
|
| 157 |
+
- [ ] ํ
์คํธ ์ฝ๋๋ก ๋ชจ๋ธ ๋ก๋ ํ์ธ
|
| 158 |
+
|
| 159 |
+
---
|
| 160 |
+
|
| 161 |
+
## ๐ฏ ์
๋ก๋ ํ
|
| 162 |
+
|
| 163 |
+
์
๋ก๋๊ฐ ์๋ฃ๋๋ฉด:
|
| 164 |
+
|
| 165 |
+
1. **๋ชจ๋ธ ์นด๋ ์์ **: https://huggingface.co/MyeongHo0621/eeve-vss-smh/edit/main/README.md
|
| 166 |
+
2. **Model Card ๋ฉํ๋ฐ์ดํฐ ํ์ธ**: ์ธ์ด, ๋ผ์ด์ ์ค, ํ๊ทธ ๋ฑ
|
| 167 |
+
3. **์ปค๋ฎค๋ํฐ ๊ณต์ **: Model ํ์ด์ง์์ "Share" ๋ฒํผ
|
| 168 |
+
|
| 169 |
+
---
|
| 170 |
+
|
| 171 |
+
**์ค๋น ์๋ฃ!** ๐
|
| 172 |
+
|
| 173 |
+
```bash
|
| 174 |
+
cd /home/work/tesseract/eeve_hf_upload
|
| 175 |
+
python upload_to_hf.py --repo-id MyeongHo0621/eeve-vss-smh
|
| 176 |
+
```
|
| 177 |
+
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% set system_message = 'You are a helpful assistant.' %}{% endif %}{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in loop_messages %}{% if loop.index0 == 0 %}{{'<|im_start|>system
|
| 2 |
+
' + system_message + '<|im_end|>
|
| 3 |
+
'}}{% endif %}{{'<|im_start|>' + message['role'] + '
|
| 4 |
+
' + message['content'] + '<|im_end|>' + '
|
| 5 |
+
'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant
|
| 6 |
+
' }}{% endif %}
|
config.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"LlamaForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"bos_token_id": 1,
|
| 8 |
+
"dtype": "float16",
|
| 9 |
+
"eos_token_id": 32000,
|
| 10 |
+
"head_dim": 128,
|
| 11 |
+
"hidden_act": "silu",
|
| 12 |
+
"hidden_size": 4096,
|
| 13 |
+
"initializer_range": 0.02,
|
| 14 |
+
"intermediate_size": 14336,
|
| 15 |
+
"max_position_embeddings": 4096,
|
| 16 |
+
"mlp_bias": false,
|
| 17 |
+
"model_type": "llama",
|
| 18 |
+
"num_attention_heads": 32,
|
| 19 |
+
"num_hidden_layers": 48,
|
| 20 |
+
"num_key_value_heads": 8,
|
| 21 |
+
"pretraining_tp": 1,
|
| 22 |
+
"rms_norm_eps": 1e-05,
|
| 23 |
+
"rope_scaling": null,
|
| 24 |
+
"rope_theta": 10000.0,
|
| 25 |
+
"tie_word_embeddings": false,
|
| 26 |
+
"transformers_version": "4.56.2",
|
| 27 |
+
"use_cache": false,
|
| 28 |
+
"vocab_size": 40960
|
| 29 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 1,
|
| 4 |
+
"eos_token_id": 32000,
|
| 5 |
+
"transformers_version": "4.56.2",
|
| 6 |
+
"use_cache": false
|
| 7 |
+
}
|
model-00001-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:16f7997fd0a5804811b1d5ec0b7a7575aa78cc5cef49797a1bec663e6de9d40a
|
| 3 |
+
size 4899121936
|
model-00002-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2a300b1e8cf672656b093f2d25ae950b5efbb61f86227f53bbe225e2b747c2e8
|
| 3 |
+
size 4915916080
|
model-00003-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:df88d4b78145a6204070a8126ea35f04b218a653b63524696542fd9a244ee103
|
| 3 |
+
size 4999819232
|
model-00004-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fd39558859b4e31c82eb8ee7ea374dd4a7d224727d99ecd3b2f4bc3e28b5f85c
|
| 3 |
+
size 4915916080
|
model-00005-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:815246982a287064485a7757c0400d947ce6931662a21a3edc7d372a864d616e
|
| 3 |
+
size 1879125696
|
model.safetensors.index.json
ADDED
|
@@ -0,0 +1,443 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"metadata": {
|
| 3 |
+
"total_parameters": 10804924416,
|
| 4 |
+
"total_size": 21609848832
|
| 5 |
+
},
|
| 6 |
+
"weight_map": {
|
| 7 |
+
"lm_head.weight": "model-00005-of-00005.safetensors",
|
| 8 |
+
"model.embed_tokens.weight": "model-00001-of-00005.safetensors",
|
| 9 |
+
"model.layers.0.input_layernorm.weight": "model-00001-of-00005.safetensors",
|
| 10 |
+
"model.layers.0.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 11 |
+
"model.layers.0.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 12 |
+
"model.layers.0.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 13 |
+
"model.layers.0.post_attention_layernorm.weight": "model-00001-of-00005.safetensors",
|
| 14 |
+
"model.layers.0.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
|
| 15 |
+
"model.layers.0.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
|
| 16 |
+
"model.layers.0.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
|
| 17 |
+
"model.layers.0.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
|
| 18 |
+
"model.layers.1.input_layernorm.weight": "model-00001-of-00005.safetensors",
|
| 19 |
+
"model.layers.1.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 20 |
+
"model.layers.1.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 21 |
+
"model.layers.1.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 22 |
+
"model.layers.1.post_attention_layernorm.weight": "model-00001-of-00005.safetensors",
|
| 23 |
+
"model.layers.1.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
|
| 24 |
+
"model.layers.1.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
|
| 25 |
+
"model.layers.1.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
|
| 26 |
+
"model.layers.1.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
|
| 27 |
+
"model.layers.10.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 28 |
+
"model.layers.10.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
| 29 |
+
"model.layers.10.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 30 |
+
"model.layers.10.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
| 31 |
+
"model.layers.10.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 32 |
+
"model.layers.10.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
|
| 33 |
+
"model.layers.10.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
|
| 34 |
+
"model.layers.10.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
|
| 35 |
+
"model.layers.10.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
|
| 36 |
+
"model.layers.11.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 37 |
+
"model.layers.11.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
| 38 |
+
"model.layers.11.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
| 39 |
+
"model.layers.11.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
| 40 |
+
"model.layers.11.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 41 |
+
"model.layers.11.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 42 |
+
"model.layers.11.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 43 |
+
"model.layers.11.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
| 44 |
+
"model.layers.11.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
| 45 |
+
"model.layers.12.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 46 |
+
"model.layers.12.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
| 47 |
+
"model.layers.12.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
| 48 |
+
"model.layers.12.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
| 49 |
+
"model.layers.12.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 50 |
+
"model.layers.12.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 51 |
+
"model.layers.12.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 52 |
+
"model.layers.12.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
| 53 |
+
"model.layers.12.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
| 54 |
+
"model.layers.13.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 55 |
+
"model.layers.13.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
| 56 |
+
"model.layers.13.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
| 57 |
+
"model.layers.13.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
| 58 |
+
"model.layers.13.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 59 |
+
"model.layers.13.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 60 |
+
"model.layers.13.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 61 |
+
"model.layers.13.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
| 62 |
+
"model.layers.13.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
| 63 |
+
"model.layers.14.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 64 |
+
"model.layers.14.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
| 65 |
+
"model.layers.14.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
| 66 |
+
"model.layers.14.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
| 67 |
+
"model.layers.14.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 68 |
+
"model.layers.14.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 69 |
+
"model.layers.14.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 70 |
+
"model.layers.14.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
| 71 |
+
"model.layers.14.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
| 72 |
+
"model.layers.15.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 73 |
+
"model.layers.15.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
| 74 |
+
"model.layers.15.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
| 75 |
+
"model.layers.15.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
| 76 |
+
"model.layers.15.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 77 |
+
"model.layers.15.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 78 |
+
"model.layers.15.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 79 |
+
"model.layers.15.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
| 80 |
+
"model.layers.15.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
| 81 |
+
"model.layers.16.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 82 |
+
"model.layers.16.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
| 83 |
+
"model.layers.16.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
| 84 |
+
"model.layers.16.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
| 85 |
+
"model.layers.16.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 86 |
+
"model.layers.16.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 87 |
+
"model.layers.16.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 88 |
+
"model.layers.16.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
| 89 |
+
"model.layers.16.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
| 90 |
+
"model.layers.17.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 91 |
+
"model.layers.17.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
| 92 |
+
"model.layers.17.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
| 93 |
+
"model.layers.17.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
| 94 |
+
"model.layers.17.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 95 |
+
"model.layers.17.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 96 |
+
"model.layers.17.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 97 |
+
"model.layers.17.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
| 98 |
+
"model.layers.17.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
| 99 |
+
"model.layers.18.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 100 |
+
"model.layers.18.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
| 101 |
+
"model.layers.18.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
| 102 |
+
"model.layers.18.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
| 103 |
+
"model.layers.18.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 104 |
+
"model.layers.18.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 105 |
+
"model.layers.18.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 106 |
+
"model.layers.18.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
| 107 |
+
"model.layers.18.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
| 108 |
+
"model.layers.19.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 109 |
+
"model.layers.19.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
| 110 |
+
"model.layers.19.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
| 111 |
+
"model.layers.19.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
| 112 |
+
"model.layers.19.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 113 |
+
"model.layers.19.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 114 |
+
"model.layers.19.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 115 |
+
"model.layers.19.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
| 116 |
+
"model.layers.19.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
| 117 |
+
"model.layers.2.input_layernorm.weight": "model-00001-of-00005.safetensors",
|
| 118 |
+
"model.layers.2.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 119 |
+
"model.layers.2.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 120 |
+
"model.layers.2.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 121 |
+
"model.layers.2.post_attention_layernorm.weight": "model-00001-of-00005.safetensors",
|
| 122 |
+
"model.layers.2.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
|
| 123 |
+
"model.layers.2.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
|
| 124 |
+
"model.layers.2.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
|
| 125 |
+
"model.layers.2.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
|
| 126 |
+
"model.layers.20.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 127 |
+
"model.layers.20.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
| 128 |
+
"model.layers.20.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
| 129 |
+
"model.layers.20.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
| 130 |
+
"model.layers.20.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 131 |
+
"model.layers.20.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 132 |
+
"model.layers.20.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 133 |
+
"model.layers.20.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
| 134 |
+
"model.layers.20.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
| 135 |
+
"model.layers.21.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 136 |
+
"model.layers.21.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
| 137 |
+
"model.layers.21.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
| 138 |
+
"model.layers.21.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
| 139 |
+
"model.layers.21.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 140 |
+
"model.layers.21.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 141 |
+
"model.layers.21.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 142 |
+
"model.layers.21.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
| 143 |
+
"model.layers.21.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
| 144 |
+
"model.layers.22.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 145 |
+
"model.layers.22.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
| 146 |
+
"model.layers.22.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
| 147 |
+
"model.layers.22.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
| 148 |
+
"model.layers.22.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 149 |
+
"model.layers.22.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
| 150 |
+
"model.layers.22.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
| 151 |
+
"model.layers.22.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 152 |
+
"model.layers.22.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 153 |
+
"model.layers.23.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 154 |
+
"model.layers.23.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
| 155 |
+
"model.layers.23.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
| 156 |
+
"model.layers.23.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
| 157 |
+
"model.layers.23.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 158 |
+
"model.layers.23.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
| 159 |
+
"model.layers.23.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
| 160 |
+
"model.layers.23.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 161 |
+
"model.layers.23.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 162 |
+
"model.layers.24.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 163 |
+
"model.layers.24.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
| 164 |
+
"model.layers.24.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
| 165 |
+
"model.layers.24.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
| 166 |
+
"model.layers.24.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 167 |
+
"model.layers.24.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
| 168 |
+
"model.layers.24.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
| 169 |
+
"model.layers.24.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 170 |
+
"model.layers.24.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 171 |
+
"model.layers.25.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 172 |
+
"model.layers.25.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
| 173 |
+
"model.layers.25.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
| 174 |
+
"model.layers.25.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
| 175 |
+
"model.layers.25.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 176 |
+
"model.layers.25.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
| 177 |
+
"model.layers.25.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
| 178 |
+
"model.layers.25.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 179 |
+
"model.layers.25.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 180 |
+
"model.layers.26.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 181 |
+
"model.layers.26.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
| 182 |
+
"model.layers.26.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
| 183 |
+
"model.layers.26.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
| 184 |
+
"model.layers.26.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 185 |
+
"model.layers.26.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
| 186 |
+
"model.layers.26.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
| 187 |
+
"model.layers.26.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 188 |
+
"model.layers.26.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 189 |
+
"model.layers.27.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 190 |
+
"model.layers.27.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
| 191 |
+
"model.layers.27.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
| 192 |
+
"model.layers.27.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
| 193 |
+
"model.layers.27.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 194 |
+
"model.layers.27.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
| 195 |
+
"model.layers.27.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
| 196 |
+
"model.layers.27.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 197 |
+
"model.layers.27.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 198 |
+
"model.layers.28.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 199 |
+
"model.layers.28.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
| 200 |
+
"model.layers.28.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
| 201 |
+
"model.layers.28.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
| 202 |
+
"model.layers.28.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 203 |
+
"model.layers.28.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
| 204 |
+
"model.layers.28.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
| 205 |
+
"model.layers.28.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 206 |
+
"model.layers.28.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 207 |
+
"model.layers.29.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 208 |
+
"model.layers.29.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
| 209 |
+
"model.layers.29.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
| 210 |
+
"model.layers.29.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
| 211 |
+
"model.layers.29.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 212 |
+
"model.layers.29.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
| 213 |
+
"model.layers.29.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
| 214 |
+
"model.layers.29.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 215 |
+
"model.layers.29.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 216 |
+
"model.layers.3.input_layernorm.weight": "model-00001-of-00005.safetensors",
|
| 217 |
+
"model.layers.3.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 218 |
+
"model.layers.3.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 219 |
+
"model.layers.3.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 220 |
+
"model.layers.3.post_attention_layernorm.weight": "model-00001-of-00005.safetensors",
|
| 221 |
+
"model.layers.3.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
|
| 222 |
+
"model.layers.3.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
|
| 223 |
+
"model.layers.3.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
|
| 224 |
+
"model.layers.3.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
|
| 225 |
+
"model.layers.30.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 226 |
+
"model.layers.30.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
| 227 |
+
"model.layers.30.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
| 228 |
+
"model.layers.30.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
| 229 |
+
"model.layers.30.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 230 |
+
"model.layers.30.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
| 231 |
+
"model.layers.30.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
| 232 |
+
"model.layers.30.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 233 |
+
"model.layers.30.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 234 |
+
"model.layers.31.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 235 |
+
"model.layers.31.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
| 236 |
+
"model.layers.31.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
| 237 |
+
"model.layers.31.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
| 238 |
+
"model.layers.31.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 239 |
+
"model.layers.31.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
| 240 |
+
"model.layers.31.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
| 241 |
+
"model.layers.31.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 242 |
+
"model.layers.31.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 243 |
+
"model.layers.32.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 244 |
+
"model.layers.32.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
| 245 |
+
"model.layers.32.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
| 246 |
+
"model.layers.32.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
| 247 |
+
"model.layers.32.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 248 |
+
"model.layers.32.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
| 249 |
+
"model.layers.32.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
| 250 |
+
"model.layers.32.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 251 |
+
"model.layers.32.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 252 |
+
"model.layers.33.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 253 |
+
"model.layers.33.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
| 254 |
+
"model.layers.33.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
| 255 |
+
"model.layers.33.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
| 256 |
+
"model.layers.33.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 257 |
+
"model.layers.33.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
| 258 |
+
"model.layers.33.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
| 259 |
+
"model.layers.33.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 260 |
+
"model.layers.33.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 261 |
+
"model.layers.34.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 262 |
+
"model.layers.34.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
| 263 |
+
"model.layers.34.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
| 264 |
+
"model.layers.34.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
| 265 |
+
"model.layers.34.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 266 |
+
"model.layers.34.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 267 |
+
"model.layers.34.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 268 |
+
"model.layers.34.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
| 269 |
+
"model.layers.34.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
| 270 |
+
"model.layers.35.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 271 |
+
"model.layers.35.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
| 272 |
+
"model.layers.35.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
| 273 |
+
"model.layers.35.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
| 274 |
+
"model.layers.35.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 275 |
+
"model.layers.35.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 276 |
+
"model.layers.35.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 277 |
+
"model.layers.35.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
| 278 |
+
"model.layers.35.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
| 279 |
+
"model.layers.36.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 280 |
+
"model.layers.36.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
| 281 |
+
"model.layers.36.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
| 282 |
+
"model.layers.36.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
| 283 |
+
"model.layers.36.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 284 |
+
"model.layers.36.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 285 |
+
"model.layers.36.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 286 |
+
"model.layers.36.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
| 287 |
+
"model.layers.36.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
| 288 |
+
"model.layers.37.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 289 |
+
"model.layers.37.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
| 290 |
+
"model.layers.37.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
| 291 |
+
"model.layers.37.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
| 292 |
+
"model.layers.37.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 293 |
+
"model.layers.37.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 294 |
+
"model.layers.37.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 295 |
+
"model.layers.37.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
| 296 |
+
"model.layers.37.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
| 297 |
+
"model.layers.38.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 298 |
+
"model.layers.38.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
| 299 |
+
"model.layers.38.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
| 300 |
+
"model.layers.38.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
| 301 |
+
"model.layers.38.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 302 |
+
"model.layers.38.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 303 |
+
"model.layers.38.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 304 |
+
"model.layers.38.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
| 305 |
+
"model.layers.38.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
| 306 |
+
"model.layers.39.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 307 |
+
"model.layers.39.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
| 308 |
+
"model.layers.39.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
| 309 |
+
"model.layers.39.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
| 310 |
+
"model.layers.39.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 311 |
+
"model.layers.39.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 312 |
+
"model.layers.39.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 313 |
+
"model.layers.39.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
| 314 |
+
"model.layers.39.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
| 315 |
+
"model.layers.4.input_layernorm.weight": "model-00001-of-00005.safetensors",
|
| 316 |
+
"model.layers.4.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 317 |
+
"model.layers.4.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 318 |
+
"model.layers.4.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 319 |
+
"model.layers.4.post_attention_layernorm.weight": "model-00001-of-00005.safetensors",
|
| 320 |
+
"model.layers.4.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
|
| 321 |
+
"model.layers.4.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
|
| 322 |
+
"model.layers.4.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
|
| 323 |
+
"model.layers.4.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
|
| 324 |
+
"model.layers.40.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 325 |
+
"model.layers.40.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
| 326 |
+
"model.layers.40.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
| 327 |
+
"model.layers.40.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
| 328 |
+
"model.layers.40.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 329 |
+
"model.layers.40.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 330 |
+
"model.layers.40.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 331 |
+
"model.layers.40.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
| 332 |
+
"model.layers.40.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
| 333 |
+
"model.layers.41.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 334 |
+
"model.layers.41.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
| 335 |
+
"model.layers.41.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
| 336 |
+
"model.layers.41.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
| 337 |
+
"model.layers.41.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 338 |
+
"model.layers.41.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 339 |
+
"model.layers.41.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 340 |
+
"model.layers.41.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
| 341 |
+
"model.layers.41.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
| 342 |
+
"model.layers.42.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 343 |
+
"model.layers.42.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
| 344 |
+
"model.layers.42.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
| 345 |
+
"model.layers.42.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
| 346 |
+
"model.layers.42.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 347 |
+
"model.layers.42.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 348 |
+
"model.layers.42.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 349 |
+
"model.layers.42.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
| 350 |
+
"model.layers.42.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
| 351 |
+
"model.layers.43.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 352 |
+
"model.layers.43.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
| 353 |
+
"model.layers.43.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
| 354 |
+
"model.layers.43.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
| 355 |
+
"model.layers.43.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 356 |
+
"model.layers.43.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 357 |
+
"model.layers.43.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 358 |
+
"model.layers.43.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
| 359 |
+
"model.layers.43.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
| 360 |
+
"model.layers.44.input_layernorm.weight": "model-00005-of-00005.safetensors",
|
| 361 |
+
"model.layers.44.mlp.down_proj.weight": "model-00005-of-00005.safetensors",
|
| 362 |
+
"model.layers.44.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
| 363 |
+
"model.layers.44.mlp.up_proj.weight": "model-00005-of-00005.safetensors",
|
| 364 |
+
"model.layers.44.post_attention_layernorm.weight": "model-00005-of-00005.safetensors",
|
| 365 |
+
"model.layers.44.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 366 |
+
"model.layers.44.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 367 |
+
"model.layers.44.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
| 368 |
+
"model.layers.44.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
| 369 |
+
"model.layers.45.input_layernorm.weight": "model-00005-of-00005.safetensors",
|
| 370 |
+
"model.layers.45.mlp.down_proj.weight": "model-00005-of-00005.safetensors",
|
| 371 |
+
"model.layers.45.mlp.gate_proj.weight": "model-00005-of-00005.safetensors",
|
| 372 |
+
"model.layers.45.mlp.up_proj.weight": "model-00005-of-00005.safetensors",
|
| 373 |
+
"model.layers.45.post_attention_layernorm.weight": "model-00005-of-00005.safetensors",
|
| 374 |
+
"model.layers.45.self_attn.k_proj.weight": "model-00005-of-00005.safetensors",
|
| 375 |
+
"model.layers.45.self_attn.o_proj.weight": "model-00005-of-00005.safetensors",
|
| 376 |
+
"model.layers.45.self_attn.q_proj.weight": "model-00005-of-00005.safetensors",
|
| 377 |
+
"model.layers.45.self_attn.v_proj.weight": "model-00005-of-00005.safetensors",
|
| 378 |
+
"model.layers.46.input_layernorm.weight": "model-00005-of-00005.safetensors",
|
| 379 |
+
"model.layers.46.mlp.down_proj.weight": "model-00005-of-00005.safetensors",
|
| 380 |
+
"model.layers.46.mlp.gate_proj.weight": "model-00005-of-00005.safetensors",
|
| 381 |
+
"model.layers.46.mlp.up_proj.weight": "model-00005-of-00005.safetensors",
|
| 382 |
+
"model.layers.46.post_attention_layernorm.weight": "model-00005-of-00005.safetensors",
|
| 383 |
+
"model.layers.46.self_attn.k_proj.weight": "model-00005-of-00005.safetensors",
|
| 384 |
+
"model.layers.46.self_attn.o_proj.weight": "model-00005-of-00005.safetensors",
|
| 385 |
+
"model.layers.46.self_attn.q_proj.weight": "model-00005-of-00005.safetensors",
|
| 386 |
+
"model.layers.46.self_attn.v_proj.weight": "model-00005-of-00005.safetensors",
|
| 387 |
+
"model.layers.47.input_layernorm.weight": "model-00005-of-00005.safetensors",
|
| 388 |
+
"model.layers.47.mlp.down_proj.weight": "model-00005-of-00005.safetensors",
|
| 389 |
+
"model.layers.47.mlp.gate_proj.weight": "model-00005-of-00005.safetensors",
|
| 390 |
+
"model.layers.47.mlp.up_proj.weight": "model-00005-of-00005.safetensors",
|
| 391 |
+
"model.layers.47.post_attention_layernorm.weight": "model-00005-of-00005.safetensors",
|
| 392 |
+
"model.layers.47.self_attn.k_proj.weight": "model-00005-of-00005.safetensors",
|
| 393 |
+
"model.layers.47.self_attn.o_proj.weight": "model-00005-of-00005.safetensors",
|
| 394 |
+
"model.layers.47.self_attn.q_proj.weight": "model-00005-of-00005.safetensors",
|
| 395 |
+
"model.layers.47.self_attn.v_proj.weight": "model-00005-of-00005.safetensors",
|
| 396 |
+
"model.layers.5.input_layernorm.weight": "model-00001-of-00005.safetensors",
|
| 397 |
+
"model.layers.5.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 398 |
+
"model.layers.5.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 399 |
+
"model.layers.5.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 400 |
+
"model.layers.5.post_attention_layernorm.weight": "model-00001-of-00005.safetensors",
|
| 401 |
+
"model.layers.5.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
|
| 402 |
+
"model.layers.5.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
|
| 403 |
+
"model.layers.5.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
|
| 404 |
+
"model.layers.5.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
|
| 405 |
+
"model.layers.6.input_layernorm.weight": "model-00001-of-00005.safetensors",
|
| 406 |
+
"model.layers.6.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 407 |
+
"model.layers.6.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 408 |
+
"model.layers.6.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 409 |
+
"model.layers.6.post_attention_layernorm.weight": "model-00001-of-00005.safetensors",
|
| 410 |
+
"model.layers.6.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
|
| 411 |
+
"model.layers.6.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
|
| 412 |
+
"model.layers.6.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
|
| 413 |
+
"model.layers.6.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
|
| 414 |
+
"model.layers.7.input_layernorm.weight": "model-00001-of-00005.safetensors",
|
| 415 |
+
"model.layers.7.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 416 |
+
"model.layers.7.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 417 |
+
"model.layers.7.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 418 |
+
"model.layers.7.post_attention_layernorm.weight": "model-00001-of-00005.safetensors",
|
| 419 |
+
"model.layers.7.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
|
| 420 |
+
"model.layers.7.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
|
| 421 |
+
"model.layers.7.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
|
| 422 |
+
"model.layers.7.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
|
| 423 |
+
"model.layers.8.input_layernorm.weight": "model-00001-of-00005.safetensors",
|
| 424 |
+
"model.layers.8.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 425 |
+
"model.layers.8.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 426 |
+
"model.layers.8.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 427 |
+
"model.layers.8.post_attention_layernorm.weight": "model-00001-of-00005.safetensors",
|
| 428 |
+
"model.layers.8.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
|
| 429 |
+
"model.layers.8.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
|
| 430 |
+
"model.layers.8.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
|
| 431 |
+
"model.layers.8.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
|
| 432 |
+
"model.layers.9.input_layernorm.weight": "model-00001-of-00005.safetensors",
|
| 433 |
+
"model.layers.9.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 434 |
+
"model.layers.9.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 435 |
+
"model.layers.9.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 436 |
+
"model.layers.9.post_attention_layernorm.weight": "model-00001-of-00005.safetensors",
|
| 437 |
+
"model.layers.9.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
|
| 438 |
+
"model.layers.9.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
|
| 439 |
+
"model.layers.9.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
|
| 440 |
+
"model.layers.9.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
|
| 441 |
+
"model.norm.weight": "model-00005-of-00005.safetensors"
|
| 442 |
+
}
|
| 443 |
+
}
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": {
|
| 3 |
+
"content": "<s>",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": false,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"eos_token": {
|
| 10 |
+
"content": "<|im_end|>",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"pad_token": {
|
| 17 |
+
"content": "</s>",
|
| 18 |
+
"lstrip": false,
|
| 19 |
+
"normalized": false,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"single_word": false
|
| 22 |
+
},
|
| 23 |
+
"unk_token": {
|
| 24 |
+
"content": "<unk>",
|
| 25 |
+
"lstrip": false,
|
| 26 |
+
"normalized": false,
|
| 27 |
+
"rstrip": false,
|
| 28 |
+
"single_word": false
|
| 29 |
+
}
|
| 30 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": true,
|
| 3 |
+
"add_eos_token": false,
|
| 4 |
+
"add_prefix_space": null,
|
| 5 |
+
"added_tokens_decoder": {
|
| 6 |
+
"0": {
|
| 7 |
+
"content": "<unk>",
|
| 8 |
+
"lstrip": false,
|
| 9 |
+
"normalized": false,
|
| 10 |
+
"rstrip": false,
|
| 11 |
+
"single_word": false,
|
| 12 |
+
"special": true
|
| 13 |
+
},
|
| 14 |
+
"1": {
|
| 15 |
+
"content": "<s>",
|
| 16 |
+
"lstrip": false,
|
| 17 |
+
"normalized": false,
|
| 18 |
+
"rstrip": false,
|
| 19 |
+
"single_word": false,
|
| 20 |
+
"special": true
|
| 21 |
+
},
|
| 22 |
+
"2": {
|
| 23 |
+
"content": "</s>",
|
| 24 |
+
"lstrip": false,
|
| 25 |
+
"normalized": false,
|
| 26 |
+
"rstrip": false,
|
| 27 |
+
"single_word": false,
|
| 28 |
+
"special": true
|
| 29 |
+
},
|
| 30 |
+
"32000": {
|
| 31 |
+
"content": "<|im_end|>",
|
| 32 |
+
"lstrip": false,
|
| 33 |
+
"normalized": false,
|
| 34 |
+
"rstrip": false,
|
| 35 |
+
"single_word": false,
|
| 36 |
+
"special": true
|
| 37 |
+
},
|
| 38 |
+
"32001": {
|
| 39 |
+
"content": "<|im_start|>",
|
| 40 |
+
"lstrip": false,
|
| 41 |
+
"normalized": false,
|
| 42 |
+
"rstrip": false,
|
| 43 |
+
"single_word": false,
|
| 44 |
+
"special": true
|
| 45 |
+
}
|
| 46 |
+
},
|
| 47 |
+
"additional_special_tokens": [],
|
| 48 |
+
"bos_token": "<s>",
|
| 49 |
+
"clean_up_tokenization_spaces": false,
|
| 50 |
+
"eos_token": "<|im_end|>",
|
| 51 |
+
"extra_special_tokens": {},
|
| 52 |
+
"legacy": true,
|
| 53 |
+
"max_length": 2048,
|
| 54 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 55 |
+
"pad_token": "</s>",
|
| 56 |
+
"sp_model_kwargs": {},
|
| 57 |
+
"spaces_between_special_tokens": false,
|
| 58 |
+
"stride": 0,
|
| 59 |
+
"tokenizer_class": "LlamaTokenizerFast",
|
| 60 |
+
"truncation_side": "right",
|
| 61 |
+
"truncation_strategy": "longest_first",
|
| 62 |
+
"trust_remote_code": false,
|
| 63 |
+
"unk_token": "<unk>",
|
| 64 |
+
"use_default_system_prompt": false,
|
| 65 |
+
"use_fast": true
|
| 66 |
+
}
|
upload_to_hf.py
ADDED
|
@@ -0,0 +1,198 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""
|
| 3 |
+
Hugging Face Hub ์
๋ก๋ ์คํฌ๋ฆฝํธ
|
| 4 |
+
- ๋ณํฉ๋ EEVE ๋ชจ๋ธ์ Hugging Face Hub์ ์
๋ก๋
|
| 5 |
+
- ๋ชจ๋ธ ์นด๋(README.md) ํฌํจ
|
| 6 |
+
"""
|
| 7 |
+
|
| 8 |
+
import os
|
| 9 |
+
import argparse
|
| 10 |
+
from pathlib import Path
|
| 11 |
+
from huggingface_hub import HfApi, create_repo, upload_folder
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
def upload_model_to_hub(
|
| 15 |
+
model_dir: str,
|
| 16 |
+
repo_id: str,
|
| 17 |
+
token: str = None,
|
| 18 |
+
private: bool = False,
|
| 19 |
+
commit_message: str = "Upload EEVE Korean Custom model"
|
| 20 |
+
):
|
| 21 |
+
"""
|
| 22 |
+
๋ชจ๋ธ์ Hugging Face Hub์ ์
๋ก๋
|
| 23 |
+
|
| 24 |
+
Args:
|
| 25 |
+
model_dir: ์
๋ก๋ํ ๋ชจ๋ธ ๋๋ ํ ๋ฆฌ ๊ฒฝ๋ก
|
| 26 |
+
repo_id: Hugging Face ๋ฆฌํฌ์งํ ๋ฆฌ ID (username/model-name)
|
| 27 |
+
token: Hugging Face API ํ ํฐ (None์ด๋ฉด ํ๊ฒฝ๋ณ์ ๋๋ CLI ๋ก๊ทธ์ธ ์ฌ์ฉ)
|
| 28 |
+
private: Private ๋ฆฌํฌ์งํ ๋ฆฌ๋ก ์์ฑํ ์ง ์ฌ๋ถ
|
| 29 |
+
commit_message: ์ปค๋ฐ ๋ฉ์์ง
|
| 30 |
+
"""
|
| 31 |
+
|
| 32 |
+
print("\n" + "="*80)
|
| 33 |
+
print(" Hugging Face Hub ์
๋ก๋")
|
| 34 |
+
print("="*80)
|
| 35 |
+
print(f"๐ ๋ชจ๋ธ ๋๋ ํ ๋ฆฌ: {model_dir}")
|
| 36 |
+
print(f"๐ฏ ๋ฆฌํฌ์งํ ๋ฆฌ: {repo_id}")
|
| 37 |
+
print(f"๐ ๊ณต๊ฐ ์ฌ๋ถ: {'Private' if private else 'Public'}")
|
| 38 |
+
print("="*80 + "\n")
|
| 39 |
+
|
| 40 |
+
# HfApi ์ด๊ธฐํ
|
| 41 |
+
api = HfApi(token=token)
|
| 42 |
+
|
| 43 |
+
# 1. ๋ฆฌํฌ์งํ ๋ฆฌ ์์ฑ (์ด๋ฏธ ์์ผ๋ฉด ์คํต)
|
| 44 |
+
print("1๏ธโฃ ๋ฆฌํฌ์งํ ๋ฆฌ ์์ฑ ์ค...")
|
| 45 |
+
try:
|
| 46 |
+
repo_url = create_repo(
|
| 47 |
+
repo_id=repo_id,
|
| 48 |
+
token=token,
|
| 49 |
+
private=private,
|
| 50 |
+
exist_ok=True,
|
| 51 |
+
repo_type="model"
|
| 52 |
+
)
|
| 53 |
+
print(f"โ ๋ฆฌํฌ์งํ ๋ฆฌ: {repo_url}\n")
|
| 54 |
+
except Exception as e:
|
| 55 |
+
print(f"โ ๏ธ ๋ฆฌํฌ์งํ ๋ฆฌ๊ฐ ์ด๋ฏธ ์กด์ฌํ๊ฑฐ๋ ์ค๋ฅ ๋ฐ์: {e}\n")
|
| 56 |
+
|
| 57 |
+
# 2. ํ์ผ ์
๋ก๋
|
| 58 |
+
print("2๏ธโฃ ๋ชจ๋ธ ํ์ผ ์
๋ก๋ ์ค...")
|
| 59 |
+
print(" โฑ๏ธ ์ด ์์
์ ์๊ฐ์ด ๊ฑธ๋ฆฝ๋๋ค (๋ชจ๋ธ ํฌ๊ธฐ: ~20GB)...\n")
|
| 60 |
+
|
| 61 |
+
try:
|
| 62 |
+
upload_folder(
|
| 63 |
+
repo_id=repo_id,
|
| 64 |
+
folder_path=model_dir,
|
| 65 |
+
token=token,
|
| 66 |
+
commit_message=commit_message,
|
| 67 |
+
repo_type="model"
|
| 68 |
+
)
|
| 69 |
+
print("โ ์
๋ก๋ ์๋ฃ!\n")
|
| 70 |
+
except Exception as e:
|
| 71 |
+
print(f"โ ์
๋ก๋ ์คํจ: {e}")
|
| 72 |
+
raise
|
| 73 |
+
|
| 74 |
+
# 3. ์๋ฃ
|
| 75 |
+
print("="*80)
|
| 76 |
+
print("โ
์
๋ก๋ ์ฑ๊ณต!")
|
| 77 |
+
print("="*80)
|
| 78 |
+
print(f"\n๐ ๋ชจ๋ธ ํ์ด์ง: https://huggingface.co/{repo_id}")
|
| 79 |
+
print(f"๐ ์ฌ์ฉ ๋ฐฉ๋ฒ:")
|
| 80 |
+
print(f"""
|
| 81 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 82 |
+
|
| 83 |
+
model = AutoModelForCausalLM.from_pretrained("{repo_id}")
|
| 84 |
+
tokenizer = AutoTokenizer.from_pretrained("{repo_id}")
|
| 85 |
+
""")
|
| 86 |
+
print("="*80 + "\n")
|
| 87 |
+
|
| 88 |
+
|
| 89 |
+
def main():
|
| 90 |
+
parser = argparse.ArgumentParser(
|
| 91 |
+
description="EEVE ๋ชจ๋ธ์ Hugging Face Hub์ ์
๋ก๋",
|
| 92 |
+
formatter_class=argparse.RawDescriptionHelpFormatter,
|
| 93 |
+
epilog="""
|
| 94 |
+
์ฌ์ฉ ์์:
|
| 95 |
+
|
| 96 |
+
# ๊ธฐ๋ณธ ์ฌ์ฉ (public)
|
| 97 |
+
python upload_to_hf.py --repo-id username/model-name
|
| 98 |
+
|
| 99 |
+
# Private ๋ฆฌํฌ์งํ ๋ฆฌ๋ก ์
๋ก๋
|
| 100 |
+
python upload_to_hf.py --repo-id username/model-name --private
|
| 101 |
+
|
| 102 |
+
# ํ ํฐ ์ง์ ์ง์
|
| 103 |
+
python upload_to_hf.py --repo-id username/model-name --token hf_xxxxx
|
| 104 |
+
|
| 105 |
+
# ๋ค๋ฅธ ๋๋ ํ ๋ฆฌ์์ ์
๋ก๋
|
| 106 |
+
python upload_to_hf.py --repo-id username/model-name --model-dir /path/to/model
|
| 107 |
+
|
| 108 |
+
์ ์ฒด ์ต์
:
|
| 109 |
+
python upload_to_hf.py \\
|
| 110 |
+
--repo-id MyeongHo0621/EEVE-Korean-Custom-10.8B \\
|
| 111 |
+
--model-dir /home/work/tesseract/eeve_hf_upload \\
|
| 112 |
+
--private \\
|
| 113 |
+
--commit-message "Initial upload: checkpoint-500 merged"
|
| 114 |
+
|
| 115 |
+
์ฃผ์์ฌํญ:
|
| 116 |
+
1. ๋จผ์ Hugging Face์ ๋ก๊ทธ์ธํด์ผ ํฉ๋๋ค:
|
| 117 |
+
huggingface-cli login
|
| 118 |
+
๋๋
|
| 119 |
+
hf auth login
|
| 120 |
+
|
| 121 |
+
2. ํ ํฐ์ Write ๊ถํ์ด ์์ด์ผ ํฉ๋๋ค:
|
| 122 |
+
https://huggingface.co/settings/tokens
|
| 123 |
+
|
| 124 |
+
3. ์
๋ก๋ ์๊ฐ: ~20-30๋ถ (๋คํธ์ํฌ ์๋์ ๋ฐ๋ผ)
|
| 125 |
+
"""
|
| 126 |
+
)
|
| 127 |
+
|
| 128 |
+
parser.add_argument(
|
| 129 |
+
"--repo-id",
|
| 130 |
+
type=str,
|
| 131 |
+
required=True,
|
| 132 |
+
help="Hugging Face ๋ฆฌํฌ์งํ ๋ฆฌ ID (username/model-name)"
|
| 133 |
+
)
|
| 134 |
+
|
| 135 |
+
parser.add_argument(
|
| 136 |
+
"--model-dir",
|
| 137 |
+
type=str,
|
| 138 |
+
default="/home/work/tesseract/eeve_hf_upload",
|
| 139 |
+
help="์
๋ก๋ํ ๋ชจ๋ธ ๋๋ ํ ๋ฆฌ (๊ธฐ๋ณธ: eeve_hf_upload)"
|
| 140 |
+
)
|
| 141 |
+
|
| 142 |
+
parser.add_argument(
|
| 143 |
+
"--token",
|
| 144 |
+
type=str,
|
| 145 |
+
default=None,
|
| 146 |
+
help="Hugging Face API ํ ํฐ (์ ํ, ์์ผ๋ฉด CLI ๋ก๊ทธ์ธ ์ฌ์ฉ)"
|
| 147 |
+
)
|
| 148 |
+
|
| 149 |
+
parser.add_argument(
|
| 150 |
+
"--private",
|
| 151 |
+
action="store_true",
|
| 152 |
+
help="Private ๋ฆฌํฌ์งํ ๋ฆฌ๋ก ์์ฑ"
|
| 153 |
+
)
|
| 154 |
+
|
| 155 |
+
parser.add_argument(
|
| 156 |
+
"--commit-message",
|
| 157 |
+
type=str,
|
| 158 |
+
default="Upload EEVE Korean Custom model (checkpoint-500 merged)",
|
| 159 |
+
help="์ปค๋ฐ ๋ฉ์์ง"
|
| 160 |
+
)
|
| 161 |
+
|
| 162 |
+
args = parser.parse_args()
|
| 163 |
+
|
| 164 |
+
# ๋ชจ๋ธ ๋๋ ํ ๋ฆฌ ํ์ธ
|
| 165 |
+
model_dir = Path(args.model_dir)
|
| 166 |
+
if not model_dir.exists():
|
| 167 |
+
print(f"โ ์ค๋ฅ: ๋ชจ๋ธ ๋๋ ํ ๋ฆฌ๋ฅผ ์ฐพ์ ์ ์์ต๋๋ค: {model_dir}")
|
| 168 |
+
return 1
|
| 169 |
+
|
| 170 |
+
# ํ์ ํ์ผ ํ์ธ
|
| 171 |
+
required_files = ["config.json", "tokenizer_config.json"]
|
| 172 |
+
missing_files = [f for f in required_files if not (model_dir / f).exists()]
|
| 173 |
+
if missing_files:
|
| 174 |
+
print(f"โ ์ค๋ฅ: ํ์ ํ์ผ์ด ์์ต๋๋ค: {missing_files}")
|
| 175 |
+
return 1
|
| 176 |
+
|
| 177 |
+
# ์
๋ก๋ ์คํ
|
| 178 |
+
try:
|
| 179 |
+
upload_model_to_hub(
|
| 180 |
+
model_dir=str(model_dir),
|
| 181 |
+
repo_id=args.repo_id,
|
| 182 |
+
token=args.token,
|
| 183 |
+
private=args.private,
|
| 184 |
+
commit_message=args.commit_message
|
| 185 |
+
)
|
| 186 |
+
print("โ
๋ชจ๋ ์์
์ด ์๋ฃ๋์์ต๋๋ค!")
|
| 187 |
+
return 0
|
| 188 |
+
|
| 189 |
+
except Exception as e:
|
| 190 |
+
print(f"\nโ ์ค๋ฅ ๋ฐ์: {e}")
|
| 191 |
+
import traceback
|
| 192 |
+
traceback.print_exc()
|
| 193 |
+
return 1
|
| 194 |
+
|
| 195 |
+
|
| 196 |
+
if __name__ == "__main__":
|
| 197 |
+
exit(main())
|
| 198 |
+
|