Instructions to use pathcosmos/JANSORI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pathcosmos/JANSORI with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="pathcosmos/JANSORI")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("pathcosmos/JANSORI") model = AutoModelForCausalLM.from_pretrained("pathcosmos/JANSORI", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use pathcosmos/JANSORI 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/JANSORI:Q4_K_M # Run inference directly in the terminal: llama cli -hf pathcosmos/JANSORI: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/JANSORI:Q4_K_M # Run inference directly in the terminal: llama cli -hf pathcosmos/JANSORI:Q4_K_M
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 pathcosmos/JANSORI:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf pathcosmos/JANSORI:Q4_K_M
Use Docker
docker model run hf.co/pathcosmos/JANSORI:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use pathcosmos/JANSORI with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "pathcosmos/JANSORI" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "pathcosmos/JANSORI", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/pathcosmos/JANSORI:Q4_K_M
- SGLang
How to use pathcosmos/JANSORI 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/JANSORI" \ --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/JANSORI", "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/JANSORI" \ --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/JANSORI", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Ollama
How to use pathcosmos/JANSORI with Ollama:
ollama run hf.co/pathcosmos/JANSORI:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use pathcosmos/JANSORI with Docker Model Runner:
docker model run hf.co/pathcosmos/JANSORI:Q4_K_M
- Lemonade
How to use pathcosmos/JANSORI with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull pathcosmos/JANSORI:Q4_K_M
Run and chat with the model
lemonade run user.JANSORI-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Add standard-benchmark evaluation notes and runtime optimization records (ko-llm-bench-suite)
b1d350f verified |
Download EVALUATION_STANDARD.md from pathcosmos/JANSORI: direct link, hf CLI and curl.
- Browser
- Download file 3.04 kB
-
https://huggingface.co/pathcosmos/JANSORI/resolve/refs%2Fpr%2F1/EVALUATION_STANDARD.md
- Command line
-
hf download hf://pathcosmos/JANSORI@refs/pr/1/EVALUATION_STANDARD.md
-
curl -L -o EVALUATION_STANDARD.md https://huggingface.co/pathcosmos/JANSORI/resolve/refs%2Fpr%2F1/EVALUATION_STANDARD.md
3.04 kB
JANSORI ํ์ค ๋ฒค์น ํ๊ฐ (ko-llm-bench-suite)
JANSORI๋ ์ฌ์ ํ์ต๋ง ํ base ๋ชจ๋ธ์ด๋ค. ํ๊ฐ๋ ๋ก๊ทธ์ฐ๋ยท์ด์ด์ฐ๊ธฐ ์ค์ฌ์ด๊ณ ์ง์ ์ํ ์ ์๋ base์๋ ๋ถ๋ฆฌํ ํ์์ด๋ค.
ํต์ผ ๋น๊ต (ํ๋กํ ์ฝ U, 34๊ฐ ๋ชจ๋ธ)
| ์์ญ | JANSORI | EVAFRILL-Mo pretrain (๊ฐ์ base ๋น๊ต) |
|---|---|---|
| ์ข ํฉ (9์์ญ ๊ฐ์ ๊ฐ์ค์น) | 0.181 (31/34์) | 0.151 (34/34์) |
| ์ง์ | 0.144 | 0.068 |
| ์ ๋ฌธยท์๋ฃ | 0.094 | 0.033 |
| ์ฌ์ค์ฑยทํธํฅ | 0.074 | 0.043 |
| ์ํ | 0.012 | 0.005 |
| ์ฝ๋ | 0.008 | 0.000 |
| ์ง์ ์ํ | 0.149 | 0.170 |
| ๋ํยท์์ฑ ํ์ง | 0.142 | 0.103 |
| ๋คํด | 0.123 | 0.129 |
| ์ธ์ด ๋ชจ๋ธ๋ง | 0.881 | 0.809 |
- ์ธ์ด ๋ชจ๋ธ๋ง(bits-per-byte)๋ง ์์๊ถ์ด๋ค. ํ๊ตญ์ด wiki40b bpb 0.752(CI 0.732โ0.772). ๊ณต๊ฐ base์ ๋น๊ตํ ์ธ์ด ๋ชจ๋ธ๋ง ์์ญ ์์๋ ๋ณด๊ณ ์ ์ฐธ์กฐ(ํต์ผ ๋น๊ต์์ base ๋ชจ๋ธ ์ค 4์). ๋๋จธ์ง ์์ญ์ ํ์๊ถ์ด๋ค.
- KoBEST 5-shot 58.7%, ์์ด HellaSwagยทARC๋ 52.6/38.0(frankenstallmยทEVAFRILL์ ์ฝ 30/23).
์คํ ์ค์ ์์ ์๊ฒ ๋ ๊ฒ
- ๋ฌธ์ ์์ EOS(docstart=eos): dev์์๋ +0.69%p๋ก ์ ํ๋์ง๋ง test์์ ์ฌํ๋์ง ์์๋ค(ko_mc_v1 โ0.46%p [โ1.18, +0.26]). ๊ธฐ๋ณธ๊ฐ(EOS ๋ฏธ์ฌ์ฉ)์ ๊ถ์ฅํ๋ค.
- base ์ด์ด์ฐ๊ธฐ ํ๋กฌํํธ ๋์ ๊ณต๋ฐฑ/๊ฐํ: ๋ ๋จ๋ ๊ฐํ ํ ํฐ์์ EOS ํ๋ฅ ์ด 0.49๊น์ง ์ฌ๋๋ค. ํ๋กฌํํธ ๋ ๊ณต๋ฐฑ์ ์ ๊ฑฐํ๊ณ ์ฐ๋ ํธ์ด ์์ ์ ์ด๋ค.
- GGUF ํ ํฐํ: ๋ฐฐํฌ GGUF๋ ํ์ต ํ ํฐ ID์ 24/24 ์ผ์นํ๋ค(llama.cppยทOllama ๋ชจ๋).
Modelfile์{{ .Prompt }}(์๋ฌธ ์ด์ด์ฐ๊ธฐ)๋ฅผ ์ด๋ค. - GGUF Q8_0 ๋ก๊ทธ์ฐ๋๋ BF16๊ณผ ยฑ0.1 ์ด๋ด.
์ฑ๋ฅ (vLLM BF16, ์ถ๋ ฅ 256ํ ํฐ ๊ณ ์ )
| ๋ชจ๋ธ | ์์ง | ๋์ 1 ์ถ๋ ฅ tok/s | ๋์ 1 TTFT p50 ms | ๋์ 64 ์ถ๋ ฅ tok/s | ๊ฐ์ค์น GiB |
|---|---|---|---|---|---|
| JANSORI BF16 | vllm | 371 | 14.3 | 16534 | 6.00 |
์ฝ๋ ๋ฒ๊ณผ ํ๊ณ
- ๋ชจ๋ ์์น๋ H200 1์ฅ, 2026-11-18~24 ์ธก์ . ๋ฐ์ดํฐ์ ยท๋น๊ต ๋ชจ๋ธ์ revision์ ๊ณ ์ ํ๋ค. ๋ชจ๋ธ 34๊ฐ(๊ณต๊ฐ 30๊ฐ ํฌํจ)๋ฅผ ๊ฐ์ ์๋ฌธ ํ๋กฌํํธ(chat ํ ํ๋ฆฟ ์์, ํ๋กํ ์ฝ U)๋ก ๋น๊ตํ๋ค.
- ๊ณต๊ฐ ๋ฒค์น๋งํฌ๋ ๋น๊ต ๋ชจ๋ธ์ ํ์ต ๋ฐ์ดํฐ์ ํฌํจ๋์ ์ ์์ด ์ ์๊ฐ ๋ถํ ์ ์๋ค. ์ด ๋ชจ๋ธ์ ํ์ต ๋ฐ์ดํฐ์์ ์ค๋ณต์ ๋ฐ๋ก ๊ฒ์ฌํ์ง ์์๋ค.
- ์ง์ํ ๊ฐ๊ด์(KMMLU, HAE-RAE ๋ฑ)์ ์ด ๋ชจ๋ธ์์ ๋ฌด์์(25%) ๊ทผ์ฒ๋ค. KMMLU ์ ๋ต ๋ถํฌ๊ฐ ์น์ฐ์ณ(A 9.9%) ๊ธ์ ํธํฅ๋ง์ผ๋ก๋ 20%๋๊ฐ ๋์จ๋ค(์์ธก ๋ถํฌ์ ์ ๋ต ๋ถํฌ๋ก ๊ณ์ฐํ ๊ธฐ๋๊ฐ ์ฝ 19.7%).
- ์ค์ ์ ํ์ dev ๋ถํ ์์ ์ธก์ ์ ์ ๋ฑ๋กํ ๊ท์น์ผ๋ก ํ๊ณ , test์์ ์ฌํ๋์ง ์์ ์ ํ๋ ์๋ค(์๋ ๋ช ์).
- ์ ์ฒด ํยท๋ฐฉ๋ฒยท์ฝ๋: https://github.com/pathcosmos/ko-llm-bench-suite (๋ณด๊ณ ์: https://pathcosmos.github.io/ko-llm-bench-suite/). ๋ฌธํญ๋ณ ์ถ๋ ฅ์ ๋ฐ์ดํฐ์ ๋ผ์ด์ ์ค(KMMLU-Redux/Pro๋ cc-by-nc-nd) ๋๋ฌธ์ ์ฌ๋ฆฌ์ง ์๋๋ค.