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")# pip install -U transformers accelerate # 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 Desktop
- 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
Commit History
-
Add Related Projects section with EVAFRILL-Mo links
Verified signatureb9f7777 -
docs: 감사의 글/Acknowledgment 한영 분리 (각 섹션 끝에 해당 언어로)
Verified signature274410d -
docs: add government acknowledgment (첨단 GPU 활용 지원 사업, MSIT/NIPA)
Verified signatureadcc67a
-
docs: Add file download links for models, GGUF, training data, scripts, and reports
Verified signature127e2c7 -
fix: Replace incorrect 1.2B GGUF with correct 3B ORPO GGUF (Q8_0 3.0GB, byte-fallback)
Verified signature25a61c4 -
fix: Replace incorrect 1.2B GGUF with correct 3B ORPO GGUF (Q4_K_M 1.8GB, byte-fallback)
Verified signaturec59eb0a -
feat: Add SFT training data (filtered, 2.4M samples from 24 sources)
Verified signature6ebad26 -
fix: Replace incorrect 1.2B GGUF with correct 3B ORPO GGUF (F16 5.7GB, byte-fallback)
Verified signature7f2374a -
feat: Add heegyu_orca-math-korean-preference-cleaned.jsonl for ORPO/SFT reproducibility
Verified signature449ea1c -
feat: Add nayohan_preference-collection-ko-full.jsonl for ORPO/SFT reproducibility
Verified signatureb412bf5 -
feat: Add combined_preference.jsonl for ORPO/SFT reproducibility
Verified signature60d9aab -
feat: Add SFT val + preference data (ORPO training, 630K pairs)
Verified signaturee9af455 -
feat: Add data pipeline scripts + phase reports (Tier 3 - reproducibility)
Verified signatureb3d361d -
fix: Replace 1.2B model with correct 3B ORPO model (hidden=3072, 28L, vocab=64256, byte-fallback)
Verified signature0d9e743 -
docs: Add v2 model replacement notice (2026-03-26) - 1.2B→3B fix, update file sizes and vocab
Verified signature1e51e84 -
fix: Update generation_config.json with correct 3B ORPO byte-fallback tokenizer (vocab=64256)
Verified signature58d3f23 -
fix: Update tokenizer_config.json with correct 3B ORPO byte-fallback tokenizer (vocab=64256)
Verified signature8fb78b1 -
fix: Update tokenizer.json with correct 3B ORPO byte-fallback tokenizer (vocab=64256)
Verified signaturec3a0907 -
fix: Replace incorrect 1.2B config with correct 3B ORPO config (hidden_size=3072, 28 layers, vocab=64256)
Verified signaturee5b6ed2
-
docs: add Korean model card + contact info
Verified signaturedb64d78 -
docs: add comprehensive HuggingFace model card with benchmarks and usage guide (#51)
- docs: add comprehensive HuggingFace model card with benchmarks and usage guide (9eb04a9f8655b84dcedeac705fa8927897ff014d) Co-authored-by: pathcosmos <somebody-to-love@users.noreply.huggingface.co>8b82c63
-
docs: add detailed sampling config section with eval grid results
Verified signaturedc788f2 -
docs: add training hardware specs (8x B200, EPYC 9365, software stack)
Verified signatureef6210a -
feat: add v1 GGUF gguf/frankenstallm-3b-f16.gguf
Verified signatured135462 -
feat: add v1 GGUF gguf/frankenstallm-3b-Q8_0.gguf
Verified signaturea4129b4 -
feat: add v1 GGUF gguf/frankenstallm-3b-Q4_K_M.gguf
Verified signature0c0a611 -
feat: add v1 Ollama Modelfile (gguf/Modelfile.3b-f16)
Verified signature0409e36 -
feat: add v1 Ollama Modelfile (gguf/Modelfile.3b-Q8_0)
Verified signatureda759cf -
feat: add v1 Ollama Modelfile (gguf/Modelfile.3b-Q4_K_M)
Verified signatureb18604b -
feat: add frankenstallm-3b-v2 Q8_0 quantization
Verified signature6c8bad0 -
feat: add Ollama Modelfile with sampling config (gguf/Modelfile.3b-v2-Q8_0)
Verified signature02abf5c -
feat: add Ollama Modelfile with sampling config (gguf/Modelfile.3b-v2-f16)
Verified signature60b6e86 -
feat: add Ollama Modelfile with sampling config (gguf/Modelfile.3b-v2-Q4_K_M)
Verified signature485fd13 -
Upload gguf/frankenstallm-3b-v2-Q4_K_M.gguf with huggingface_hub (#50)
- Upload gguf/frankenstallm-3b-v2-Q4_K_M.gguf with huggingface_hub (d0b5eb423dfff972211d138790c0902fd7fba6fc) - Resolve .gitattributes merge conflict (LFS rules) (68fbf4aaaca2b3f91dfe06242af43e0cc3494924) - fix: merge .gitattributes from main (resolve conflict PR #50) (c2c187cb2cceb94908102e09b05db6b1ffaa65b0) Co-authored-by: pathcosmos <somebody-to-love@users.noreply.huggingface.co>90181b4 -
Upload gguf/frankenstallm-3b-v2-Q4_K_M.gguf with huggingface_hub (#43)
- Upload gguf/frankenstallm-3b-v2-Q4_K_M.gguf with huggingface_hub (2e639dee411790ba4ca7e47099eef9cf7797fc42) - Resolve .gitattributes merge conflict (LFS rules) (e626c69c968e301cbf2e777d713a2c9a20a727d8) - fix: merge .gitattributes from main (resolve conflict PR #43) (cf2c0c66856ace574d01131bd6f08e8f9e54bdc5) Co-authored-by: pathcosmos <somebody-to-love@users.noreply.huggingface.co>0676c94 -
Upload gguf/frankenstallm-3b-v2-f16.gguf with huggingface_hub (#42)
- Upload gguf/frankenstallm-3b-v2-f16.gguf with huggingface_hub (cfec2a34ff85ab36d40a3d1a3c155da0abf2e618) - Resolve .gitattributes merge conflict (LFS rules) (4ba1a9c011ec4add304be617f29b4a2f9c869328) - fix: merge .gitattributes from main (resolve conflict PR #42) (d8859860d3b9ba155ffdd3f9fa122806df7b468a) Co-authored-by: pathcosmos <somebody-to-love@users.noreply.huggingface.co>a9959c7 -
Upload gguf/frankenstallm-3b-v2-f16.gguf with huggingface_hub (#49)
- Upload gguf/frankenstallm-3b-v2-f16.gguf with huggingface_hub (ba6634712c378e9a2c4d9c22e1de3983978c9d1b) Co-authored-by: pathcosmos <somebody-to-love@users.noreply.huggingface.co>509cf90 -
Upload sampling_config.json with huggingface_hub (#44)
- Upload sampling_config.json with huggingface_hub (f390c1a7b80ede5f3ab593ef7e28582d23f7b35c) Co-authored-by: pathcosmos <somebody-to-love@users.noreply.huggingface.co>dd6eed6 -
Upload README.md with huggingface_hub (#45)
- Upload README.md with huggingface_hub (f45e7ffaeca7fe78ac1e87ae412805c8583ecc1d) Co-authored-by: pathcosmos <somebody-to-love@users.noreply.huggingface.co>867657b -
Upload eval/ollama_benchmark_results.json with huggingface_hub (#46)
- Upload eval/ollama_benchmark_results.json with huggingface_hub (76f919c93e8f06b9d814a1ac17b09550463acebf) Co-authored-by: pathcosmos <somebody-to-love@users.noreply.huggingface.co>cfa9ba8 -
Upload eval_reports/2026-03-09_GGUF_DEPLOYMENT_AND_EVAL_REPORT.md with huggingface_hub (#47)
- Upload eval_reports/2026-03-09_GGUF_DEPLOYMENT_AND_EVAL_REPORT.md with huggingface_hub (0646df9f0151d976f3928805684d1d662b4789da) Co-authored-by: pathcosmos <somebody-to-love@users.noreply.huggingface.co>5b02ec5 -
Upload folder using huggingface_hub (#41)
- Upload folder using huggingface_hub (bcb770fab8872fb48957551e84d33e53cd9e3637) Co-authored-by: pathcosmos <somebody-to-love@users.noreply.huggingface.co>efd2986 -
Upload folder using huggingface_hub (#40)
- Upload folder using huggingface_hub (a05472b8c98c28bcfd942124ad520591bbf0a950) Co-authored-by: pathcosmos <somebody-to-love@users.noreply.huggingface.co>9469fb1 -
Upload folder using huggingface_hub (#39)
- Upload folder using huggingface_hub (75d66fc71ed04feadbfeac16695a9753d6e8a655) Co-authored-by: pathcosmos <somebody-to-love@users.noreply.huggingface.co>9c3d34f -
Upload eval_reports/2026-03-09_ORPO_EVALUATION_REPORT.md with huggingface_hub (#38)
- Upload eval_reports/2026-03-09_ORPO_EVALUATION_REPORT.md with huggingface_hub (a3d93f11037020ae858975100d056c9ffb2b9b73) Co-authored-by: pathcosmos <somebody-to-love@users.noreply.huggingface.co>3f46e13 -
Upload eval_reports/2026-03-09_GGUF_DEPLOYMENT_AND_EVAL_REPORT.md with huggingface_hub (#37)
- Upload eval_reports/2026-03-09_GGUF_DEPLOYMENT_AND_EVAL_REPORT.md with huggingface_hub (6a703a8343a58e9cc240eeb36ac7ee2112dc6255) Co-authored-by: pathcosmos <somebody-to-love@users.noreply.huggingface.co>1d5caa4 -
Upload eval/ollama_benchmark_results.json with huggingface_hub (#36)
- Upload eval/ollama_benchmark_results.json with huggingface_hub (f8755920e9f3650742d52b1598ed93416b46c353) Co-authored-by: pathcosmos <somebody-to-love@users.noreply.huggingface.co>fb7e001 -
Upload README.md with huggingface_hub (#35)
- Upload README.md with huggingface_hub (7820ab5333db3544cff6efd1475cb973b901f651) Co-authored-by: pathcosmos <somebody-to-love@users.noreply.huggingface.co>3d91606 -
Upload source/PLAN_hybrid_3b_fixes.md with huggingface_hub (#34)
- Upload source/PLAN_hybrid_3b_fixes.md with huggingface_hub (4bd28c0ad1e08bb670422159455b65607c3dbaf9) Co-authored-by: pathcosmos <somebody-to-love@users.noreply.huggingface.co>ed8ae31 -
Upload source/PROGRESS.md with huggingface_hub (#33)
- Upload source/PROGRESS.md with huggingface_hub (b85cbc94e11f80fcdbe8dedaff3d57f39dca768a) Co-authored-by: pathcosmos <somebody-to-love@users.noreply.huggingface.co>1e78479