Instructions to use Beling86/Ornith-3.55BPW with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Beling86/Ornith-3.55BPW with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Beling86/Ornith-3.55BPW") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Beling86/Ornith-3.55BPW") model = AutoModelForCausalLM.from_pretrained("Beling86/Ornith-3.55BPW", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.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(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Beling86/Ornith-3.55BPW with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Beling86/Ornith-3.55BPW" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Beling86/Ornith-3.55BPW", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Beling86/Ornith-3.55BPW
- SGLang
How to use Beling86/Ornith-3.55BPW 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 "Beling86/Ornith-3.55BPW" \ --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": "Beling86/Ornith-3.55BPW", "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 "Beling86/Ornith-3.55BPW" \ --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": "Beling86/Ornith-3.55BPW", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Beling86/Ornith-3.55BPW with Docker Model Runner:
docker model run hf.co/Beling86/Ornith-3.55BPW
Ornith-3.55BPW
Mixed-precision AutoRound v3.2 quantization of ornith-ai/Ornith-1.5-122B (Qwen3.5-122B-A10B fine-tune) for vLLM. Text-only (vision tower removed). Checkpoint size 50.48 GiB, 3.55 bits per weight on average (packed weights, scales, zero points, and BF16 parts).
Precision layout
| Component | Format |
|---|---|
| Routed experts (15 layers: 0, 3, 4, 13, 14, 16, 17, 18, 20, 21, 22, 30, 36, 38, 39) | W3A16, group 64, symmetric |
| Routed experts (33 layers) | W3A16, group 128, symmetric |
GDN in_proj_qkv / in_proj_z |
W8A16, group 128, symmetric |
GDN out_proj |
W8A16, group 128, symmetric |
Full-attention q/k/v_proj |
W8A16, group 128, symmetric |
Full-attention o_proj |
W8A16, group 128, symmetric |
Shared experts (48 layers) |
W8A16, group 128, symmetric |
Routers, shared_expert_gate, GDN in_proj_a/b, embeddings, LM head, norms |
BF16 |
AutoRound 0.16.1 (SignRound), 400 iterations/block, 512 × 2048-token balanced 5-domain calibration corpus (chat, code, OpenR1-Math-220k reasoning, LongAlpaca, WikiText-103 prose; native ChatML template). Format auto_round:auto_gptq.
Fidelity vs. BF16
Teacher-forced full-vocabulary KL(P_bf16 ‖ Q_quant) on the held-out 24 × 1,024-token eval set (disjoint sources/splits from calibration):
| Domain | Positions | Mean KL | Median KL | P99 KL | Top-1 agreement | PPL bf16 → quant |
|---|---|---|---|---|---|---|
| all | 24552 | 0.15392 | 0.00883 | 2.7388 | 89.61% | 3.303 → 3.402 |
| chat | 10230 | 0.07585 | 0.01471 | 1.0919 | 90.48% | 4.644 → 4.659 |
| code | 5115 | 0.16071 | 0.00017 | 3.8010 | 94.37% | 1.525 → 1.598 |
| math | 5115 | 0.17982 | 0.00526 | 3.0001 | 89.97% | 2.530 → 2.542 |
| prose | 4092 | 0.30822 | 0.06896 | 3.0694 | 81.06% | 5.161 → 5.738 |
Overall: mean KL 0.15392 (±0.00351), median 0.00883, top-1 agreement 89.61%, P99.9 KL 6.9017, max 11.666.
(v1 baseline Ornith-3.63BPW at 51.68 GiB had overall mean_kl = 0.16801, prose = 0.34892, top1 = 89.10%.)
vLLM static INC config dry-check passed; full end-to-end vLLM serving smoke was skipped during export.
Serving (vLLM)
python vllm-patch.py # run with the python of your vLLM environment
vllm serve Beling86/Ornith-3.55BPW --trust-remote-code --dtype bfloat16
vllm-patch.py fixes vLLM's INC parser lookup for RoutedExperts mixed bit-width layers (2/3-bit experts run on Humming kernels, 4/8-bit layers on Marlin).
Validation gates passed
Coverage (G1), packed layout vs. config (G2), symmetric zero points (G3), fused-group consistency (G4), size ≤ 50.6 GiB (G5), plan conformance (G6), strict reload for full-vocabulary KL evaluation.
- Downloads last month
- -
Model tree for Beling86/Ornith-3.55BPW
Base model
ornith-ai/Ornith-1.5-122B