HumanF-MarkrAI/Gukbap-Qwen2.5-7B๐
Model Details๐
Model Description
- Developed by: HumanF-MarkrAI
- Model type: Ko-Qwen2.5-7B
- Language(s): Korean
- Context Length: 8192
- License: cc-by-nc-4.0
- Finetuned from model: Qwen/Qwen2.5-7B-Instruct.
Model Sources
When training, we used A100 40GB GPU
x4.
Implications๐
Achieving Top-Level Korean Language Performance Surpassing GPT-4 Using Only Open-Source LLMs๐ฅ
Recently, numerous state-of-the-art (SOTA) models have leveraged data generated by private models (e.g., ChatGPT, GPT-4) for LLM training, as seen in projects like OpenOrca
, Ultrafeedback
, and OpenHermes
.
However, this approach may violate these private models' terms of service (ToS).
For instance, OpenAI's license explicitly states: "โ ๏ธUse Limitation: Creating services that compete with OpenAI.โ ๏ธ"
This implies that using data generated by private models to create unrestricted, open LLMs is challenging.
In this context, our model is significant in that it has been trained solely on a proprietary dataset generated through open-source models.** Furthermore, it achieved an impressive score of ๐ฅ8.39๐ฅ in the korean logickor evaluation, the SOTA for korean based LLM under <7B parameters.
The Gukbap-Series LLM๐ was developed using the data processing and supervised fine-tuning (SFT) methods proposed by LIMA and WizardLM. This demonstrates โญthe potential to create unrestricted, general-purpose LLMs using datasets generated solely with open-source LLMs.โญ
ํ๊ตญ์ด๋ฒ์
์คํ์์ค LLM๋ง์ผ๋ก ๋ฐ์ดํฐ๋ฅผ ์์ฑํ์ฌ GPT-4๋ฅผ ๋์ด ํ๊ตญ์ด ์ต๊ณ ๋ ๋ฒจ์ ๋ฌ์ฑ๐ฅ
์ค๋๋ ์๋ง์ ์ฌ๋ฌ SOTA ๋ชจ๋ธ๋ค์ private model (ChatGPT, GPT4 ๋ฑ)์ ํ์ฉํ์ฌ ์์ฑํ ๋ฐ์ดํฐ๋ฅผ ํตํด LLM ํ๋ จ์ ์งํํ๊ณ ์์ต๋๋ค. (OpenOrca, Ultrafeedback, OpenHermes ๋ฑ) ํ์ง๋ง, ์ด๋ private model์ ์ด์ฉ ์ฝ๊ด์ ์๋ฐฐ๋ ์๋ ์์ต๋๋ค. ๋ํ์ ์ผ๋ก OpenAI์ license์๋ ๋ค์๊ณผ ๊ฐ์ ๋ง์ด ๋ช ์๋์ด ์์ต๋๋ค: "โ ๏ธ์ฌ์ฉ ์ ํ: OpenAI์ ๊ฒฝ์ํ๊ธฐ ์ํ ์๋น์ค๋ฅผ ๋ง๋๋ ๊ฒ.โ ๏ธ" ์ฆ, private model์ ํตํด ๋ง๋ ๋ฐ์ดํฐ๋ก๋ ์ ์ฝ์ด ์๋ ์์ ๋ก์ด LLM์ ๋ง๋ค๊ธฐ๋ ํ๋ญ๋๋ค.
์ด๋ฌํ ๊ด์ ์์ ์ฐ๋ฆฌ ๋ชจ๋ธ์ ์ค์ง ์คํ์์ค์ ํตํด ์์ฑํ ์์ฒด ๋ฐ์ดํฐ์ ๋ก ํ์ตํ๋ค๋ ๊ฒ์ ํฐ ์์๊ฐ ์์ต๋๋ค. ๋ํ ํ๊ตญ์ด logickor ์์ฒด ํ๊ฐ์์ ๐ฅ8.39๐ฅ์ด๋ผ๋ ๊ณ ๋์ ์ ๋ฌ์ฑํ์๊ณ , ์ด๋ 7B ์ดํ ํ๊ตญ์ด ๋ชจ๋ธ ์ค SOTA์ ๋๋ค.
Gukbap-Series LLM๐์ LIMA์ WizardLM์์ ์ ์ํ ๋ฐ์ดํฐ ๊ฐ๊ณต ๋ฐ SFT ํ๋ จ ๋ฐฉ๋ฒ์ ํตํด ์ ์๋์์ผ๋ฉฐ, โญ์คํ์์ค LLM๋ง์ผ๋ก ๋ฐ์ดํฐ์ ์ ๋ง๋ค์ด์ ์ ์ฝ์ด ์๋ ์์ฒด general LLM์ ๋ง๋ค ์ ์๋ค๋ ๊ฐ๋ฅ์ฑโญ์ ๋ณด์ฌ์ค๋๋ค.
Training Method (SFT)
The following papers contain the foundational methodologies for the dataset and training methods we are currently proceeding.
SFT Datasets (Private)
When we made the Open-Source based dataset
, we use microsoft/WizardLM-2-8x22B
through DeepInfra.
Our datasets are made by Evolving system
, which is propsed by WizardLM.
In training, we used 1849 training dataset, and 200 validation dataset.
- Wizard-Korea-Datasets: MarkrAI/Markr_WizardLM_train_ver4.
- Wizard-Korea-Valid: WizardLM_Evol_valid.
Validation loss (epoch 15; Learning rate: 1e-5): 0.9075
Benchmark Score (Zero-shot)
We internally evaluated LogicKor.
We utilized gpt-4-1106-preview in internal evaluation.
It is same manner as Logickor-v2 eval model
.
(GPT-4o occasionally makes errors when grading. For example, it sometimes assigns a score of 0 for English responses to questions that were supposed to be answered in English.)
Model | ์ถ๋ก | ์ํ | ๊ธ์ฐ๊ธฐ | ์ฝ๋ฉ | ์ดํด | ๋ฌธ๋ฒ | ์ฑ๊ธํด | ๋ฉํฐํด | Overall |
---|---|---|---|---|---|---|---|---|---|
OpenAI/gpt-4o-2024-05-13 | 9.50 | 8.71 | 9.42 | 9.21 | 9.71 | 9.42 | 9.42 | 9.23 | 9.33 |
Anthropic/clauide-3-5-sonnet-20240620 | 8.64 | 8.42 | 9.85 | 9.78 | 9.92 | 9.21 | 9.26 | 9.35 | 9.30 |
google/gemini-1.5-pro-001 | 9.07 | 8.57 | 9.57 | 9.78 | 9.57 | 9.21 | 9.40 | 9.19 | 9.23 |
---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- |
Gukbap-Qwen2.5-7B๐ | 8.57 | 8.93 | 9.50 | 9.07 | 9.21 | 5.07 | 8.71 | 8.07 | 8.39 |
Gukbap-Qwen2-7B๐ | 5.71 | 6.43 | 8.07 | 9.14 | 7.29 | 3.57 | 7.02 | 6.38 | 6.70 |
mirlab/AkaLlama-llama3-70b-v0.1 | 5.14 | 5.35 | 4.14 | 9.00 | 7.85 | 7.50 | 5.97 | 7.02 | 6.50 |
Qwen/Qwen2-7B-Instruct | 6.07 | 4.71 | 7.21 | 7.00 | 8.00 | 4.85 | 6.61 | 6.00 | 6.30 |
yanolja/EEVE-Korean-Instruct-10.8B-v1.0 | 6.00 | 3.64 | 6.64 | 5.64 | 8.42 | 5.85 | 6.61 | 5.45 | 6.01 |
If you want to check model's output, please see our โญanswerโญ file!!
Benchmark Code
Our code based on maywell's Logickor code.
We followed maywell's evaluation method such as judge_template
, prompt
, etc.
Chat Prompt
<|im_start|>user
Hello! My favorite food is Gukbap๐!<|im_end|>
<|im_start|>assistant
(model answer)
Gukbap-Series models๐๐
BibTeX
@article{HumanF-MarkrAI,
title={Gukbap-Qwen2.5-7B},
author={MarkrAI},
year={2024},
url={https://huggingface.co/HumanF-MarkrAI}
}
- Downloads last month
- 31