mav23 commited on
Commit
97c22a2
Β·
verified Β·
1 Parent(s): c82d2f7

Upload folder using huggingface_hub

Browse files
.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
+ eeve-korean-instruct-10.8b-v1.0.Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,131 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - generated_from_trainer
5
+ base_model: yanolja/EEVE-Korean-10.8B-v1.0
6
+ model-index:
7
+ - name: yanolja/EEVE-Korean-Instruct-10.8B-v1.0
8
+ results: []
9
+ ---
10
+ [<img src="https://raw.githubusercontent.com/OpenAccess-AI-Collective/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/OpenAccess-AI-Collective/axolotl)
11
+
12
+ <p align="left">
13
+ <img src="https://huggingface.co/yanolja/EEVE-Korean-Instruct-10.8B-v1.0/resolve/main/eeve_logo.webp" width="50%"/>
14
+ <p>
15
+
16
+ # EEVE-Korean-Instruct-10.8B-v1.0
17
+
18
+ ## Join Our Community on Discord!
19
+
20
+ If you're passionate about the field of Large Language Models and wish to exchange knowledge and insights, we warmly invite you to join our Discord server. It's worth noting that Korean is the primary language used in this server. The landscape of LLM is evolving rapidly, and without active sharing, our collective knowledge risks becoming outdated swiftly. Let's collaborate and drive greater impact together! Join us here: [Discord Link](https://discord.gg/b27bAHg95m).
21
+
22
+ ## Our Dedicated Team (Alphabetical Order)
23
+ | Research | Engineering | Product Management | UX Design |
24
+ |-----------------|-----------------|--------------------|--------------
25
+ | Myeongho Jeong | Geon Kim | Bokyung Huh | Eunsue Choi |
26
+ | Seungduk Kim | Rifqi Alfi | | |
27
+ | Seungtaek Choi | Sanghoon Han | | |
28
+ | | Suhyun Kang | | |
29
+
30
+ ## About the Model
31
+
32
+ This model is a fine-tuned version of [yanolja/EEVE-Korean-10.8B-v1.0](https://huggingface.co/yanolja/EEVE-Korean-10.8B-v1.0), which is a Korean vocabulary-extended version of [upstage/SOLAR-10.7B-v1.0](https://huggingface.co/upstage/SOLAR-10.7B-v1.0). Specifically, we utilized Direct Preference Optimization (DPO) through the use of [Axolotl](https://github.com/OpenAccess-AI-Collective/axolotl).
33
+
34
+ For more details, please refer to our technical report: [Efficient and Effective Vocabulary Expansion Towards Multilingual Large Language Models](https://arxiv.org/abs/2402.14714).
35
+
36
+ ## Prompt Template
37
+ ```
38
+ A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions.
39
+ Human: {prompt}
40
+ Assistant:
41
+ ```
42
+ ## How to Use it
43
+ ```python
44
+ from transformers import AutoTokenizer
45
+ from transformers import AutoModelForCausalLM
46
+
47
+ model = AutoModelForCausalLM.from_pretrained("yanolja/EEVE-Korean-Instruct-10.8B-v1.0")
48
+ tokenizer = AutoTokenizer.from_pretrained("yanolja/EEVE-Korean-Instruct-10.8B-v1.0")
49
+
50
+ prompt_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.\nHuman: {prompt}\nAssistant:\n"
51
+ text = 'ν•œκ΅­μ˜ μˆ˜λ„λŠ” μ–΄λ””μΈκ°€μš”? μ•„λž˜ 선택지 쀑 κ³¨λΌμ£Όμ„Έμš”.\n\n(A) κ²½μ„±\n(B) λΆ€μ‚°\n(C) 평양\n(D) μ„œμšΈ\n(E) μ „μ£Ό'
52
+ model_inputs = tokenizer(prompt_template.format(prompt=text), return_tensors='pt')
53
+
54
+ outputs = model.generate(**model_inputs, max_new_tokens=256)
55
+ output_text = tokenizer.batch_decode(outputs, skip_special_tokens=True)[0]
56
+ print(output_text)
57
+ ```
58
+
59
+ ### Example Output
60
+ ```
61
+ A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions.
62
+ Human: ν•œκ΅­μ˜ μˆ˜λ„λŠ” μ–΄λ””μΈκ°€μš”? μ•„λž˜ 선택지 쀑 κ³¨λΌμ£Όμ„Έμš”.
63
+
64
+ (A) κ²½μ„±
65
+ (B) λΆ€μ‚°
66
+ (C) 평양
67
+ (D) μ„œμšΈ
68
+ (E) μ „μ£Ό
69
+ Assistant:
70
+ (D) μ„œμšΈμ΄ ν•œκ΅­μ˜ μˆ˜λ„μž…λ‹ˆλ‹€. μ„œμšΈμ€ λ‚˜λΌμ˜ 뢁동뢀에 μœ„μΉ˜ν•΄ 있으며, μ •μΉ˜, 경제, λ¬Έν™”μ˜ μ€‘μ‹¬μ§€μž…λ‹ˆλ‹€. μ•½ 1,000만 λͺ…이 λ„˜λŠ” 인ꡬλ₯Ό 가진 μ„Έκ³„μ—μ„œ κ°€μž₯ 큰 λ„μ‹œ 쀑 ν•˜λ‚˜μž…λ‹ˆλ‹€. μ„œμšΈμ€ 높은 λΉŒλ”©, ν˜„λŒ€μ μΈ 인프라, ν™œκΈ° λ¬Έν™” μž₯면으둜 유λͺ…ν•©λ‹ˆλ‹€. λ˜ν•œ, λ§Žμ€ 역사적 λͺ…μ†Œμ™€ 박물관이 μžˆμ–΄ λ°©λ¬Έκ°λ“€μ—κ²Œ ν’λΆ€ν•œ λ¬Έν™” μ²΄ν—˜μ„ μ œκ³΅ν•©λ‹ˆλ‹€.
71
+ ```
72
+
73
+ ### Training Data
74
+ - Korean-translated version of [Open-Orca/SlimOrca-Dedup](https://huggingface.co/datasets/Open-Orca/SlimOrca-Dedup)
75
+ - Korean-translated version of [argilla/ultrafeedback-binarized-preferences-cleaned](https://huggingface.co/datasets/argilla/ultrafeedback-binarized-preferences-cleaned)
76
+ - No other dataset was used
77
+
78
+ ## Citation
79
+
80
+ ```
81
+ @misc{kim2024efficient,
82
+ title={Efficient and Effective Vocabulary Expansion Towards Multilingual Large Language Models},
83
+ author={Seungduk Kim and Seungtaek Choi and Myeongho Jeong},
84
+ year={2024},
85
+ eprint={2402.14714},
86
+ archivePrefix={arXiv},
87
+ primaryClass={cs.CL}
88
+ }
89
+ ```
90
+ ```
91
+ @misc{cui2023ultrafeedback,
92
+ title={UltraFeedback: Boosting Language Models with High-quality Feedback},
93
+ author={Ganqu Cui and Lifan Yuan and Ning Ding and Guanming Yao and Wei Zhu and Yuan Ni and Guotong Xie and Zhiyuan Liu and Maosong Sun},
94
+ year={2023},
95
+ eprint={2310.01377},
96
+ archivePrefix={arXiv},
97
+ primaryClass={cs.CL}
98
+ }
99
+ ```
100
+ ```
101
+ @misc{SlimOrcaDedup,
102
+ title = {SlimOrca Dedup: A Deduplicated Subset of SlimOrca},
103
+ author = {Wing Lian and Guan Wang and Bleys Goodson and Eugene Pentland and Austin Cook and Chanvichet Vong and "Teknium" and Nathan Hoos},
104
+ year = {2023},
105
+ publisher = {HuggingFace},
106
+ url = {https://huggingface.co/datasets/Open-Orca/SlimOrca-Dedup/}
107
+ }
108
+ ```
109
+ ```
110
+ @misc{mukherjee2023orca,
111
+ title={Orca: Progressive Learning from Complex Explanation Traces of GPT-4},
112
+ author={Subhabrata Mukherjee and Arindam Mitra and Ganesh Jawahar and Sahaj Agarwal and Hamid Palangi and Ahmed Awadallah},
113
+ year={2023},
114
+ eprint={2306.02707},
115
+ archivePrefix={arXiv},
116
+ primaryClass={cs.CL}
117
+ }
118
+ ```
119
+ # [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard)
120
+ Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/details_yanolja__EEVE-Korean-Instruct-10.8B-v1.0)
121
+
122
+ | Metric |Value|
123
+ |---------------------------------|----:|
124
+ |Avg. |66.48|
125
+ |AI2 Reasoning Challenge (25-Shot)|64.85|
126
+ |HellaSwag (10-Shot) |83.04|
127
+ |MMLU (5-Shot) |64.23|
128
+ |TruthfulQA (0-shot) |54.09|
129
+ |Winogrande (5-shot) |81.93|
130
+ |GSM8k (5-shot) |50.72|
131
+
eeve-korean-instruct-10.8b-v1.0.Q4_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:64d4c3c961a8b6781d1f0513a5fb17a06a06920a981508425005a6c06e28f510
3
+ size 6123352544