Upload 2 files
Browse files- .gitattributes +1 -0
- Korean-OpenOrca.png +3 -0
- README.md +66 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
Korean-OpenOrca.png filter=lfs diff=lfs merge=lfs -text
|
Korean-OpenOrca.png
ADDED
Git LFS Details
|
README.md
CHANGED
@@ -1,3 +1,69 @@
|
|
1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
license: cc-by-nc-4.0
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
language:
|
3 |
+
- ko
|
4 |
+
datasets:
|
5 |
+
- kyujinpy/OpenOrca-KO
|
6 |
+
- kyujinpy/kyujinpy/KOpen-platypus
|
7 |
+
library_name: transformers
|
8 |
+
pipeline_tag: text-generation
|
9 |
license: cc-by-nc-4.0
|
10 |
---
|
11 |
+
|
12 |
+
# **🐳KoR-Orca-Platypus-13B🐳**
|
13 |
+
![img](./Korean-OpenOrca.png)
|
14 |
+
|
15 |
+
## Model Details
|
16 |
+
|
17 |
+
**Model Developers** Kyujin Han (kyujinpy)
|
18 |
+
|
19 |
+
**Input** Models input text only.
|
20 |
+
|
21 |
+
**Output** Models generate text only.
|
22 |
+
|
23 |
+
**Model Architecture**
|
24 |
+
KoR-Orca-Platypus-13B is an auto-regressive language model based on the LLaMA2 transformer architecture.
|
25 |
+
|
26 |
+
**Repo Link**
|
27 |
+
Github Korean-OpenOrca: [🐳KoR-Orca-Platypus-13B🐳](https://github.com/Marker-Inc-Korea/Korean-OpenOrca)
|
28 |
+
|
29 |
+
**Base Model** [hyunseoki/ko-en-llama2-13b](https://huggingface.co/hyunseoki/ko-en-llama2-13b)
|
30 |
+
|
31 |
+
**Training Dataset**
|
32 |
+
Version of combined dataset: [kyujinpy/KOR-OpenOrca-Platypus](https://huggingface.co/datasets/kyujinpy/KOR-OpenOrca-Platypus)
|
33 |
+
|
34 |
+
I combined [OpenOrca-KO](https://huggingface.co/datasets/kyujinpy/OpenOrca-KO) and [kyujinpy/KOpen-platypus](https://huggingface.co/datasets/kyujinpy/KOpen-platypus).
|
35 |
+
I use A100 GPU 40GB and COLAB, when trianing.
|
36 |
+
|
37 |
+
# **Model Benchmark**
|
38 |
+
|
39 |
+
## KO-LLM leaderboard
|
40 |
+
- Follow up as [Open KO-LLM LeaderBoard](https://huggingface.co/spaces/upstage/open-ko-llm-leaderboard).
|
41 |
+
|
42 |
+
| Model | Average |Ko-ARC | Ko-HellaSwag | Ko-MMLU | Ko-TruthfulQA | Ko-CommonGen V2 |
|
43 |
+
| --- | --- | --- | --- | --- | --- | --- |
|
44 |
+
| KoR-Orca-Platypus-13B🐳(ours) | NaN | NaN | NaN | NaN | NaN | NaN |
|
45 |
+
| [GenAI-llama2-ko-en-platypus](https://huggingface.co/42MARU/GenAI-llama2-ko-en-platypus) | 49.81 | 45.22 | 55.25 | 41.84 | 44.78 | 61.97 |
|
46 |
+
| [KoT-Platypus2-13B](https://huggingface.co/kyujinpy/KoT-platypus2-13B) | 49.55 | 43.69 | 53.05 | 42.29 | 43.34 | 65.38 |
|
47 |
+
| [KO-Platypus2-13B](https://huggingface.co/kyujinpy/KO-Platypus2-13B) | 47.90 | 44.20 | 54.31 | 42.47 | 44.41 | 54.11 |
|
48 |
+
| [Korean-OpenOrca-13B🐳](https://huggingface.co/kyujinpy/Korean-OpenOrca-13B) | 47.85 | 43.09 | 54.13 | 40.24 | 45.22 | 56.57 |
|
49 |
+
|
50 |
+
> Compare with Top 4 SOTA models. (update: 10/14)
|
51 |
+
|
52 |
+
|
53 |
+
# Implementation Code
|
54 |
+
```python
|
55 |
+
### KO-Platypus
|
56 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
57 |
+
import torch
|
58 |
+
|
59 |
+
repo = "kyujinpy/KoR-Orca-Platypus-13B"
|
60 |
+
OpenOrca = AutoModelForCausalLM.from_pretrained(
|
61 |
+
repo,
|
62 |
+
return_dict=True,
|
63 |
+
torch_dtype=torch.float16,
|
64 |
+
device_map='auto'
|
65 |
+
)
|
66 |
+
OpenOrca_tokenizer = AutoTokenizer.from_pretrained(repo)
|
67 |
+
```
|
68 |
+
|
69 |
+
---
|