Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,34 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
---
|
4 |
+
---
|
5 |
+
license: apache-2.0
|
6 |
+
language:
|
7 |
+
- ko
|
8 |
+
---
|
9 |
+
# KULLM project
|
10 |
+
- base model: Upstage/SOLAR-10.7B-Instruct-v1.0
|
11 |
+
|
12 |
+
## datasets
|
13 |
+
- KULLM dataset
|
14 |
+
- hand-crafted instruction data
|
15 |
+
|
16 |
+
## Implementation Code
|
17 |
+
```python
|
18 |
+
from transformers import (
|
19 |
+
AutoModelForCausalLM,
|
20 |
+
AutoTokenizer
|
21 |
+
)
|
22 |
+
import torch
|
23 |
+
|
24 |
+
repo = "heavytail/kullm-solar-S"
|
25 |
+
model = AutoModelForCausalLM.from_pretrained(
|
26 |
+
repo,
|
27 |
+
torch_dtype=torch.float16,
|
28 |
+
device_map='auto'
|
29 |
+
)
|
30 |
+
tokenizer = AutoTokenizer.from_pretrained(repo)
|
31 |
+
```
|
32 |
+
|
33 |
+
|
34 |
+
Initial upload: 2024/01/28 21:00
|