Instructions to use sjmoon21/SJ-ko with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use sjmoon21/SJ-ko with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf sjmoon21/SJ-ko # Run inference directly in the terminal: llama cli -hf sjmoon21/SJ-ko
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf sjmoon21/SJ-ko # Run inference directly in the terminal: llama cli -hf sjmoon21/SJ-ko
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf sjmoon21/SJ-ko # Run inference directly in the terminal: ./build/bin/llama cli -hf sjmoon21/SJ-ko
Use Docker
docker model run hf.co/sjmoon21/SJ-ko
- Llama new
- LM Studio
- Jan
- vLLM
How to use sjmoon21/SJ-ko with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "sjmoon21/SJ-ko" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "sjmoon21/SJ-ko", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/sjmoon21/SJ-ko
- Ollama
How to use sjmoon21/SJ-ko with Ollama:
ollama run hf.co/sjmoon21/SJ-ko
- Unsloth Desktop
- Docker Model Runner
How to use sjmoon21/SJ-ko with Docker Model Runner:
docker model run hf.co/sjmoon21/SJ-ko
- Lemonade
How to use sjmoon21/SJ-ko with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull sjmoon21/SJ-ko
Run and chat with the model
lemonade run user.SJ-ko-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
Download README.md from sjmoon21/SJ-ko: direct link, hf CLI and curl.
- Browser
- Download file 15.9 kB
-
https://huggingface.co/sjmoon21/SJ-ko/resolve/main/README.md
- Command line
-
hf download hf://sjmoon21/SJ-ko/README.md
-
curl -L -o README.md https://huggingface.co/sjmoon21/SJ-ko/resolve/main/README.md
language:
- ko
- en
license: cc-by-nc-sa-4.0
library_name: gguf
tags:
- korean
- gpt
- from-scratch
- educational
- gguf
- tool-use
pipeline_tag: text-generation
SJ-ko
A 75M parameter Korean GPT built and trained from scratch.
Current release: SJ-0.7.1simft (sj-0.7.1simft.gguf).
The earlier 11M releases sj-0.5.6simf.gguf and sj-0.5.1si.gguf are kept in legacy/.
In training: a ~400M-parameter successor (run28 โ 26 layers ยท 1024 dim, 32k byte-fallback BPE, 7.6B-token Korean/English/code corpus) on Kaggle T4ร2. It is not published yet; the training history below is updated as runs finish.
No Hugging Face Transformers, no existing training framework. The BPE tokenizer, attention, training loop, and GGUF converter were all written by hand. This is an educational project, not a production model. It invents facts and can fall into repetition loops.
- Author: Sungjin Moon, Seoul National University, Department of Physics & Astronomy, Physics
- Contact: mongsil88@snu.ac.kr
Specification
| Parameters | 75.32M (14.7% embeddings). The GGUF counts 75.61M: llama.cpp needs 565 extra byte-sequence tokens, whose embedding rows copy <unk> |
| Architecture | 20 layers ยท 512 dim ยท 8 heads ยท RMSNorm ยท RoPE ยท SwiGLU ยท QK-Norm ยท tied embeddings |
| GGUF layout | qwen3 (the model's layout matches Qwen3's; the converter only reorders RoPE pairs, so no weights change) |
| Context | 1024 tokens (โ2,450 characters) |
| Vocabulary | 21,626 (byte-fallback BPE trained from scratch, 2.40 characters per token, digits kept as single tokens) |
| Hardware | Colab T4 โ Kaggle T4ร2 (pre-training), T4 (SFT) |
| Pre-training | 1.65B tokens ร 1.03 epochs ยท 26.3์ต (2.63B) characters of unique text |
| SFT | 55,016 training pairs ร 2.87 epochs ยท 71 minutes |
The GGUF was checked against the PyTorch model: greedy generation matches token for token on 9 of 9 test prompts (Ollama 0.33.3).
Usage (Ollama)
ollama create sj-0.7.1simft -f Modelfile
ollama run sj-0.7.1simft
For the previous 11M release, download legacy/sj-0.5.6simf.gguf and legacy/Modelfile-0.5.6simf into one folder and run
ollama create sj-0.5.6simf -f Modelfile-0.5.6simf.
The bundled Modelfile carries settings that are required. Without them the
model echoes the question back or never stops generating.
TEMPLATE """{{- range .Messages }}{{- if eq .Role "user" }}<|user|>{{ .Content }}<|assistant|>{{- else }}{{ .Content }}<|endoftext|>{{- end }}{{- end }}"""
PARAMETER stop "<|endoftext|>"
PARAMETER stop "<|user|>"
The template walks .Messages, so multi-turn conversations work through
/api/chat. Building the prompt yourself with raw: true does not work โ the
special tokens are then treated as plain text rather than control tokens.
Tools
This release was fine-tuned to call three tools โ calc, clock, and search
(BM25 over a local document index) โ through the special tokens <|tool|>,
<|end|>, and <|result|>. In this "forced" variant the calling program, not
the model, decides when a tool is needed and writes the tool token; the model then
fills in the arguments (for calc) and answers from the tool's result.
<|user|> question <|assistant|> <|tool|> name args <|end|> <|result|> result <|end|> answer <|endoftext|>
Plain ollama run never inserts a tool token, so there the model answers from
its own weights only. Tool calls need a harness that runs this loop; the harness
is not part of this repository.
Self-hosting the chat UI
serve_ollama.py is a dependency-free chat server (Python standard library only,
no PyTorch). It talks to a local Ollama instance and streams responses.
OLLAMA_HOST=127.0.0.1:11434 ollama serve &
ollama create sj-0.7.1simft -f Modelfile
python3 serve_ollama.py --model sj-0.7.1simft --host 0.0.0.0 --port 3000
Keep Ollama bound to localhost. Its API has no authentication and allows model deletion, so it must never be exposed to the internet.
Training data
Pre-training (corpus v5, 2.63B unique characters; share of the training stream, with repeats)
| Source | Repeats | Share |
|---|---|---|
| AI Hub, 029.๋๊ท๋ชจ ๊ตฌ๋งค๋์ ๊ธฐ๋ฐ ํ๊ตญ์ด ๋ง๋ญ์น ๋ฐ์ดํฐ | 2 | 42.3% |
| wikimedia/wikipedia 20231101 en (CC BY-SA) | 1 | 21.0% |
| wikimedia/wikipedia 20231101 ko (CC BY-SA) | 2 | 18.0% |
| ๋๋ฌด์ํค via heegyu/namuwiki-extracted (2021-03-01 dump, CC BY-NC-SA 2.0 KR) | 1 | 10.3% |
| Synthetic arithmetic, generated in Python with guaranteed-correct answers | 2 | 3.7% |
| AI Hub, 121.ํ๊ตญ์ด ์ฑ๋ฅ์ด ๊ฐ์ ๋ ์ด๊ฑฐ๋AI ์ธ์ด๋ชจ๋ธ ๊ฐ๋ฐ ๋ฐ ๋ฐ์ดํฐ โ YouTube subtitle subset | 3 | 2.5% |
| AI Hub, 018.๋ ผ๋ฌธ์๋ฃ ์์ฝ ๋ฐ์ดํฐ โ abstracts | 1 | 2.0% |
| AI Hub, 121 โ ๊ตญ๋ฆฝ๊ตญ์ด์ grammar Q&A subset | 1 | 0.2% |
Supervised fine-tuning (55,588 pairs loaded; 72 longer than 1,024 tokens dropped, 499 held out for validation)
| Source | Count |
|---|---|
| AI Hub, 121.ํ๊ตญ์ด ์ฑ๋ฅ์ด ๊ฐ์ ๋ ์ด๊ฑฐ๋AI ์ธ์ด๋ชจ๋ธ ๊ฐ๋ฐ ๋ฐ ๋ฐ์ดํฐ (RLHF) | 32,275 |
Tool-use pairs: search 5,006 (question-answer pairs over Korean Wikipedia passages, generated by DeepSeek) ยท calc 4,588 ยท clock 500 ยท no-tool contrast 175 |
10,269 |
| Synthetic atomic-fact question-answer pairs (900 facts ร 8 phrasings, generated by DeepSeek) | 7,200 |
| Synthetic multi-turn (4,000 concatenated pairs + 908 follow-up turns generated by DeepSeek) | 4,908 |
| Synthetic identity pairs | 936 |
Attribution
This model was developed using the following datasets provided by AI Hub (https://aihub.or.kr):
- 018.๋ ผ๋ฌธ์๋ฃ ์์ฝ ๋ฐ์ดํฐ
- 029.๋๊ท๋ชจ ๊ตฌ๋งค๋์ ๊ธฐ๋ฐ ํ๊ตญ์ด ๋ง๋ญ์น ๋ฐ์ดํฐ
- 121.ํ๊ตญ์ด ์ฑ๋ฅ์ด ๊ฐ์ ๋ ์ด๊ฑฐ๋AI ์ธ์ด๋ชจ๋ธ ๊ฐ๋ฐ ๋ฐ ๋ฐ์ดํฐ
It was also trained on ๋๋ฌด์ํค (namu.wiki) text, licensed CC BY-NC-SA 2.0 KR, and on Wikipedia text, licensed CC BY-SA.
No original data is included in this repository, and none is redistributed.
License
CC BY-NC-SA 4.0 for sj-0.7.1simft.gguf, because its training data includes
๋๋ฌด์ํค text under a NonCommercial-ShareAlike license. Non-commercial use only;
derivatives must carry the same license.
The earlier 11M releases (legacy/sj-0.5.6simf.gguf, legacy/sj-0.5.1si.gguf) did not use
๋๋ฌด์ํค and were published under MIT; they remain available under MIT.
The terms of the original training data remain with their respective providers.
Training history
Every run from the first character-level bigram to the current release. Loss per char (nats per character) is the only column comparable across runs โ token loss depends on the tokenizer, which changed several times. Notes are the author's own working notes, in Korean.
| Run | Version | Method | Data | Train tokens | Epochs | Wall clock | Params | Tokens/param | Loss per char | Notes (Korean) |
|---|---|---|---|---|---|---|---|---|---|---|
| run01 | 0.1.0p | pre-training | ์ปค๋ฎค๋ํฐ ํฌ๋กค๋ง 298๋ง์ | 2.84M | 6.5 | 54๋ถ | 5.45M | 3.39 | - | ํฌ๋กค๋ง ๋ฐ์ดํฐ ๊ธฐ๋ฐ pre-training. char-level tokenize. clien ๋ฐ์ดํฐ๊ฐ ๋๋ถ๋ถ์ด๋ผ, ์ปค๋ฎค๋ํฐ ๋งํฌ์ด๊ธด ํ๋ฐ ์์ ์จ ๋งํฌ์ฌ์ ์คํจ. ์ถ๊ฐ๋ก, char-level์ด์ด์ ์ธ์ง ํ์๊ฐ ๋๋ฌด ๋ง์ด ๋ฑ์ฅํ๋ ๋ฌธ์ ๋ ์กด์ฌ. step 3000/6000์์ ์๋ ์ค๋จ |
| run02 | 0.2.0p | pre-training | ์น์์ค 716๋ง์ | 6.80M | 4.2 | 94.8๋ถ | 5.22M | 5.47 | 2.1032 | ์น์์ค 3๊ถ ๋ฐ์ดํฐ ํ์ฉ. char-level tokenized. val split์ด ๊ฒฉ์ฐจ๊ฐ โ0.15๋ก ํธํฅ๋ ๊ฒฐํจ ๋ฐ๊ฒฌ |
| run03 | 0.2.1p | pre-training | ์น์์ค 714๋ง์ | 3.75M | 4.10 | 51.6๋ถ | 5.82M | 2.64 | 2.3095 | BPE tokenizer๋ก ๋ณ๊ฒฝ(vocab 4096). ์น ์์ค ๋ฌธ์ฒด์ฌ์ ๋๊ดํธ๋ ๋๋ฌด ๊ณ ์ ๋ช ์ฌ๋ค์ด ๋ง์ด ๋์ค๋ ๋ฌธ์ ๊ฐ ์์์. ๋ฐ์ดํฐ ๊ต์ฒดํ์. ํ์ฐจ ๋จ์ ๋ถํ + <|endoftext|> ๋์ |
| run04 | 0.3.0p | pre-training | AI hub ๋์ 1.79์ต์ | 91.4M | 1.01 | 312.7๋ถ | 6.15M | 15.01 | 2.2369 | AI hub ๋์ ๋ฐ์ดํฐ ๋์ (vocab 5366). ์์ด, ๊ธฐํธ ์์ ์กด์ฌํ์ง ์๋ ๋ฌธ์ ์์. ๋ฌธ๋จ์ด ์ ์๊ถ ๋ณดํธ๋ก ๋ฌด์์ ์์ฌ ์์ด ๋ ผ๋ฆฌ ์ ๊ฐ ํ์ต ๋ถ๊ฐ. ์ฐธ๊ณ ๋ฌธํ ์์ฐจ ์ค์ผ 1.7%. ์๋ฌธ/ํ๊ธ ์ํค ๋์ ์์ |
| run05 | 0.3.1s | sft | AI hub RLHF 21,650์ | 6.30M | 1.04 | 58.7๋ถ | 6.25M | 1.05 | 1.5161 (sft) | ์ฒซ sft ์งํ. ๋๋ฆ ์ฑ๊ณต์ โ EOT ํ์ต ์ฑ๊ณต(์ง๋ฌธ ์ ํ๋ณ ๊ธธ์ด ์กฐ์ ๊น์ง). ์ฒซ gguf ํ์ผ ์์ฑ, ollama run ํ์ธ. bias ์ด์๋ก ์ธํ ๋ณํ ๊ณผ์ ์ฝ 3% ์์ค |
| run06 | 0.3.2si | sft-identity | SFT + ์ ์ฒด์ฑ 350์ | 6.31M | 1.04 | 66.5๋ถ | 6.25M | 1.05 | 1.4776 (sft) | ๋ชจ๋ธ ์ ์ฒด์ฑ ์ฃผ์ ์๋ํ์ง๋ง ์คํจ. ๊ณ ์ ์๋น ๋ ธ์ถ์ด ์ ์ด ์คํจํ ๊ฒ์ผ๋ก ํ์ธ |
| run07 | 0.3.3si | sft-identity | SFT + ์ ์ฒด์ฑ 1,170์ | 6.33M | 1.00 | 59.8๋ถ | 6.25M | 1.01 | 1.4762 (sft) | ๋ชจ๋ธ ์ ์ฒด์ฑ ์ฃผ์ 2ํธ. ์ฌ๋ณธ์ ๋๋ ค ๋ ธ์ถ ํ์ ์ฆ๊ฐ. ๊ณผ์๋ฐํ ๋ฌธ์ ๊ฐ ์๊ธฐ๋ ํจ |
| run08 | 0.4.0p | pre-training | AI hub ๋์ + ํ/์ ์ํค 2.96์ต์ | 146.9M | 1.00 | 319.2๋ถ | 6.10M | 24.08 | 2.0069 | 6์ธต ๊ตฌ์กฐ. ์์ฐจ ์ ๊ฑฐ, ์ํค๋ก ์์ด์ ๊ธฐํธ ํ๋ณด, vocab์ ์คํ๋ ค ๊ฐ์(์์ถ๋ฅ ์ฆ๊ฐ), bias false๋ก ๋ณ๊ฒฝํด์ gguf์์ ์์ค ๋์ง ์๋๋ก ์กฐ์น. |
| run09 | 0.4.1si | sft-identity | SFT 33,741์ + ์ ์ฒด์ฑ 936์ | 10.49M | 3.05 | 87.4๋ถ | 6.20M | 5.16 | 1.2665 (sft) | 6์ธต ๊ตฌ์กฐ identity ํฌํจ sft. ์๋ฌธ, ๊ธฐํธ๊ฐ ํฌํจ๋์๊ธฐ ๋๋ฌธ์ ํ์ฉ ๊ฐ๋ฅํ SFT ์์ด ์ฆ๊ฐ. ์ ์ฒด์ฑ์ ์ฌ๋ณธ 6๊ฐ x 3 epoch๋ก ๋ ธ์ถ 18ํ. |
| run10 | 0.4.2p | pre-training | AI hub ๋์ + ํ/์ ์ํค 2.96์ต์ | 146.9M | 1.00 | 318.8๋ถ | 6.16M | 23.85 | 1.9529 | 6์ธต ๊ตฌ์กฐ. minimind ์ฐธ๊ณ ํ์ฌ RoPE ์ ์ฉํ v2 ์ํคํ ์ณ ๋์ . run08๊ณผ ๋ฐ์ดํฐ๋ ๋์ผ |
| run11 | 0.4.3si | sft-identity | SFT 33,741์ + ์ ์ฒด์ฑ 936์ | 10.49M | 1.99 | 43.0๋ถ | 6.16M | 3.39 | 1.2602 (sft) | v2 ์ํคํ ์ณ ์ ์ฉ identity ํฌํจ sft. gguf ์์ฑ ์์ง ์์ |
| run12 | 0.4.4p | pre-training | AI hub ๋์ + ํ/์ ์ํค 2.96์ต์ | 146.9M | 1.00 | 400.2๋ถ | 10.97M | 13.39 | 1.8823 | 12์ธต v2 ์ํคํ ์ณ ๋ชจ๋ธ. ์ธต์ ์ฆ๊ฐ๋ก ์ธํ ํ๋ผ๋ฏธํฐ ์ฆ๊ฐ. ํ๋ผ๋ฏธํฐ +78%์ธ๋ฐ ์๊ฐ์ +26% |
| run13 | 0.4.5si | sft-identity | SFT 33,741์ + ์ ์ฒด์ฑ 936์ฝ | 10.49M | 2.70 | 161.2๋ถ | 10.98M | 2.58 | 1.1243 (sft) | v2 ์ํคํ ์ณ ์ ์ฉ 12์ธต sft. ๊ณผ์๋ฐํ ๋ฌธ์ ์ํ. ์กฐ๊ธฐ์ข ๋ฃ |
| run14 | 0.5.0p | pre-training | AI hub ๋์ + ํ/์ ์ํค + ํฉ์ฑ ์ฐ์ 3.10์ต์ | 160.6M | 2.03 | 1,133.8๋ถ | 10.97M | 29.72 | 1.7796 | ์ซ์ ํ ์๋ฆฌ์ฉ ํ ํฌ๋์ด์ง + ํฉ์ฑ ์ฐ์ 5% ๋์ . block 128โ256. ํ๋กฌํํธ๊ฐ \n์ผ๋ก ์์ํ ๋๋ง์ด๊ธฐ๋ ํ์ง๋ง 4์๋ฆฌ ๋ง์ ๋ฐ์์ฌ๋ฆผ ์์ฃผ 100% |
| run15 | 0.5.1sim | sft-identity | SFT 32,275 + ์ ์ฒด์ฑ 936 + ๋ค์คํด 4,908 + ์ฐ์ 2,000 | 13.1M | 3.01 | 645.2๋ถ | 10.97M | 3.59 | 1.0948 (sft) | ๋ค์ค ํด ๋์ ์ฑ๊ณต. ๊ธฐ์กด์๋ ์ฒ์ ๋ฌผ์ ์ง๋ฌธ์ ๊ดํ ๋ต๋ณ๋ง ์ ๊ณตํ๋ ๋ฌธ์ ํด๊ฒฐ. ๊ธฐ์กด SFT ๋ฐ์ดํฐ์ ์์ ๋ต๋ณ=์ง๋ฌธ์ธ ๋ฐ์ดํฐ์ ๋ฐ๊ฒฌ ํ ์์ . ์ฐ์ ๋ฌธ๋ต ๋ฐ์ดํฐ ์ ์ฉ. RoPE ๋์ ํ ๋ถ์์ฉ ์๋ block ์ฆ๊ฐ |
| run16 | 0.5.2d | dpo | on-policy DPO 2,435์ (rep<=1) | 1.76M | 1.00 | 31.7๋ถ | 10.97M | 0.16 | - | DPO ์ฒซ ์๋. ๋ฐ๋ณต ๊ฐ์๋ฅผ ๋ชฉํ. ํ์ง๋ง ๋ชจ๋ ์งํ ์ ํ(๋ฐ๋ณต๋ฅ 10.6โ20.0%, ๊ธธ์ด 374โ572์, EOT 97โ87.6%, unk 25.6โ39.4%. ์ ์ฒด์ฑ ์์ ์์ค, ํ ํฐ ํ๊ดด) |
| run17 | 0.5.3d | dpo | on-policy DPO 2,435์ (rep<=1) | 1.76M | 1.00 | 31.5๋ถ | 10.97M | 0.16 | - | ฮฒ๋ฅผ 5๋ฐฐ๋ก. ๋ง์ง ์ต์ , ์ ์ฒด์ฑ ๋ณด์กด. ๊ทธ๋ฌ๋ ๋ฐ๋ณต๋ฅ 22.4%๋ก ์ต์ . ํ ํฐ ํ๊ดด๋ ์์กด |
| run18 | 0.5.4d | dpo | on-policy DPO 2,435์ (rep<=1) | 1.76M | 1.00 | 32.4๋ถ | 10.97M | 0.16 | - | ๋ง์ง 36์ผ๋ก ๊ฐ์ฅ ์ ๋ฌถ์. ์ ์ค ์ ์ผ ๋ซ์ง๋ง ์๋ณธ๋ณด๋ค๋ ๋์จ. DPO ๊ฒฐ๋ก : ฮฒ ๋ฌธ์ ๊ฐ ์๋๋ผ ๋ฐ์ดํฐ ๊ตฌ์กฐ ๋ฌธ์ . ๊ธด ๋ด์ฉ ์ ํธ๋ก ๋ฐ๋๋ฉด์ ์ฑ์ธ ๋ด์ฉ์ด ์์ด ๋ฐ๋ณต์ผ๋ก ๋ผ์ด ๋ฏ |
| run19 | 0.5.5sf | sft-facts | ์ฌ์ค QnA 7,200 + ์ ์ฒด์ฑ 936 | 0.14M | 2.95 | 44.0๋ถ | 10.97M | 0.04 | 0.1276 (sft) | run15 ์์ ์ถ๊ฐ๋ก sft ์น์ ๋ฐฉ์. deepseek ์์ฑ ์ฌ์ค 900๊ฐ๋ฅผ ์ง๋ฌธ 8๊ฐ์ง์ฉ SFT. ํ๋ จ์ ์ ์ด ํํ์ผ๋ก ๋ฌผ์ด๋ ํต์ฌ์ด 44.3% / ์์ ์ผ์น 29.0% (์ด์ 8.0% / 0.0%). ํ์ง๋ง, ์ฐ์ 10/20 โ 0/20, ์ผ๋ฐ ์์ ๋ต๋ณ์ด ํ ๋ฌธ์ฅ์ผ๋ก ๋ถ๊ดด. ์ ์ฒด sft ์ฌ์คํ ์์ |
| run20 | 0.5.6simf | sft-full | SFT 32,275 + ์ ์ฒด์ฑ 936 + ๋ค์คํด 4,908 + ์ฐ์ 2,000 + ์ฌ์ค 7,200 | 13.1M | 2.99 | 349.1๋ถ | 10.97M | 3.56 | 1.0549 (sft) | run19์ ๋๋ ๋ง๊ฐ์ ์ฌ์ค ๋น์ค 88%โ15.2%๋ก ๋ฎ์ถฐ ํด๊ฒฐ. ๊ธธ์ด ๋ฒํทํ (ํ ๋จ์ ์ ๋ ฌ) ๋์ ์ผ๋ก 12.7์๊ฐโ5.8์๊ฐ. ๋จ์ ๊ฒฐํจ์ ์ฌ์ค ๊ฐ ํผ์ (ํ๋ผ์ฐ ๋ต์ ๋ ๋ ์ค๋ช ์ด ๋ถ์)๊ณผ ๋ค์ค ํด ๋ด์ฉ ๋ถ๊ดด. |
| run21 | 0.5.7p | pre-training(์ด์ด์) | AI hub ๋์ + ํ/์ ์ํค + ํฉ์ฑ ์ฐ์ 3.10์ต์ | 160.6M | 0.19 | 151.6๋ถ | 10.97M | 2.80 | 1.7375 | run14์์ ์ด์ด์ ๋ฌธ๋งฅ 256โ512. ๋ณต์ฌ ๋ฅ๋ ฅ ์ ๊ตฌ๊ฐ ๊ฐ์ ๋์์ง๋ง RAG ์ฌ์ฉ ๊ฐ๋ฅ ์์ค์๋ ๋ฏธ๋ฌ โ ๋ฌธ๋งฅ 1024๋ก ๋ค์ pre-training ์์ |
| run22 | 0.6.0p | pre-training | ๋๋ฌด์ํค + AI hub ๋์ + ํ/์ ์ํค + ํฉ์ฑ ์ฐ์ 7.64์ต์ | 353.6M | 1.22 | 4,279.1๋ถ | 22.34M | 19.0 | 1.6328 | ๋๋ฌด์ํค ๋์ + ํ ํฌ๋์ด์ v4 + 22M ํ์ฅ. ์ฝํผ์ค 3.10โ7.64์ต์(๋๋ฌด์ํค 33.6% / ๋์ 24.1% / ์๋ฌธ์ํค 22.1% / ํ๊ตญ์ด์ํค 17.5% / ์ฐ์ 2.7%, ํ๊ตญ์ด 75.2%). vocab 5,206โ14,241๋ก ์/ํ ํฐ 1.881โ2.107, unk 0.320โ0.054%. ๋ฌธ๋งฅ 256โ1024, 12์ธต d256โ14์ธต d320 |
| run23 | 0.6.1simf | sft-full | SFT 32,275 + ์ ์ฒด์ฑ 936 + ๋ค์คํด 4,908 + ์ฐ์ 2,000 + ์ฌ์ค 7,200 | 11.8M | 3.00 | 475.8๋ถ | 22.34M | 1.58 | 1.0253 (sft) | run22 ๊ธฐ๋ฐ ์ ์ฒด SFT. ๊ฐ์ ๋ฐ์ดํฐยท์๋๋ก run20 ๋๋น ์ฌ์ค 29โ39.5%๋ก ๊ฐ์ , unk 20.5โ0.5%. run20์ ์ฌ์ค ๊ฐ ํผ์ ํ์ ๊ฐ์. parameter count ์ฌ๋ฆฐ ํจ๊ณผ ํ์ธ. ์์ง RAG์ ๊ฑฐ์ ๋ถ๊ฐ๋ฅ. ์ด๋ "์ฐพ๋" ๋ฐฉ๋ฒ์ ๋ํ ํ์ต์ด ์๊ธฐ ๋๋ฌธ์ผ๋ก ํ๋จ, sft ์ฌ์ค์ ์์ |
| run24 | 0.6.2simfr | sft-rag | SFT 32,275 + ์ ์ฒด์ฑ 936 + ๋ค์คํด 4,908 + ์ฐ์ 2,000 + ์ฌ์ค 7,200 + RAG 5,006 | 11.9M | 3.00 | 885.6๋ถ | 22.34M | 1.60 | 1.0301 (sft) | Deepseek ์์ฑ RAG-SFT 5,006์(9.6%) ์ถ๊ฐ. 700์ ๋ฌธ๋จ์์ ๋ง๋ ๋ฌธ์ฅ์ ์ฐพ์ ๋ฐ์ทํ๊ธฐ ์์ํจ. ํ์ง๋ง๋ณตํฉ ๋ต ๋ถ๋ถ ๋ฐ์ท์ ์ ๋ต ์ฐพ์ ๋ค ๋ฐ๋ณต ๋ฃจํ ๋ฌธ์ ์์ |
| run25 | 0.7.0p | pre-training | ์ฝํผ์ค v5 โ ๋์ยท๋๋ฌด์ํคยทํ/์ ์ํคยท์ ํ๋ธ ์๋งยท์ฐ์ ยท๋ ผ๋ฌธยท๊ตญ์ด์ 8์ข 26.3์ต์ (์ถ์ฒ๋ณ ๋ฐ๋ณต ํฌํจ 39.6์ต์) | 1,704M | 1.03 | ~921๋ถ | 75.32M | 22.62 | 1.2883 | notes/22 B์. ํ ํฌ๋์ด์ v5(๋ฐ์ดํธ ํด๋ฐฑ, vocab 21,621)๋ก unk 0. 20์ธต d512, QK-Normยทz-lossยทWSDยทfp16 AMPยทtorch.compile ๋์ . Colab T4 2,137์คํ (13.4 s/step) โ Kaggle T4ร2 DDP 4,363์คํ (6.2 s/step). ๊ธ์๋น loss 1.633โ1.288(โ21%). ๋ฌธ์ฅยท๋ฌธ๋จ ๊ตฌ์กฐ์ ์ธ์ฉ๋ถํธ๋ ์กํ์ผ๋ ์ฌ์ค์ ์ง์ด๋ด๊ณ base ํน์ ์ ๋ฐ๋ณต ๋ฃจํ ์์ โ SFTยทRAG ๋ชซ |
| run26 | 0.7.1simft (forced) | sft-tool-forced | SFT 32,275 + ์ ์ฒด์ฑ 792 + ๋ค์คํด 4,908 + ์ฌ์ค 7,200 + ๋๊ตฌ 10,269 (search 5,006 ยท calc 4,588 ยท clock 500 ยท ๋์กฐ 175) | 11.2M | 2.87 | 71.1๋ถ | 75.32M | 0.43 | 0.7281 (sft) | |
| run27 | 0.7.1simft (auto) | sft-tool-auto | SFT 32,275 + ์ ์ฒด์ฑ 792 + ๋ค์คํด 4,908 + ์ฌ์ค 7,200 + ๋๊ตฌ 10,269 (search 5,006 ยท calc 4,588 ยท clock 500 ยท ๋์กฐ 175) | 11.4M | 2.87 | 73.7๋ถ | 75.32M | 0.43 | 0.7120 (sft) |