yejin-korean-tokenizer-64k
ํ๊ตญ์ด์ ์ต์ ํ๋ 64K Byte-Level BPE ํ ํฌ๋์ด์ ์ ๋๋ค.
ํน์ง
- Vocab ํฌ๊ธฐ: 64,000 ํ ํฐ
- ์๊ณ ๋ฆฌ์ฆ: Byte-Level BPE (Llama/GPT ์คํ์ผ)
- ์ ๋์ฝ๋ ์ ๊ทํ: NFC (ํ๊ตญ์ด ์๋ชจ ๊ฒฐํฉ ๋ณด์ฅ)
- ํน์ ํ ํฐ: BOS, EOS, PAD, UNK + ์ฑํ ํ ํฐ (system/user/assistant)
- ํ์ต ์์: 23.6๋ถ (CPU)
- ํ์ต ๋ฐ์ดํฐ: ์ด 5,958,043๊ฐ ํ ์คํธ
polyglot-ko (30K) ๋๋น ๊ฐ์
๊ธฐ์กด polyglot-ko ํ ํฌ๋์ด์ (30K vocab) ๋๋น ํ๊ตญ์ด ํ ํฐ ํจ์จ์ด ํฌ๊ฒ ๊ฐ์ ๋์์ต๋๋ค. Vocab ํฌ๊ธฐ๊ฐ 2๋ฐฐ ์ด์์ด๋ฏ๋ก ๊ฐ์ ๋ฌธ์ฅ์ ๋ ์ ์ ํ ํฐ์ผ๋ก ํํํ ์ ์์ด, ๋์ผํ ์ปจํ ์คํธ ๊ธธ์ด์์ ๋ ๋ง์ ์ ๋ณด๋ฅผ ์ฒ๋ฆฌํ ์ ์์ต๋๋ค.
์ฌ์ฉ๋ฒ
from transformers import AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("cooler8/yejin-korean-tokenizer-64k")
text = "์ธ๊ณต์ง๋ฅ๊ณผ ๊ฑฐ๋์ธ์ด๋ชจ๋ธ์ ๋ฏธ๋๋ ๋ฐ์ต๋๋ค."
tokens = tokenizer.encode(text)
print(f"ํ ํฐ ์: {len(tokens)}")
print(f"ํ ํฐ: {tokenizer.convert_ids_to_tokens(tokens)}")
ํ์ต ๋ฐ์ดํฐ
์ด 5,958,043๊ฐ ํ ์คํธ๋ก ํ์ต๋์์ต๋๋ค.
AIHub ๋ฐ์ดํฐ (์ ๋ถ ๊ณต๊ณต ๋ฐ์ดํฐ)
| ์นดํ ๊ณ ๋ฆฌ | ํ ์คํธ ์ |
|---|---|
| 01_๋ ผ๋ฌธ_ํ์ | 500,042 |
| 02_๋์_๋ง๋ญ์น | 500,003 |
| 03_์ ๋ฌธ๋ถ์ผ | 509,076 |
| 04_์น_๋ด์ค | 501,738 |
| 05_๋ฒ๋ฅ _ํ์ | 500,000 |
| 06_์๋ฃ_๊ฑด๊ฐ | 500,000 |
| 07_๊ต์ก_์ง์ | 214,238 |
์คํ์์ค ํ๊ตญ์ด ๋ฐ์ดํฐ
| ์์ค | ํ ์คํธ ์ |
|---|---|
| cosmopedia_stories_science | 200,000 |
| culturax_korean | 200,000 |
| ko_alpaca_instructions | 21,149 |
| ko_alpaca_v1.1a | 21,149 |
| ko_orca | 34,163 |
| korean_textbooks_claude_evol | 200,000 |
| korean_textbooks_code_alpaca | 64,006 |
| korean_textbooks_instructions | 200,000 |
| korean_textbooks_mmlu_all | 97,697 |
| korean_textbooks_tiny | 200,000 |
| korean_textbooks_wikidata | 127,470 |
| korean_webtext | 200,000 |
| magpie_reasoning_150k | 148,703 |
| math_instruct | 200,000 |
| mc4_korean | 200,000 |
| namuwiki | 200,000 |
| open_ko_instructions | 200,000 |
| python_code_instructions_18k | 18,609 |
| wikipedia_korean_2024 | 200,000 |
๋ฐ์ดํฐ ๋๋ฉ์ธ
- ๐ฐ ๋ด์ค/์น ํ ์คํธ (mc4, culturax, webtext)
- ๐ ๋์/๋ฌธ์ (๋๊ท๋ชจ ๋์ ๋ง๋ญ์น)
- ๐ฌ ํ์ /๋ ผ๋ฌธ (๋ฐ์ด์ค์๋ฃ ๋ ผ๋ฌธ, ๊ธฐ์ ๊ณผํ)
- โ๏ธ ๋ฒ๋ฅ /ํ์ (๋ฒ๋ฅ , ํนํ, ๊ตญํํ์๋ก)
- ๐ฅ ์๋ฃ/๊ฑด๊ฐ (ํฌ์ค์ผ์ด QA)
- ๐ป ์ฝ๋/์ํ (์ฝ๋ ์ถ๋ก , ์ํ ์ถ๋ก )
- ๐ ๋ฐฑ๊ณผ์ฌ์ (๋๋ฌด์ํค)
- ๐ ๊ต์ก (๋ํ ๊ฐ์, ์ง์๊ทธ๋ํ)
- ๐ฌ ๋ํ/QA (๋ฏผ์ ์๋ด, ์ผ์ ๋ํ)
๋ผ์ด์ ์ค
Apache-2.0
์ ์
- ํ๋ก์ ํธ: yejin-korean LLM
- ์ ์ ํ๊ฒฝ: KT Cloud H200 ์๋ฒ (CPU ์ ์ฉ)
- ๋ ์ง: 2026-08-29