|
--- |
|
license: cc-by-nc-4.0 |
|
base_model: |
|
- google/gemma-2-2b-it |
|
--- |
|
|
|
# Gemma-2-2b ์ด๋ฑํ์ ๊ธ ๋ณํ๊ธฐ |
|
|
|
|
|
## Model Description |
|
- Gemma2-2b ํ๊ตญ ์ด๋ฑํ์ ๊ธ ๋ณํ๊ธฐ๋ ์
๋ ฅํ ๊ธ์ ์ด๋ฑํ์์ด ์ด ๊ฒ ๊ฐ์ ๊ธ๋ก ๋ณํํด ์ฃผ๋ ๋ชจ๋ธ์
๋๋ค. |
|
- Gemma2-2b-it ๋ชจ๋ธ์ base model๋ก ์ฌ์ฉํ์๊ณ LoRA๊ธฐ๋ฒ์ ์ฌ์ฉํ์ฌ ํจ์จ์ ์ผ๋ก fine-tuning ํ์์ต๋๋ค. |
|
|
|
## Usage |
|
``` |
|
import transformers |
|
import torch |
|
from huggingface_hub import notebook_login |
|
|
|
notebook_login() |
|
|
|
BASE_MODEL = "skwh54/Gemma-2-2b-it-elementary-style-document" |
|
|
|
model = AutoModelForCausalLM.from_pretrained(BASE_MODEL, device_map={"":0}) |
|
tokenizer = AutoTokenizer.from_pretrained(BASE_MODEL) |
|
``` |
|
|
|
## Training data |
|
- [korean_smile_style_dataset](https://github.com/smilegate-ai/korean_smile_style_dataset)์ ์ฌ์ฉํ์์ต๋๋ค. |
|
- ๋ณธ ๋ฐ์ดํฐ๋ Smilegate AI์์ ๊ณต๊ฐํ๋ ํ๊ตญ์ด ๋ฌธ์ฒด ์คํ์ผ ๋ณํ "SmileStyle" ๋ฐ์ดํฐ์
์
๋๋ค. |
|
- ์ฌ๋ฌ ์คํ์ผ์ ๋ฌธ์ฒด๊ฐ ์กด์ฌํ๋ฉฐ ์ด ์ค์์ formal๊ณผ choding ์คํ์ผ์ ๋ฐ์ดํฐ๋ง์ ์ถ์ถํ์ฌ ์ฌ์ฉํ์์ต๋๋ค. |
|
|
|
|