Instructions to use properly59/Jumini-Ko-1.2B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use properly59/Jumini-Ko-1.2B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="properly59/Jumini-Ko-1.2B")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("properly59/Jumini-Ko-1.2B") model = AutoModelForCausalLM.from_pretrained("properly59/Jumini-Ko-1.2B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use properly59/Jumini-Ko-1.2B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "properly59/Jumini-Ko-1.2B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "properly59/Jumini-Ko-1.2B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/properly59/Jumini-Ko-1.2B
- SGLang
How to use properly59/Jumini-Ko-1.2B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "properly59/Jumini-Ko-1.2B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "properly59/Jumini-Ko-1.2B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "properly59/Jumini-Ko-1.2B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "properly59/Jumini-Ko-1.2B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use properly59/Jumini-Ko-1.2B with Docker Model Runner:
docker model run hf.co/properly59/Jumini-Ko-1.2B
Jumini-Ko-1.2B
Jumini-Ko-1.2B is a 1.26B-parameter Korean decoder-only language model trained from scratch โ its architecture, tokenizer, data pipeline, and training loop were all built in-house, and it is not a fine-tune of any existing model. It is a compact, Korean-specialized model designed to run on commodity hardware.
Among the evaluated open non-flagship Korean baselines (
polyglot-ko-1.3b,Tri-1.9B), Jumini-Ko-1.2B is the strongest on Korean knowledge (HAE-RAE) and reading comprehension (Belebele-Ko) โ despite being the smallest model compared. The flagshipEXAONE-4.0-1.2B, trained on far more data/compute, is stronger on all four benchmarks.
Highlights
- ๐ฐ๐ท Korean-specialized, from scratch โ Llama-3-style architecture (RoPE, GQA, SwiGLU, RMSNorm), 128K byte-level BPE tokenizer, trained from random initialization.
- ๐ฅ Beats the size-matched
polyglot-ko-1.3band the largerTri-1.9Bon HAE-RAE and Belebele-Ko (5-shot), the two Korean-language benchmarks emphasized here. (It trailspolyglot-ko-1.3bon KoBEST commonsense and KMMLU, and the flagshipEXAONE-4.0-1.2Boverall.) - ๐ฌ A data-centric recipe โ we show that which corpus you continue-pretrain on decides which capability improves (web โ commonsense, Wikipedia โ knowledge).
- ๐ฆ Edge-friendly โ 1.26B parameters; runs comfortably on a single consumer GPU.
Benchmark Results
Korean benchmarks via the EleutherAI lm-evaluation-harness, 5-shot, accuracy (%). All models
evaluated under identical settings. Bold = best, underline = second best.
| Benchmark | Jumini-Ko-1.2B (1.26B) | polyglot-ko-1.3b (1.43B) | Tri-1.9B (1.9B) | EXAONE-4.0-1.2Bโ (1.28B) |
|---|---|---|---|---|
| HAE-RAE (Korean knowledge) | 21.9 | 18.7 | 18.9 | 30.0 |
| Belebele-Ko (reading) | 27.9 | 22.4 | 22.9 | 44.7 |
| KMMLU (knowledge) | 24.3 | 27.8 | 16.6 | 32.6 |
| KoBEST (commonsense) | 49.5 | 55.9 | 50.1 | 50.6 |
โ EXAONE-4.0-1.2B is a strong flagship model trained on vastly more data/compute, shown as an aspirational reference. Against the open same-tier baselines (polyglot-ko-1.3b, Tri-1.9B), Jumini leads on the Korean-specific HAE-RAE and Belebele-Ko while being the smallest model.
Jumini also beats polyglot-ko-1.3b on 4 of 5 HAE-RAE subtasks (history, loan-word,
rare-word, standard-nomenclature). It trails polyglot-ko-1.3b on commonsense (KoBEST) and broad
knowledge (KMMLU). Full per-subtask numbers are in the technical report.
Quickstart
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "properly59/Jumini-Ko-1.2B"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, torch_dtype=torch.float16, device_map="auto")
prompt = "### ์ง๋ฌธ:\n๋ํ๋ฏผ๊ตญ์ ์๋๋ ์ด๋์ธ๊ฐ์?\n\n### ๋ต๋ณ:\n"
ids = tok(tok.bos_token + prompt, return_tensors="pt", add_special_tokens=False).to(model.device)
out = model.generate(**ids, max_new_tokens=128, do_sample=True, temperature=0.8,
min_p=0.05, repetition_penalty=1.2, no_repeat_ngram_size=3,
pad_token_id=tok.pad_token_id)
print(tok.decode(out[0][ids.input_ids.shape[1]:], skip_special_tokens=True))
Model Details
| Architecture | Decoder-only Transformer (Llama-3 family) |
| Parameters | 1.26B (hidden 2048, 28 layers, 32 Q / 8 KV heads, SwiGLU 4096) |
| Position encoding | RoPE (ฮธ = 500,000) |
| Tokenizer | Byte-level BPE, 128,000 vocab |
| Context length | 4,096 |
| Precision | bf16 / fp16 |
| License | Apache-2.0 |
Training
A three-stage, fully-documented pipeline on top of the from-scratch base:
- Continued pre-training on a high-quality Korean mixture (FineWeb-2
kor_Hang, KOREAN-WEBTEXT, Korean Wikipedia), document-boundary packed. - Encyclopedic annealing on Korean Wikipedia (LR โ 0) โ the most token-efficient route to Korean knowledge.
- Supervised fine-tuning on a 132K permissively-licensed Korean instruction mixture (KoAlpaca, OpenOrca-KO, KOpen-Platypus, KULLM-v2), with completion-only loss and explicit EOS supervision.
All continued-pretraining and instruction data are public corpora used only for post-training; no external pretrained weights are used. A benchmark decontamination check found 0.00% of benchmark items substantially covered (โฅ50% of 25-character shingles) by the instruction data.
Intended Use & Limitations
Intended for Korean text generation, QA, summarization, and research on small-model training. As a compact model trained from scratch under a constrained budget, its factual accuracy is limited and it can produce incorrect content; greedy decoding is best paired with a repetition penalty. It trails much larger / higher-budget Korean models (e.g., EXAONE) on knowledge tasks and has not undergone safety alignment. Use for research and non-critical applications only.
Citation
@techreport{jumini2026,
title = {Jumini-Ko-1.2B Technical Report},
author = {Cho, Ju-min},
year = {2026},
note = {https://huggingface.co/properly59/Jumini-Ko-1.2B}
}
- Downloads last month
- 22
Evaluation results
- accuracy (5-shot) on HAE-RAE Benchself-reported21.900
- accuracy (5-shot) on Belebele (kor_Hang)self-reported27.900
- accuracy (5-shot) on KMMLUself-reported24.300
- accuracy (5-shot) on KoBESTself-reported49.500