Text Generation
Transformers
Safetensors
qwen3_5_moe
image-text-to-text
fp8
Mixture of Experts
expert-pruning
korean
coding
compressed-tensors
qwen3
conversational
Instructions to use gigascake/Ornith-1.0-397B-FP8-KoreanCoding-Expert192 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gigascake/Ornith-1.0-397B-FP8-KoreanCoding-Expert192 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="gigascake/Ornith-1.0-397B-FP8-KoreanCoding-Expert192") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("gigascake/Ornith-1.0-397B-FP8-KoreanCoding-Expert192") model = AutoModelForMultimodalLM.from_pretrained("gigascake/Ornith-1.0-397B-FP8-KoreanCoding-Expert192", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use gigascake/Ornith-1.0-397B-FP8-KoreanCoding-Expert192 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "gigascake/Ornith-1.0-397B-FP8-KoreanCoding-Expert192" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "gigascake/Ornith-1.0-397B-FP8-KoreanCoding-Expert192", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/gigascake/Ornith-1.0-397B-FP8-KoreanCoding-Expert192
- SGLang
How to use gigascake/Ornith-1.0-397B-FP8-KoreanCoding-Expert192 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 "gigascake/Ornith-1.0-397B-FP8-KoreanCoding-Expert192" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "gigascake/Ornith-1.0-397B-FP8-KoreanCoding-Expert192", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "gigascake/Ornith-1.0-397B-FP8-KoreanCoding-Expert192" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "gigascake/Ornith-1.0-397B-FP8-KoreanCoding-Expert192", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use gigascake/Ornith-1.0-397B-FP8-KoreanCoding-Expert192 with Docker Model Runner:
docker model run hf.co/gigascake/Ornith-1.0-397B-FP8-KoreanCoding-Expert192
Ornith-1.0-397B-FP8-KoreanCoding-Expert192
ํ๊ตญ์ด+์ฝ๋ฉ ์ง์ค ๊ตฌ์กฐ์ ์ ๋ฌธ๊ฐ ๊ฐ์ง์น๊ธฐ ๋ชจ๋ธ. VLM(์ด๋ฏธ์ง ์ธ์) ์ ๋ฌธ๊ฐ๋ฅผ ์ ์ธํ๊ณ 192 ์ฌ๋กฏ์ ์ธ์ด(Korean/Japanese/Chinese) + ์ฝ๋ฉ์ ์ง์ค ํ ๋น. ํ๊ตญ์ด ์ ๋ฌธ๊ฐ gate.weight 1.15ร ๋ถ์คํธ๋ก ๋ผ์ฐํ ํ๋ฅ ๋ณด์ .
ํต์ฌ ๋ณ๊ฒฝ (vs ์ด์ MultiDomain-Expert192)
| ํญ๋ชฉ | ์ด์ (MultiDomain) | ์ด ๋ชจ๋ธ (KoreanCoding) |
|---|---|---|
| ํ๊ตญ์ด ์ ๋ฌธ๊ฐ/layer | ~24 (๊ฐ์ค์น ์กฐํฉ) | ~52 (๊ฒฝ๋ ํ ๋น) |
| ์ฝ๋ฉ ์ ๋ฌธ๊ฐ/layer | ~25 (๊ฐ์ค์น ์กฐํฉ) | 100 (๊ฒฝ๋ ํ ๋น) |
| VLM ์ ๋ฌธ๊ฐ | ํฌํจ (76% ๋ณด์กด) | ์ ์ธ (์ธ์ด+์ฝ๋ฉ์ ์ฌํ ๋น) |
| ํ๊ตญ์ด ๋ผ์ฐํฐ ๋ถ์คํธ | ์์ | gate.weight ร 1.15 |
| ํ ๋น ๋ฐฉ์ | ๊ฐ์ค ๊ฒฐํฉ (soft) | ์นดํ ๊ณ ๋ฆฌ๋ณ ๊ฒฝ๋ (hard) |
์ ๋ฌธ๊ฐ ํ ๋น (๋ ์ด์ด๋น 192)
| ์นดํ ๊ณ ๋ฆฌ | ํ ๋น | ๋ณดํธ ๋ฐฉ์ |
|---|---|---|
| ๐ฐ๐ท ํ๊ตญ์ด | top-50 (hard) | gate.weight ร1.15 ๋ถ์คํธ |
| ๐ฏ๐ต ์ผ๋ณธ์ด | top-20 (hard) | ํ๊ตญ์ด์ ๊ณต์ ์ ๋ถ์คํธ |
| ๐ป ์ฝ๋ฉ | top-100 (hard) | SWE-bench/HumanEval ๋ณด์กด |
| ๐จ๐ณ ์ค๊ตญ์ด | top-20 (hard) | ์ค๊ตญ์ด ์์ฑ ๋ณด์กด |
| ๐ ์ผ๋ฐ | ~22 (weight_norm) | ์์ด/๊ธฐ๋ณธ ์ถ๋ก |
| ๐ผ๏ธ VLM | ์ ์ธ | Image-to-Text ๋ถ๊ฐ |
Usage
python3 -m sglang.launch_server \
--model-path /path/to/Ornith-1.0-397B-FP8-KoreanCoding-Expert192 \
--tp 2 --trust-remote-code \
--reasoning-parser qwen3 --tool-call-parser qwen3_coder \
--max-model-len 262144 --chunked-prefill-size 8192 \
--mem-fraction-static 0.88 \
--host 0.0.0.0 --port 30000
VRAM (2ร RTX PRO 6000, 192GB)
| ๊ตฌ๋ถ | ์ฉ๋ |
|---|---|
| ๊ฐ์ค์น (192 experts FP8) | ~152 GB |
| ๋ฐํ์ | ~13 GB |
| KV-Cache | ~27 GB (256K ร 7 ๋์) |
Spec
- 512โ192 experts (62.5%), 6ร32 ์ ๋ ฌ
- Qwen3.5 MoE, Top-10 + 1 Shared, hybrid GDN+GQA
- 60 layers, 4096 hidden, 262144 context
- FP8 compressed-tensors (์๋ณธ ๋ณด์กด, ์ฌ์์ํ ์์)
- VLM ๋ฏธ์ง์ (์ด๋ฏธ์ง ์ ๋ ฅ ๋ถ๊ฐ, ํ ์คํธ ์ ์ฉ)
License
MIT (inherited from Ornith-1.0-397B)
- Downloads last month
- 18
Model tree for gigascake/Ornith-1.0-397B-FP8-KoreanCoding-Expert192
Base model
ornith-ai/Ornith-1.0-397B