Downloads · 30 days
0
moche-ai/moche-tokenizer-ko-en-64k
moche-tokenizer-ko-en-64k is a machine learning model from moche-ai. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for tokenizers. The card lists the license as mit.
Downloads · 30 days
0
Access
Public
Updated Jul 12, 2026
Repo size
897 KB
Likes
0
Public
Click a slice to open those files.
.pkl897 KB · 99%
From the Hugging Face model README
<a href="https://moche.ai"><img src="https://raw.githubusercontent.com/moche-ai/moche-core/main/brand/hero.gif?v=h2" width="100%" alt="moche"></a>
a Korean+English balanced 64k BPE — 5.0× leaner on Korean than GPT-2
🏠 moche.ai · 🎮 Playground · 📝 Blog · 💻 GitHub · 🤗 Org
</div>모든 moche 모델은 이 토크나이저 위에 세워집니다 — 로드맵의 G0, 토대. 한국어는 소형 모델의 병목이었습니다. 이 64k KO+EN BPE는 한국어에서 GPT-2 대비 5.0× 효율이라, 모델이 파라미터를 '한글 철자'가 아니라 '지식'에 쓰게 합니다.
이 저장소는 토크나이저 학습 레시피(train_ko_en.py)를 공개합니다. 학습된 토크나이저는 moche 모델에 내장되어 배포됩니다 (예: moche-native-g1-0.5b 의 token_bytes.pt).
held-out 평가 (각 언어 ~3M chars):
| 토크나이저 | 한국어 | 영어 |
|---|---|---|
| moche ko-en-64k | 2.47 | 4.58 |
| nanochat-32k (EN) | 0.49 | 4.66 |
| GPT-2 | 0.50 | 4.66 |
| GPT-4 (cl100k) | 1.02 | 4.82 |
# nanochat RustBPETokenizer 포맷 (tokenizer.pkl)
# 학습·평가 스크립트: https://github.com/moche-ai/moche-native/blob/main/tokenizer/train_ko_en.py
MIT. 학습 데이터는 전부 공개 코퍼스(ClimbMix, fineweb-2-edu-korean).
moche-native — 첫 토큰부터 직접 만드는 한·영 옴니 모델. 프로젝트 저장소