|
--- |
|
language: |
|
- ko |
|
tags: |
|
- pytorch |
|
- causal-lm |
|
- medical |
|
license: llama2 |
|
pipeline_tag: text-generation |
|
--- |
|
|
|
[https://github.com/jwj7140/ko-medical-chat](https://github.com/jwj7140/ko-medical-chat) |
|
|
|
# Llama-Ko-Medical-7b |
|
llama2-ko-medical์ [llama-2-ko](https://huggingface.co/beomi/llama-2-ko-7b)๋ฅผ ๊ธฐ๋ฐ์ผ๋ก ์๋ฃ ๋ถ์ผ์ ํ๊ธ raw ๋ฐ์ดํฐ๋ฅผ ํ์ต์ํจ ๊ธฐ๋ฐ ๋ชจ๋ธ์
๋๋ค. |
|
## ํ์ต ๋ฐ์ดํฐ |
|
llama2-ko-medical์ ์ฝ 526MB์ ์๋ฃ ๋ถ์ผ ํ๊ธ ๋ง๋ญ์น๋ก ํ์ต๋์์ต๋๋ค. ์ฃผ์ ๋ฐ์ดํฐ์
์ ๋ค์๊ณผ ๊ฐ์ต๋๋ค. |
|
| Source |Size (MB) | Link | |
|
|----------------------------------|---------|------------------------------------------| |
|
| AIHub ์๋ฃ, ๋ฒ๋ฅ ์ ๋ฌธ ์์ ๋ง๋ญ์น | 351.0 | aihub.or.kr | |
|
| ํ์ด๋ฅ ๋ด์ค ๋ฐ์ดํฐ | 97.3 | hidoc.co.kr | |
|
| AIHub ์ ๋ฌธ๋ถ์ผ ํ์ ๋ง๋ญ์น | 63.4 | aihub.or.kr| |
|
| ์ง๋ณ๊ด๋ฆฌ์ฒญ ๊ตญ๊ฐ๊ฑด๊ฐ์ ๋ณดํฌํธ | 8.33 | health.kdca.go.kr | |
|
| ๋ณด๊ฑด๋ณต์ง๋ถ ๊ตญ๊ฐ์ ์ ๊ฑด๊ฐ์ ๋ณดํฌํธ | < 1.0 | mentalhealth.go.kr | |
|
## ํ์ต |
|
llama2-ko-medical-7b๋ [llama-2-ko](https://huggingface.co/beomi/llama-2-ko-7b)์์ qlora๋ก ์ถ๊ฐ ํ์ต๋์์ต๋๋ค. |
|
- lora_alpha: 16 |
|
- lora_dropout: 0.01 |
|
- lora_r: 64 |
|
- target_modules: q_proj, v_proj |
|
- epoch: 3 |
|
- learning_rate: 3e-4 |