Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,160 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
- ko
|
5 |
+
license: apache-2.0
|
6 |
+
library_name: transformers
|
7 |
+
tags:
|
8 |
+
- llama-cpp
|
9 |
+
- gguf-my-repo
|
10 |
+
base_model:
|
11 |
+
- meta-llama/Meta-Llama-3-70B
|
12 |
+
- jeiku/Average_Test_v1
|
13 |
+
- Bllossom/llama-3-Korean-Bllossom-70B
|
14 |
+
---
|
15 |
+
|
16 |
+
|
17 |
+
<a href="https://github.com/MLP-Lab/Bllossom">
|
18 |
+
<img src="https://github.com/teddysum/bllossom/blob/main//bllossom_icon.png?raw=true" width="40%" height="50%">
|
19 |
+
</a>
|
20 |
+
|
21 |
+
# Bllossom | [Demo]() | [Homepage](https://www.bllossom.ai/) | [Github](https://github.com/MLP-Lab/Bllossom) | [Colab-tutorial](https://colab.research.google.com/drive/1fBOzUVZ6NRKk_ugeoTbAOokWKqSN47IG?usp=sharing) |
|
22 |
+
|
23 |
+
|
24 |
+
```bash
|
25 |
+
์ ํฌ Bllossomํ ์์ ํ๊ตญ์ด-์์ด ์ด์ค ์ธ์ด๋ชจ๋ธ์ธ Bllossom์ ๊ณต๊ฐํ์ต๋๋ค!
|
26 |
+
์์ธ๊ณผ๊ธฐ๋ ์ํผ์ปดํจํ
์ผํฐ์ ์ง์์ผ๋ก 100GB๊ฐ๋๋ ํ๊ตญ์ด๋ก ๋ชจ๋ธ์ ์ฒด๋ฅผ ํํ๋ํ ํ๊ตญ์ด ๊ฐํ ์ด์ค์ธ์ด ๋ชจ๋ธ์
๋๋ค!
|
27 |
+
ํ๊ตญ์ด ์ํ๋ ๋ชจ๋ธ ์ฐพ๊ณ ์์ง ์์ผ์
จ๋์?
|
28 |
+
- ํ๊ตญ์ด ์ต์ด! ๋ฌด๋ ค 3๋ง๊ฐ๊ฐ ๋๋ ํ๊ตญ์ด ์ดํํ์ฅ
|
29 |
+
- Llama3๋๋น ๋๋ต 25% ๋ ๊ธด ๊ธธ์ด์ ํ๊ตญ์ด Context ์ฒ๋ฆฌ๊ฐ๋ฅ
|
30 |
+
- ํ๊ตญ์ด-์์ด Pararell Corpus๋ฅผ ํ์ฉํ ํ๊ตญ์ด-์์ด ์ง์์ฐ๊ฒฐ (์ฌ์ ํ์ต)
|
31 |
+
- ํ๊ตญ์ด ๋ฌธํ, ์ธ์ด๋ฅผ ๊ณ ๋ คํด ์ธ์ดํ์๊ฐ ์ ์ํ ๋ฐ์ดํฐ๋ฅผ ํ์ฉํ ๋ฏธ์ธ์กฐ์
|
32 |
+
- ๊ฐํํ์ต
|
33 |
+
์ด ๋ชจ๋ ๊ฒ ํ๊บผ๋ฒ์ ์ ์ฉ๋๊ณ ์์
์ ์ด์ฉ์ด ๊ฐ๋ฅํ Bllossom์ ์ด์ฉํด ์ฌ๋ฌ๋ถ ๋ง์ ๋ชจ๋ธ์ ๋ง๋ค์ด๋ณด์ธ์ฅ!
|
34 |
+
๋ณธ ๋ชจ๋ธ์ 42GB GPU์์ ๊ตฌ๋ ๊ฐ๋ฅํ ์์ํ ๋ชจ๋ธ์
๋๋ค!
|
35 |
+
|
36 |
+
1. Bllossom-8B๋ ์์ธ๊ณผ๊ธฐ๋, ํ
๋์ธ, ์ฐ์ธ๋ ์ธ์ด์์ ์ฐ๊ตฌ์ค์ ์ธ์ดํ์์ ํ์
ํด ๋ง๋ ์ค์ฉ์ฃผ์๊ธฐ๋ฐ ์ธ์ด๋ชจ๋ธ์
๋๋ค! ์์ผ๋ก ์ง์์ ์ธ ์
๋ฐ์ดํธ๋ฅผ ํตํด ๊ด๋ฆฌํ๊ฒ ์ต๋๋ค ๋ง์ด ํ์ฉํด์ฃผ์ธ์ ๐
|
37 |
+
2. ์ด ๊ฐ๋ ฅํ Advanced-Bllossom 8B, 70B๋ชจ๋ธ, ์๊ฐ-์ธ์ด๋ชจ๋ธ์ ๋ณด์ ํ๊ณ ์์ต๋๋ค! (๊ถ๊ธํ์ ๋ถ์ ๊ฐ๋ณ ์ฐ๋ฝ์ฃผ์ธ์!!)
|
38 |
+
3. Bllossom์ NAACL2024, LREC-COLING2024 (๊ตฌ๋) ๋ฐํ๋ก ์ฑํ๋์์ต๋๋ค.
|
39 |
+
4. ์ข์ ์ธ์ด๋ชจ๋ธ ๊ณ์ ์
๋ฐ์ดํธ ํ๊ฒ ์ต๋๋ค!! ํ๊ตญ์ด ๊ฐํ๋ฅผ์ํด ๊ณต๋ ์ฐ๊ตฌํ์ค๋ถ(ํนํ๋
ผ๋ฌธ) ์ธ์ ๋ ํ์ํฉ๋๋ค!!
|
40 |
+
ํนํ ์๋์ GPU๋ผ๋ ๋์ฌ ๊ฐ๋ฅํํ์ ์ธ์ ๋ ์ฐ๋ฝ์ฃผ์ธ์! ๋ง๋ค๊ณ ์ถ์๊ฑฐ ๋์๋๋ ค์.
|
41 |
+
```
|
42 |
+
|
43 |
+
The Bllossom language model is a Korean-English bilingual language model based on the open-source LLama3. It enhances the connection of knowledge between Korean and English. It has the following features:
|
44 |
+
|
45 |
+
* **Knowledge Linking**: Linking Korean and English knowledge through additional training
|
46 |
+
* **Vocabulary Expansion**: Expansion of Korean vocabulary to enhance Korean expressiveness.
|
47 |
+
* **Instruction Tuning**: Tuning using custom-made instruction following data specialized for Korean language and Korean culture
|
48 |
+
* **Human Feedback**: DPO has been applied
|
49 |
+
* **Vision-Language Alignment**: Aligning the vision transformer with this language model
|
50 |
+
|
51 |
+
**This model developed by [MLPLab at Seoultech](http://mlp.seoultech.ac.kr), [Teddysum](http://teddysum.ai/) and [Yonsei Univ](https://sites.google.com/view/hansaemkim/hansaem-kim).**
|
52 |
+
**This model was converted to GGUF format from [`MLP-KTLim/llama-3-Korean-Bllossom-70B`](https://huggingface.co/MLP-KTLim/llama-3-Korean-Bllossom-70B) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
53 |
+
Refer to the [original model card](https://huggingface.co/MLP-KTLim/llama-3-Korean-Bllossom-70B) for more details on the model.**
|
54 |
+
|
55 |
+
|
56 |
+
## Demo Video
|
57 |
+
|
58 |
+
<div style="display: flex; justify-content: space-between;">
|
59 |
+
<!-- ์ฒซ ๋ฒ์งธ ์ปฌ๋ผ -->
|
60 |
+
<div style="width: 49%;">
|
61 |
+
<a>
|
62 |
+
<img src="https://github.com/lhsstn/lhsstn/blob/main/x-llava_dem.gif?raw=true" style="width: 100%; height: auto;">
|
63 |
+
</a>
|
64 |
+
<p style="text-align: center;">Bllossom-V Demo</p>
|
65 |
+
</div>
|
66 |
+
|
67 |
+
<!-- ๋ ๋ฒ์งธ ์ปฌ๋ผ (ํ์ํ๋ค๋ฉด) -->
|
68 |
+
<div style="width: 49%;">
|
69 |
+
<a>
|
70 |
+
<img src="https://github.com/lhsstn/lhsstn/blob/main/bllossom_demo_kakao.gif?raw=true" style="width: 70%; height: auto;">
|
71 |
+
</a>
|
72 |
+
<p style="text-align: center;">Bllossom Demo(Kakao)ใ
คใ
คใ
คใ
คใ
คใ
คใ
คใ
ค</p>
|
73 |
+
</div>
|
74 |
+
</div>
|
75 |
+
|
76 |
+
|
77 |
+
|
78 |
+
## NEWS
|
79 |
+
* [2024.05.08] Vocab Expansion Model Update
|
80 |
+
* [2024.04.25] We released Bllossom v2.0, based on llama-3
|
81 |
+
* [2023/12] We released Bllossom-Vision v1.0, based on Bllossom
|
82 |
+
* [2023/08] We released Bllossom v1.0, based on llama-2.
|
83 |
+
* [2023/07] We released Bllossom v0.7, based on polyglot-ko.
|
84 |
+
|
85 |
+
|
86 |
+
## Example code
|
87 |
+
|
88 |
+
|
89 |
+
## Use with llama.cpp
|
90 |
+
|
91 |
+
Install llama.cpp through brew.
|
92 |
+
|
93 |
+
```bash
|
94 |
+
brew install ggerganov/ggerganov/llama.cpp
|
95 |
+
```
|
96 |
+
Invoke the llama.cpp server or the CLI.
|
97 |
+
|
98 |
+
CLI:
|
99 |
+
|
100 |
+
```bash
|
101 |
+
llama-cli --hf-repo Bllossom/llama-3-Korean-Bllossom-70B-gguf-Q4_K_M --model bllossom_llama3_70b.Q4_K_M.gguf -p "์์ธ๊ณผํ๊ธฐ์ ๋ํ๊ต ์๊ฒฝํ ๊ต์๋ ์ด๋ค์ฐ๊ตฌ๋ฅผํ๋?"
|
102 |
+
```
|
103 |
+
|
104 |
+
Server:
|
105 |
+
|
106 |
+
```bash
|
107 |
+
llama-server --hf-repo Bllossom/llama-3-Korean-Bllossom-70B-gguf-Q4_K_M --model bllossom_llama3_70b.Q4_K_M.gguf -c 2048
|
108 |
+
```
|
109 |
+
|
110 |
+
Note: You can also use this checkpoint directly through the [usage steps](https://github.com/ggerganov/llama.cpp?tab=readme-ov-file#usage) listed in the Llama.cpp repo as well.
|
111 |
+
|
112 |
+
```
|
113 |
+
git clone https://github.com/ggerganov/llama.cpp && cd llama.cpp && make && ./main -m bllossom_llama3_70b.Q4_K_M.gguf -n 128
|
114 |
+
```
|
115 |
+
|
116 |
+
|
117 |
+
|
118 |
+
|
119 |
+
## Citation
|
120 |
+
**Language Model**
|
121 |
+
```text
|
122 |
+
@misc{bllossom,
|
123 |
+
author = {ChangSu Choi, Yongbin Jeong, Seoyoon Park, InHo Won, HyeonSeok Lim, SangMin Kim, Yejee Kang, Chanhyuk Yoon, Jaewan Park, Yiseul Lee, HyeJin Lee, Younggyun Hahm, Hansaem Kim, KyungTae Lim},
|
124 |
+
title = {Optimizing Language Augmentation for Multilingual Large Language Models: A Case Study on Korean},
|
125 |
+
year = {2024},
|
126 |
+
journal = {LREC-COLING 2024},
|
127 |
+
paperLink = {\url{https://arxiv.org/pdf/2403.10882}},
|
128 |
+
},
|
129 |
+
}
|
130 |
+
```
|
131 |
+
|
132 |
+
**Vision-Language Model**
|
133 |
+
```text
|
134 |
+
@misc{bllossom-V,
|
135 |
+
author = {Dongjae Shin, Hyunseok Lim, Inho Won, Changsu Choi, Minjun Kim, Seungwoo Song, Hangyeol Yoo, Sangmin Kim, Kyungtae Lim},
|
136 |
+
title = {X-LLaVA: Optimizing Bilingual Large Vision-Language Alignment},
|
137 |
+
year = {2024},
|
138 |
+
publisher = {GitHub},
|
139 |
+
journal = {NAACL 2024 findings},
|
140 |
+
paperLink = {\url{https://arxiv.org/pdf/2403.11399}},
|
141 |
+
},
|
142 |
+
}
|
143 |
+
```
|
144 |
+
|
145 |
+
## Contact
|
146 |
+
- ์๊ฒฝํ(KyungTae Lim), Professor at Seoultech. `[email protected]`
|
147 |
+
- ํจ์๊ท (Younggyun Hahm), CEO of Teddysum. `[email protected]`
|
148 |
+
- ๊นํ์(Hansaem Kim), Professor at Yonsei. `[email protected]`
|
149 |
+
|
150 |
+
## Contributor
|
151 |
+
- ์ต์ฐฝ์(Chansu Choi), [email protected]
|
152 |
+
- ๊น์๋ฏผ(Sangmin Kim), [email protected]
|
153 |
+
- ์์ธํธ(Inho Won), [email protected]
|
154 |
+
- ๊น๋ฏผ์ค(Minjun Kim), [email protected]
|
155 |
+
- ์ก์น์ฐ(Seungwoo Song), [email protected]
|
156 |
+
- ์ ๋์ฌ(Dongjae Shin), [email protected]
|
157 |
+
- ์ํ์(Hyeonseok Lim), [email protected]
|
158 |
+
- ์ก์ ํ(Jeonghun Yuk), [email protected]
|
159 |
+
- ์ ํ๊ฒฐ(Hangyeol Yoo), [email protected]
|
160 |
+
- ์ก์ํ(Seohyun Song), [email protected]
|