Text Generation
Transformers
Safetensors
GGUF
Korean
English
llama
3b
korean
from-scratch
orpo
instruction-tuned
preference-aligned
fp8
b200
Eval Results (legacy)
text-generation-inference
Instructions to use pathcosmos/frankenstallm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pathcosmos/frankenstallm with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="pathcosmos/frankenstallm")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("pathcosmos/frankenstallm") model = AutoModelForCausalLM.from_pretrained("pathcosmos/frankenstallm", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use pathcosmos/frankenstallm 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 pathcosmos/frankenstallm:Q4_K_M # Run inference directly in the terminal: llama cli -hf pathcosmos/frankenstallm:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf pathcosmos/frankenstallm:Q4_K_M # Run inference directly in the terminal: llama cli -hf pathcosmos/frankenstallm:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf pathcosmos/frankenstallm:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf pathcosmos/frankenstallm:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf pathcosmos/frankenstallm:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf pathcosmos/frankenstallm:Q4_K_M
Use Docker
docker model run hf.co/pathcosmos/frankenstallm:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use pathcosmos/frankenstallm with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "pathcosmos/frankenstallm" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "pathcosmos/frankenstallm", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/pathcosmos/frankenstallm:Q4_K_M
- SGLang
How to use pathcosmos/frankenstallm 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 "pathcosmos/frankenstallm" \ --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": "pathcosmos/frankenstallm", "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 "pathcosmos/frankenstallm" \ --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": "pathcosmos/frankenstallm", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Ollama
How to use pathcosmos/frankenstallm with Ollama:
ollama run hf.co/pathcosmos/frankenstallm:Q4_K_M
- Unsloth Studio
How to use pathcosmos/frankenstallm with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for pathcosmos/frankenstallm to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for pathcosmos/frankenstallm to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for pathcosmos/frankenstallm to start chatting
- Docker Model Runner
How to use pathcosmos/frankenstallm with Docker Model Runner:
docker model run hf.co/pathcosmos/frankenstallm:Q4_K_M
- Lemonade
How to use pathcosmos/frankenstallm with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull pathcosmos/frankenstallm:Q4_K_M
Run and chat with the model
lemonade run user.frankenstallm-Q4_K_M
List all available models
lemonade list
- Atomic Chat
| # ์ฝ๋ / ์ํ / ๊ณผํ ๋ฐ์ดํฐ์ ์ ์ ์กฐ์ฌ | |
| > **๋ชฉ์ **: ํ๊ตญ์ด LLM 3B ๋ชจ๋ธ ํ์ต์ฉ ์ฝ๋ฉยท์ํยท๊ณผํ ๋ฐ์ดํฐ์ ์ ์ ์กฐ์ฌ | |
| > **์์ฑ์ผ**: 2026-02-27 | |
| > **์กฐ์ฌ ๋ฒ์**: HuggingFace Hub, bigcode, AI-Hub ๋ฑ | |
| --- | |
| ## 1. ์ฝ๋ ๋ฐ์ดํฐ์ | |
| ### 1.1 ์ ์ฒด ๋ชฉ๋ก ํ ์ด๋ธ | |
| | # | ๋ฐ์ดํฐ์ | ๊ท๋ชจ | ์ธ์ด | ํ๊ตญ์ด ์ฃผ์ | ๋ผ์ด์ ์ค | ํํ | ์ถ์ฒ๋ | | |
| |---|---------|------|------|------------|---------|------|--------| | |
| | 1 | **bigcode/the-stack-v2-dedup** | 32.1TB / ~900B tok | 600+ ์ธ์ด | ์ผ๋ถ ํฌํจ (ํํฐ ํ์) | ํผํฉ (permissive only) | raw code | โ โ โ โ โ | | |
| | 2 | **bigcode/starcoderdata** | 783GB / ~250B tok | 86 ์ธ์ด | ์ผ๋ถ ํฌํจ | ํผํฉ (permissive) | clean code+docs | โ โ โ โ โ | | |
| | 3 | **nayohan/Evol-Instruct-Code-80k-v1-ko** | 78.3k samples | ํ๊ตญ์ด+์ฝ๋ | โ ํ๊ตญ์ด ์ง๋ฌธ | ๋ฏธ์ (GPT-4 ๋ฒ์ญ) | instruction-output | โ โ โ โ โ | | |
| | 4 | **nickrosh/Evol-Instruct-Code-80k-v1** | 78.3k samples | ์์ด+์ฝ๋ | โ | MIT | instruction-output | โ โ โ โโ | | |
| | 5 | **CodeResearch/Code-Evol-Instruct-OSS** | 4.31k samples | ์์ด+์ฝ๋ | โ | ์คํ์์ค | instruction-output | โ โ โโโ | | |
| | 6 | **bigcode/the-stack-v2** | 67.5TB full | 600+ ์ธ์ด | ์ผ๋ถ ํฌํจ | ํผํฉ | raw code (SWHID) | โ โ โ โ โ | | |
| --- | |
| ### 1.2 Top 3 ์์ธ ๋ถ์ | |
| --- | |
| #### ๐ฅ 1์: `bigcode/the-stack-v2-dedup` | |
| | ํญ๋ชฉ | ๋ด์ฉ | | |
| |------|------| | |
| | **HuggingFace URL** | https://huggingface.co/datasets/bigcode/the-stack-v2-dedup | | |
| | **์ ์ฒด ํฌ๊ธฐ** | Full: 67.5TB / **Dedup: 32.1TB** / Train tokens: ~900B | | |
| | **ํ์ผ ์** | 3.28B unique files, 104.2M GitHub repositories | | |
| | **์ธ์ด ์** | 658๊ฐ ํ๋ก๊ทธ๋๋ฐ/๋งํฌ์ ์ธ์ด | | |
| | **์์ง ๊ธฐ๊ฐ** | GitHub 2023-09-06 ๊ธฐ์ค | | |
| | **๊ทผ์ค ์ธ์ด** | Python, JavaScript, TypeScript, Java, C++, C#, Go, Rust ๋ฑ | | |
| | **ํ๊ตญ์ด ์ฃผ์ ๋น์จ** | ์ง์ ์ธก์ ์์. GitHub ํ๊ตญ์ด ๋ ํฌ ๊ธฐ์ค ์ถ์ ~1-3% | | |
| | **๋ผ์ด์ ์ค ๊ตฌ์กฐ** | permissive ๋ผ์ด์ ์ค๋ง ํฌํจ (MIT, Apache-2.0, BSD ๋ฑ), ํ์ผ๋ณ provenance ์ ๊ณต | | |
| | **์ ๊ทผ ๋ฐฉ๋ฒ** | SoftwareHeritage+INRIA ๋์ ํ์ (AWS S3 bulk download) | | |
| | **์ ์ฒ๋ฆฌ ์์ค** | Near-dedup ์๋ฃ, PII ์ ๊ฑฐ ํ์, ์ธ์ด๋ณ ํํฐ๋ง ๊ฐ๋ฅ | | |
| | **์ฃผ์ ๋ฉํ๋ฐ์ดํฐ** | repo_name, detected_licenses, star/fork count, language, is_vendor, length_bytes | | |
| | **ํน์ด์ฌํญ** | ์ค์ ํ์ผ ์ฝํ ์ธ ๋ SWH S3์์ ๋ณ๋ ๋ค์ด๋ก๋ ํ์ | | |
| **์ถ์ฒ ์ด์ **: | |
| - ์ต๋ ๊ท๋ชจ์ ์คํ์์ค ์ฝ๋ ๋ฐ์ดํฐ์ | |
| - permissive ๋ผ์ด์ ์ค๋ง ํฌํจํด ๋ฒ์ ๋ฆฌ์คํฌ ๋ฎ์ | |
| - ์ธ์ด๋ณ ์๋ธ์ ๋ก๋ ๊ฐ๋ฅ (`load_dataset("bigcode/the-stack-v2-dedup", "Python")`) | |
| - StarCoder2 ํ์ต ๋ฒ ์ด์ค ๋ฐ์ดํฐ | |
| **ํ๊ตญ์ด LLM ํ์ฉ ์ ๋ต**: | |
| ```python | |
| # Python ์๋ธ์ ๋ง ๋ก๋ | |
| ds = load_dataset("bigcode/the-stack-v2-dedup", "Python", split="train") | |
| # ํ๊ตญ์ด ์ฃผ์ ํฌํจ ํ์ผ ํํฐ๋ง (heuristic) | |
| korean_ds = ds.filter(lambda x: any(ord(c) > 0xAC00 for c in x.get("content", ""))) | |
| ``` | |
| --- | |
| #### ๐ฅ 2์: `bigcode/starcoderdata` | |
| | ํญ๋ชฉ | ๋ด์ฉ | | |
| |------|------| | |
| | **HuggingFace URL** | https://huggingface.co/datasets/bigcode/starcoderdata | | |
| | **์ ์ฒด ํฌ๊ธฐ** | **783GB / ~250B tokens** | | |
| | **์ธ์ด ์** | 86๊ฐ ํ๋ก๊ทธ๋๋ฐ ์ธ์ด | | |
| | **์ถ๊ฐ ๋ฐ์ดํฐ** | GitHub Issues (54GB), Jupyter Notebooks (13GB), GitHub Commits (32GB) | | |
| | **ํ๊ตญ์ด ์ฃผ์ ๋น์จ** | ์ง์ ํต๊ณ ์์. GitHub ํ๊ตญ ๊ฐ๋ฐ์ ๋ ํฌ ํฌํจ | | |
| | **๋ผ์ด์ ์ค** | ์๋ณธ ๋ ํฌ ๋ผ์ด์ ์ค ์ค์, Terms ๋์ ํ์ | | |
| | **์ ์ฒ๋ฆฌ ์์ค** | **์ด๋ฏธ dedup + clean + PII ์ ๊ฑฐ ์๋ฃ** | | |
| | **Downloads** | 15,556/์ (์ธ๊ธฐ ๋ฐ์ดํฐ์ ) | | |
| | **์ฌ์ฉ ๋ชจ๋ธ** | StarCoder, StarCoderBase ํ์ต ๋ฐ์ดํฐ | | |
| **์ถ์ฒ ์ด์ **: | |
| - The Stack v2๋ณด๋ค ์์ง๋ง **์ด๋ฏธ ์ ์ ๋ ์ํ** (๋ฐ๋ก ํ์ต ๊ฐ๋ฅ) | |
| - GitHub Issues/Jupyter/Commits ํฌํจ์ผ๋ก ๋ค์ํ ์ฝ๋ ์ปจํ ์คํธ | |
| - StarCoder ๋ ผ๋ฌธ์์ ๊ฒ์ฆ๋ ํ์ง | |
| **ํ์ฉ๋ฒ**: | |
| ```python | |
| # Python๋ง ๋ก๋ | |
| ds = load_dataset("bigcode/starcoderdata", data_dir="python", split="train") | |
| # jupyter notebooks | |
| ds = load_dataset("bigcode/starcoderdata", data_dir="jupyter-scripts-dedup-filtered") | |
| ``` | |
| --- | |
| #### ๐ฅ 3์: `nayohan/Evol-Instruct-Code-80k-v1-ko` | |
| | ํญ๋ชฉ | ๋ด์ฉ | | |
| |------|------| | |
| | **HuggingFace URL** | https://huggingface.co/datasets/nayohan/Evol-Instruct-Code-80k-v1-ko | | |
| | **์ํ ์** | **78,326๊ฐ** | | |
| | **ํํ** | instruction-output ํ์ด (SFT์ฉ) | | |
| | **ํ๊ตญ์ด** | โ ์ง๋ฌธ(instruction)์ด ํ๊ตญ์ด๋ก ๋ฒ์ญ๋จ | | |
| | **์ฝ๋ ์ธ์ด** | Python ์ค์ฌ, ์๊ณ ๋ฆฌ์ฆ/์๋ฃ๊ตฌ์กฐ/์ฝ๋ฉ๋ฌธ์ | | |
| | **์๋ณธ** | nickrosh/Evol-Instruct-Code-80k-v1 (GPT-4 ๋ฒ์ญ) | | |
| | **๋ผ์ด์ ์ค** | ๋ฏธ๋ช ์ (GPT-4 output ํฌํจ ์ฃผ์) | | |
| | **Downloads** | 23/์ | | |
| | **์ ์ฒ๋ฆฌ** | ๋ฒ์ญ ํ์ง ์ผ๋ถ ์ด์ (๊ธฐ๊ณ๋ฒ์ญ ์ค๋ฅ ์กด์ฌ) | | |
| **์ถ์ฒ ์ด์ **: | |
| - **์ฆ์ SFT์ ํ์ฉ ๊ฐ๋ฅํ ํ๊ตญ์ด ์ฝ๋ฉ instruction ๋ฐ์ดํฐ** | |
| - 78k ๊ท๋ชจ๋ก ํ์ธํ๋์ฉ์ผ๋ก ์ถฉ๋ถ | |
| - instruction์ด ํ๊ตญ์ด๋ก ๋จ โ ํ๊ตญ์ด ์ง๋ฌธ์ ์ฝ๋ ์๋ตํ๋ ๋ฅ๋ ฅ ํ์ต | |
| **์ฃผ์์ฌํญ**: | |
| - GPT-4 ๋ฒ์ญ ๊ธฐ๋ฐ โ ๋ผ์ด์ ์ค ๋ถ๋ช ํ (์์ ์ฌ์ฉ ์ฃผ์) | |
| - ๋ฒ์ญ ํ์ง ๊ฒํ ํ ํํฐ๋ง ๊ถ์ฅ | |
| - ์ผ๋ถ instruction์ด ์ด์ํ ํ๊ตญ์ด | |
| --- | |
| ### 1.3 ์ฝ๋ ๋ฐ์ดํฐ ์์ง ์ ๋ต ์์ฝ | |
| ``` | |
| Pretrain์ฉ: | |
| ์ฐ์ ์์ 1: bigcode/starcoderdata (Python, JavaScript, etc.) โ ์ฆ์ ์ฌ์ฉ ๊ฐ๋ฅ | |
| ์ฐ์ ์์ 2: bigcode/the-stack-v2-dedup (ํ์ ์ธ์ด ์๋ธ์ ) โ ๊ท๋ชจ ํ๋ ์ | |
| SFT์ฉ: | |
| ์ฐ์ ์์ 1: nayohan/Evol-Instruct-Code-80k-v1-ko โ ํ๊ตญ์ด ์ฝ๋ฉ Q&A | |
| ์ฐ์ ์์ 2: nickrosh/Evol-Instruct-Code-80k-v1 (์์ด) โ ๋ฒ์ญ ๋๋ ์ง์ ์ฌ์ฉ | |
| ํ๊ตญ์ด ์ฃผ์ ์ฝ๋ ์ถ์ถ: | |
| the-stack-v2-dedup์์ ํ๊ธ ํฌํจ ํ์ผ ํํฐ๋ง (regex: [\uAC00-\uD7A3]) | |
| โ ํ๊ตญ ๊ฐ๋ฐ์๊ฐ ์์ฑํ ์ฝ๋ ์ถ์ถ ๊ฐ๋ฅ | |
| ``` | |
| --- | |
| ## 2. ์ํ ๋ฐ์ดํฐ์ | |
| ### 2.1 ์ ์ฒด ๋ชฉ๋ก ํ ์ด๋ธ | |
| | # | ๋ฐ์ดํฐ์ | ๊ท๋ชจ | ์ธ์ด | ๋์ด๋ | ํ์ด๊ณผ์ | ๋ผ์ด์ ์ค | ์ถ์ฒ๋ | | |
| |---|---------|------|------|--------|---------|---------|--------| | |
| | 1 | **kuotient/orca-math-word-problems-193k-korean** | 193k | ํ๊ตญ์ด+์์ด | ์ด๋ฑ~์คํ | โ | ๋ฏธ์ | โ โ โ โ โ | | |
| | 2 | **re2panda/grade_school_math_korean** | 7.47k | ํ๊ตญ์ด | ์ด๋ฑ~์คํ | โ | MIT | โ โ โ โ โ | | |
| | 3 | **openai/gsm8k** | 8.5k | ์์ด | ์ด๋ฑ~์คํ | โ (CoT) | MIT | โ โ โ โ โ | | |
| | 4 | **open-web-math/open-web-math** | 6.3B tok | ์์ด | ์ ๋์ด๋ | โ (raw) | ODC-By | โ โ โ โโ | | |
| | 5 | **hendrycks/math** | 12.5k | ์์ด | ๊ณ ๋ฑ~๋ํ | โ | MIT | โ โ โ โโ | | |
| | 6 | **Quadyun/Korean_SAT_MATH** | 120 | ํ๊ตญ์ด | ์๋ฅ ์์ค | ์ผ๋ถ | ๋ฏธ์ | โ โ โโโ | | |
| | 7 | **kuotient/orca-math-korean-dpo-pairs** | 193k | ํ๊ตญ์ด | ์ด๋ฑ~์คํ | โ (DPO) | ๋ฏธ์ | โ โ โ โ โ | | |
| --- | |
| ### 2.2 Top 3 ์์ธ ๋ถ์ | |
| --- | |
| #### ๐ฅ 1์: `kuotient/orca-math-word-problems-193k-korean` | |
| | ํญ๋ชฉ | ๋ด์ฉ | | |
| |------|------| | |
| | **HuggingFace URL** | https://huggingface.co/datasets/kuotient/orca-math-word-problems-193k-korean | | |
| | **์ํ ์** | **193,264๊ฐ** | | |
| | **์ธ์ด** | ํ๊ตญ์ด + ์์ด (์ด์ค ์ธ์ด) | | |
| | **๋์ด๋** | ์ด๋ฑ~์คํ๊ต ์์ค ์ํ ๋ฌธ์ฅ์ | | |
| | **๋ฌธ์ ์ ํ** | ์ ๊ณ์ฐ, ๋น์จ, ๋์ด ๋ฌธ์ , ๊ธฐํ, ํ๋ฅ , ๋ฐฉ์ ์ ๋ฑ | | |
| | **ํ์ด ๊ณผ์ ** | โ ์์ธ ๋จ๊ณ๋ณ ํ์ด ํฌํจ | | |
| | **ํํ** | ๋ฌธ์ (ํ๊ตญ์ด) + ํ์ด(ํ๊ตญ์ด) + ๋ฌธ์ (์์ด) + ํ์ด(์์ด) | | |
| | **์๋ณธ** | Microsoft Orca-Math (Synthetic data) | | |
| | **Downloads** | 396/์ | | |
| **๋ฐ์ดํฐ ์์**: | |
| ``` | |
| ๋ฌธ์ : ์ ๊ตญ์ด 5์์ ๋๋ค. ์ ๊ตญ๋ณด๋ค ๊ฒฐ์น์ ์ ๋จผ์ ํต๊ณผํ ์ฌ๋์ ์๋ฅผ ์ฐพ์๋ณด์ธ์. | |
| ํ์ด: ์ ๊ตญ์ด 5์๋ผ๋ฉด 4๋ช ์ด ์ ๊ตญ๋ณด๋ค ๋จผ์ ๊ฒฐ์น์ ์ ํต๊ณผํ ์ ์ ๋๋ค. | |
| ๋ฌธ์ : ์ซ์๋ฅผ 10์ผ๋ก ๋๋ ๊ฐ์ 6์ ๋๋ค. ์ค๊ธฐ๋ ํน์ ์ซ์๋ก๋ถํฐ 15๋ฅผ ๋นผ์ ๊ฒฐ๊ณผ๋ฅผ ์ป์์ต๋๋ค. | |
| ํ์ด: x / 10 = 6 โ x = 60 โ ๊ฒฐ๊ณผ = 60 - 15 = 45 | |
| ``` | |
| **์ถ์ฒ ์ด์ **: | |
| - **๊ฐ์ฅ ํฐ ํ๊ตญ์ด ์ํ ๋ฐ์ดํฐ์ ** (193k) | |
| - ์ด์ค์ธ์ด๋ก ํ๊ตญ์ด-์์ด ์ํ ์ถ๋ก ๋ฅ๋ ฅ ๋์ ํ์ต | |
| - ๋จ๊ณ๋ณ ํ์ด๋ก Chain-of-Thought ํ์ต์ ์ต์ | |
| - BTS ๋ฉค๋ฒ ์ด๋ฆ ์ฌ์ฉ (ํ๊ตญ ๋ฌธํ ๋งฅ๋ฝ ์์ฐ์ค๋ฝ๊ฒ ํฌํจ) | |
| --- | |
| #### ๐ฅ 2์: `kuotient/orca-math-korean-dpo-pairs` | |
| | ํญ๋ชฉ | ๋ด์ฉ | | |
| |------|------| | |
| | **HuggingFace URL** | https://huggingface.co/datasets/kuotient/orca-math-korean-dpo-pairs | | |
| | **์ํ ์** | 193k DPO pairs | | |
| | **์ธ์ด** | ํ๊ตญ์ด | | |
| | **ํํ** | chosen / rejected ์ (DPO ํ์ต์ฉ) | | |
| | **ํ์ฉ** | RLHF/DPO ๋จ๊ณ์์ ์ํ ์ถ๋ก ํ์ง ํฅ์ | | |
| **์ถ์ฒ ์ด์ **: | |
| - ์ 193k์ ์ธํธ๋ก ์ฌ์ฉ ๊ฐ๋ฅ | |
| - DPO ๋ฐฉ์์ผ๋ก ์ํ ๋ต๋ณ ํ์ง ํฅ์ | |
| --- | |
| #### ๐ฅ 3์: `openai/gsm8k` | |
| | ํญ๋ชฉ | ๋ด์ฉ | | |
| |------|------| | |
| | **HuggingFace URL** | https://huggingface.co/datasets/openai/gsm8k | | |
| | **์ํ ์** | **8,500๊ฐ** (train: 7,473 / test: 1,319) | | |
| | **์ธ์ด** | ์์ด | | |
| | **๋์ด๋** | ์ด๋ฑ~์คํ๊ต (8.5์ธ~12์ธ ์์ค) | | |
| | **๋ฌธ์ ์ ํ** | ์ํ ๋ฌธ์ฅ์ (1~8๋จ๊ณ ์ถ๋ก ) | | |
| | **ํ์ด ๊ณผ์ ** | โ CoT ๋จ๊ณ๋ณ ํ์ด + ์ต์ข ๋ต | | |
| | **๋ผ์ด์ ์ค** | MIT | | |
| | **Downloads** | ๋งค์ฐ ๋์ (ํ์ค ๋ฒค์น๋งํฌ) | | |
| **ํน์ง**: | |
| - `main` split: ์์ฐ์ด CoT ํ์ด | |
| - `socratic` split: ์๋ธ๋ฌธ์ ๋ถํด ๋ฐฉ์ | |
| - ํ์ค LLM ์ํ ๋ฒค์น๋งํฌ๋ก re2panda/grade_school_math_korean์ด ์ด๋ฅผ ํ๊ตญ์ด๋ก ๋ฒ์ญ | |
| --- | |
| ### 2.3 ์ํ ๋ฐ์ดํฐ ์ถ๊ฐ ํ๋ณด | |
| | ๋ฐ์ดํฐ์ | ๊ท๋ชจ | ํน์ง | | |
| |---------|------|------| | |
| | `Quadyun/Korean_SAT_MATH` | 120๋ฌธ์ | ํ๊ตญ ์๋ฅ ์ํ, ์๊ท๋ชจ์ง๋ง ๊ณ ํ์ง | | |
| | `open-web-math/open-web-math` | 6.3B tok | ์น ์ํ raw ํ ์คํธ, ์์ด, pretrain์ฉ | | |
| | `hendrycks/math` (MATH) | 12.5k | ๊ฒฝ์๋ํ ์์ค ์ํ, ์์ด, ๊ณ ๋์ด๋ | | |
| --- | |
| ## 3. ๊ณผํ ๋ฐ์ดํฐ์ | |
| ### 3.1 ์ ์ฒด ๋ชฉ๋ก ํ ์ด๋ธ | |
| | # | ๋ฐ์ดํฐ์ | ๊ท๋ชจ | ์ธ์ด | ๋ถ์ผ | ๋์ด๋ | ๋ผ์ด์ ์ค | ์ถ์ฒ๋ | | |
| |---|---------|------|------|------|--------|---------|--------| | |
| | 1 | **amphora/korean_science_papers** | 17k papers | ํ๊ตญ์ด | ์๋ช /ํํ/์ํ/์ํ | ๋ํ์ | ๊ณต๊ฐ (ํ์ ์ง) | โ โ โ โ โ | | |
| | 2 | **hiteshpatel945/korean-stem** | 316k | ํ๊ตญ์ด | STEM ์ ๋ฐ | ๋ค์ | ๋ฏธ์ | โ โ โ โโ | | |
| | 3 | **minpeter/arxiv-abstracts-korean** | 50 | ํ๊ตญ์ด | CS/๋ฌผ๋ฆฌ/์ํ | ๋ํ์ | ๋ฏธ์ | โ โโโโ | | |
| | 4 | **minpeter/arxiv-papers-korean-nllb-600M** | 10 | ํ๊ตญ์ด | ์ ๋ฐ | ๋ํ์ | ๋ฏธ์ | โ โโโโ | | |
| --- | |
| ### 3.2 Top 3 ์์ธ ๋ถ์ | |
| --- | |
| #### ๐ฅ 1์: `amphora/korean_science_papers` | |
| | ํญ๋ชฉ | ๋ด์ฉ | | |
| |------|------| | |
| | **HuggingFace URL** | https://huggingface.co/datasets/amphora/korean_science_papers | | |
| | **์ํ ์** | **17,000+ ๋ ผ๋ฌธ** | | |
| | **์ธ์ด** | ํ๊ตญ์ด (์ผ๋ถ ์์ด ํค์๋/๋จ์ ํผ์ฌ) | | |
| | **๋ถ์ผ** | ์๋ช ๊ณผํ, ์ํ๊ณผํ, ์ํ, ํํ, ํ๊ฒฝ ๋ฑ | | |
| | **๋์ด๋** | ํ์ ๋ํ์ ์์ค | | |
| | **ํํ** | ๋ ผ๋ฌธ ์ ๋ฌธ (์๋ก , ์ฌ๋ฃ/๋ฐฉ๋ฒ, ๊ฒฐ๊ณผ/๊ณ ์ฐฐ, ๊ฒฐ๋ก ) | | |
| | **ํน์ด์ฌํญ** | LaTeX ์์ ํฌํจ, category ํ๋ ์์ (์๋ช , ํํ ๋ฑ) | | |
| | **์ ๊ทผ์ฑ** | ๊ณต๊ฐ (๋ณ๋ ๋์ ์์) | | |
| | **Downloads** | 17k (์ต์ ) | | |
| **๋ฐ์ดํฐ ๊ตฌ์กฐ**: | |
| ```json | |
| { | |
| "title": "๋ ผ๋ฌธ ์ ๋ชฉ", | |
| "context": "๋ ผ๋ฌธ ์ ๋ฌธ (์น์ ํฌํจ)", | |
| "category": "์๋ช " // ์๋ช , ํํ, ์ํ ๋ฑ | |
| } | |
| ``` | |
| **์์ ๋ฐ์ดํฐ**: | |
| ``` | |
| [์๋ช ๊ณผํ ๋ ผ๋ฌธ] | |
| ์ง๋ฐฉ์ธํฌ๋ก์ ๋ถํ ์ด๊ธฐ๋จ๊ณ์์ contact inhibition์ ์ํด ์ฆ์์ด ์ ์ง๋์ด ์๋ | |
| ์ธํฌ๋ ์ง๋ฐฉ์ธํฌ ์ ๋ ๋ณตํฉ์ฒด์ ์ํด ๋ค์ ์ธํฌ ์ฆ์์ ์์ํ๋๋ฐ... | |
| C/EBPฮฒ ๋ฐํ์ด RLE์ ์ํด ์ ํด๋จ์ ํ์ธํ์๊ธฐ์... | |
| [์ํ๊ณผํ ๋ ผ๋ฌธ] | |
| ์์ ๋๋จ๋ถ์์์ ๊ตญ๊ฐ์์ ์ฃผ์์ผ๋ก ์ฌ์ฉ๋๋ ์ฃผ์ ๊ณก๋ฌผ๋ก์ ์ ์ธ๊ณ์ ์ผ๋ก | |
| 5,670๋งํค์ด ์์ฐ๋๋ฉฐ... ๋จ๋ฐฑ์ง ๋์ถ๋ฌผ์ ์ ์กฐํ์์ผ๋ฉฐ... | |
| ``` | |
| **์ถ์ฒ ์ด์ **: | |
| - **์ ์ผํ ๋๊ท๋ชจ ํ๊ตญ์ด ๊ณผํ ๋ ผ๋ฌธ ๋ฐ์ดํฐ์ ** | |
| - ๊ณผํ์ ์ ๋ฌธ ์ฉ์ด, ์คํ ๋ฐฉ๋ฒ, LaTeX ์์ ํฌํจ | |
| - ์นดํ ๊ณ ๋ฆฌ๋ณ ํํฐ๋ง ๊ฐ๋ฅ | |
| - ํ๊ตญ ๊ณผํ ์ดํ ๋ฐ ํํ ํ์ต์ ์ต์ | |
| --- | |
| #### ๐ฅ 2์: `hiteshpatel945/korean-stem` | |
| | ํญ๋ชฉ | ๋ด์ฉ | | |
| |------|------| | |
| | **HuggingFace URL** | https://huggingface.co/datasets/hiteshpatel945/korean-stem | | |
| | **์ํ ์** | **316k** | | |
| | **์ธ์ด** | ํ๊ตญ์ด | | |
| | **๋ถ์ผ** | STEM ์ ๋ฐ | | |
| | **์ ๋ฐ์ดํธ** | 2025๋ (์ต์ ) | | |
| | **์ ๊ทผ์ฑ** | ๊ณต๊ฐ | | |
| | **Downloads** | 2/์ (์ ๊ท ๋ฐ์ดํฐ์ ) | | |
| | **์ฃผ์** | ๋ฐ์ดํฐ ํ์ง ๋ฐ ์ถ์ฒ ๋ฏธ์, ๊ฒ์ฆ ํ์ | | |
| **์ถ์ฒ ์ด์ **: | |
| - ๋๊ท๋ชจ ํ๊ตญ์ด STEM ๋ฐ์ดํฐ | |
| - ๊ต๊ณผ์ ์์ค ๊ณผํ ์ง์ ํฌํจ ๊ฐ๋ฅ์ฑ | |
| **์ฃผ์์ฌํญ**: | |
| - ๋ค์ด๋ก๋ ์ ๋ฎ์ ํ์ง ๊ฒ์ฆ ํ์ | |
| - ์ถ์ฒ ๋ฐ ๋ผ์ด์ ์ค ํ์ธ ํ์ | |
| --- | |
| #### ๐ฅ 3์: `minpeter/arxiv-abstracts-korean` | |
| | ํญ๋ชฉ | ๋ด์ฉ | | |
| |------|------| | |
| | **HuggingFace URL** | https://huggingface.co/datasets/minpeter/arxiv-abstracts-korean | | |
| | **์ํ ์** | 50 (๋งค์ฐ ์๊ท๋ชจ) | | |
| | **์ธ์ด** | ํ๊ตญ์ด | | |
| | **๋ถ์ผ** | CS, ๋ฌผ๋ฆฌ, ์ํ (arXiv) | | |
| | **ํํ** | arXiv ๋ ผ๋ฌธ ์ด๋ก ๋ฒ์ญ | | |
| **ํ๊ณ**: 50๊ฐ ์ํ๋ก ์ค์ฉ์ ํ์ต ๋ถ๊ฐ. ์ฐธ๊ณ ์ฉ์ ๊ทธ์นจ. | |
| --- | |
| ### 3.3 ๊ณผํ ๋ฐ์ดํฐ ๋ณด์ ์ ๋ต | |
| ํ์ฌ ํ๊ตญ์ด ๊ณผํ ๋ฐ์ดํฐ๋ ๊ทนํ ๋ถ์กฑํ ์ํฉ. ๋ณด์ ๋ฐฉ๋ฒ: | |
| ``` | |
| 1. AI-Hub ์ฝ๋ฉ/IT ์นดํ ๊ณ ๋ฆฌ ๋ฐ์ดํฐ (๊ณ์ ์ ์ฒญ ํ์) | |
| - URL: https://aihub.or.kr/ | |
| - ํ๊ตญ ์ ๋ถ ์ง์ ๊ณ ํ์ง ๋ฐ์ดํฐ | |
| - IT/๊ณผํ ๊ต์ก ์ฝํ ์ธ ํฌํจ | |
| 2. ์น ํฌ๋กค๋ง (ํ๊ตญ ๊ณผํ ์ฌ์ดํธ) | |
| - ๋ค์ด๋ฒ ํ์ (scholar.naver.com) | |
| - RISS (riss.kr) ํ์๋ ผ๋ฌธ | |
| - KISS (kiss.kstudy.com) ํ์ ์ง | |
| - ํ๊ตญ๊ณผํ๊ธฐ์ ์ ๋ณด์ฐ๊ตฌ์ (KISTI) | |
| 3. ํ๊ตญ ๊ต๊ณผ์ ๋ฐ์ดํฐ | |
| - ๊ตญ๊ฐ๊ต์ก๊ณผ์ ์ ๋ณด์ผํฐ ๋์งํธ ๊ต๊ณผ์ | |
| - ์ค/๊ณ ๋ฑํ๊ต ๊ณผํ ๊ต๊ณผ์ OCR | |
| 4. Wikipedia ํ๊ตญ์ดํ ๊ณผํ ๋ฌธ์ | |
| - ์ด๋ฏธ ๋ง์ ํ๊ตญ์ด LLM ํ์ต์ ํฌํจ | |
| - ๋ฌผ๋ฆฌ, ํํ, ์๋ฌผ, ์ง๊ตฌ๊ณผํ ๋ฌธ์ | |
| ``` | |
| --- | |
| ## 4. ์ข ํฉ ์ถ์ฒ ๋ฐ ์ฐ์ ์์ | |
| ### 4.1 ์ฆ์ ์ฌ์ฉ ๊ฐ๋ฅ (High Priority) | |
| | ์ฐ์ ์์ | ๋ฐ์ดํฐ์ | ๋๋ฉ์ธ | ํ ํฐ ์ ์ถ์ | ์ด์ | | |
| |---------|---------|--------|------------|------| | |
| | ๐ด P1 | bigcode/starcoderdata (Python subset) | ์ฝ๋ | ~50B | ์ฆ์ pretrain ๊ฐ๋ฅ, ๊ฒ์ฆ๋จ | | |
| | ๐ด P1 | kuotient/orca-math-word-problems-193k-korean | ์ํ | ~200M | ์ต๋ ํ๊ตญ์ด ์ํ, SFT/pretrain | | |
| | ๐ด P1 | amphora/korean_science_papers | ๊ณผํ | ~150M | ์ ์ผํ ํ๊ตญ์ด ๊ณผํ ๋ ผ๋ฌธ | | |
| | ๐ก P2 | nayohan/Evol-Instruct-Code-80k-v1-ko | ์ฝ๋ | ~80M | ํ๊ตญ์ด ์ฝ๋ฉ SFT | | |
| | ๐ก P2 | re2panda/grade_school_math_korean | ์ํ | ~15M | ํ๊ตญ์ด GSM8K SFT | | |
| | ๐ก P2 | openai/gsm8k | ์ํ | ~10M | ์์ด CoT, ๋ฒ์ญ or ์ง์ ์ฌ์ฉ | | |
| ### 4.2 ์กฐ์ฌ ์ค ๋ฏธํ์ธ / ์ถ๊ฐ ์กฐ์ฌ ํ์ | |
| | ๋ฐ์ดํฐ์ | ํํฉ | ๋น๊ณ | | |
| |---------|------|------| | |
| | AI-Hub ์ฝ๋ฉ/IT | ๊ณ์ ์ ์ฒญ ํ์ | ๊ณ ํ์ง ํ๊ตญ์ด IT ๋ฐ์ดํฐ ๊ธฐ๋ | | |
| | hiteshpatel945/korean-stem | ํ์ง ๋ฏธ๊ฒ์ฆ | 316k, ์ ๊ท ๋ฐ์ดํฐ์ | | |
| | GitHub ํ๊ตญ์ด ๋ ํฌ ์ง์ ์์ง | ๋ณ๋ ์์ ํ์ | ํ๊ตญ ๊ฐ๋ฐ์ ๊ณต๊ฐ ๋ ํฌ ํฌ๋กค๋ง | | |
| | ์๋ฅ/๋ด์ ์ํ ๋ฌธ์ ์ง OCR | ๋ณ๋ ์์ง ํ์ | ๊ณ ํ์ง ํ๊ตญ ์ํ | | |
| ### 4.3 ๋ผ์ด์ ์ค ์ํ๋ ์ ๋ฆฌ | |
| | ์ํ๋ | ๋ฐ์ดํฐ์ | ์ด์ | | |
| |--------|---------|------| | |
| | ๐ข ์์ | bigcode/the-stack-v2, starcoderdata | permissive ๋ผ์ด์ ์ค๋ง, provenance ์ ๊ณต | | |
| | ๐ข ์์ | openai/gsm8k, hendrycks/math | MIT | | |
| | ๐ข ์์ | re2panda/grade_school_math_korean | MIT | | |
| | ๐ก ์ฃผ์ | nayohan/Evol-Instruct-Code-80k-v1-ko | GPT-4 output ํฌํจ (OpenAI ToS ์ด์) | | |
| | ๐ก ์ฃผ์ | amphora/korean_science_papers | ํ์ ์ง ์ ์๊ถ (์ฐ๊ตฌ ๋ชฉ์ ์ fair use ๊ฐ๋ฅ์ฑ) | | |
| | ๐ด ๋ถ๋ช ํ | hiteshpatel945/korean-stem | ์ถ์ฒ ๋ฏธ์ | | |
| --- | |
| ## 5. ํ๊ตญ์ด ์ฝ๋ ์ฃผ์ ์ถ์ถ ๋ฐฉ๋ฒ | |
| The Stack v2์์ ํ๊ตญ์ด ์ฃผ์์ด ํฌํจ๋ ์ฝ๋ ์ถ์ถ: | |
| ```python | |
| from datasets import load_dataset | |
| import re | |
| def has_korean_text(text, min_korean_chars=10): | |
| """ํ๊ธ 10๊ธ์ ์ด์ ํฌํจ ์ฌ๋ถ ํ์ธ""" | |
| korean_chars = re.findall(r'[\uAC00-\uD7A3]', text) | |
| return len(korean_chars) >= min_korean_chars | |
| def extract_korean_code(examples): | |
| """ํ๊ตญ์ด ์ฃผ์ ํฌํจ ์ฝ๋ ํํฐ๋ง""" | |
| content = examples.get("content", "") | |
| return has_korean_text(content) | |
| # Python ์๋ธ์ ๋ก๋ (streaming ๊ถ์ฅ) | |
| ds = load_dataset( | |
| "bigcode/the-stack-v2-dedup", | |
| "Python", | |
| split="train", | |
| streaming=True | |
| ) | |
| # ํ๊ตญ์ด ํฌํจ ํ์ผ๋ง ํํฐ | |
| korean_code_ds = ds.filter(extract_korean_code) | |
| ``` | |
| **์์ ๋น์จ**: Python์ ๊ฒฝ์ฐ ํ๊ตญ์ด ์ฃผ์ ํฌํจ ํ์ผ ~0.5-2% (GitHub ํ๊ตญ ์ฌ์ฉ์ ๋น์จ ๊ธฐ๋ฐ ์ถ์ ) | |
| --- | |
| ## 6. ๋ฐ์ดํฐ ์กฐํฉ ์ถ์ฒ (3B ๋ชจ๋ธ ํ์ต ๊ธฐ์ค) | |
| ### Pretrain ๋ฏน์ค (์ฝ๋+์ํ+๊ณผํ) | |
| ```yaml | |
| pretrain_mix: | |
| code: | |
| - source: bigcode/starcoderdata | |
| languages: [python, javascript, java, cpp, typescript] | |
| sampling_weight: 0.35 | |
| tokens: ~50B | |
| - source: bigcode/the-stack-v2-dedup (ํ๊ตญ์ด ์ฃผ์ ํํฐ) | |
| sampling_weight: 0.05 | |
| tokens: ~5B | |
| math: | |
| - source: open-web-math/open-web-math | |
| sampling_weight: 0.10 | |
| tokens: ~10B | |
| - source: kuotient/orca-math-word-problems-193k-korean | |
| sampling_weight: 0.05 | |
| tokens: ~200M | |
| science: | |
| - source: amphora/korean_science_papers | |
| sampling_weight: 0.03 | |
| tokens: ~150M | |
| # ๋๋จธ์ง๋ ์ผ๋ฐ ํ๊ตญ์ด/์์ด ํ ์คํธ๋ก ์ฑ์ | |
| ``` | |
| ### SFT ๋ฏน์ค (์ฝ๋+์ํ) | |
| ```yaml | |
| sft_mix: | |
| code_ko: nayohan/Evol-Instruct-Code-80k-v1-ko # 78k | |
| code_en: nickrosh/Evol-Instruct-Code-80k-v1 # 78k (์ ํ) | |
| math_ko: kuotient/orca-math-word-problems-193k-korean # 193k | |
| math_ko_gsm: re2panda/grade_school_math_korean # 7.5k | |
| ``` | |
| --- | |
| *์กฐ์ฌ์ผ: 2026-02-27 | ์กฐ์ฌ์: survey-code-math subagent* | |