Text Generation
Transformers
Safetensors
qwen3_5_moe_text
autoround
int3
int4
mixed-precision
Mixture of Experts
vllm
qwen3_5_moe
conversational
4-bit precision
auto-round
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
Download eval_kl.json from Beling86/Ornith-3.55BPW: direct link, hf CLI and curl.
- Browser
- Download file 2.37 kB
-
https://huggingface.co/Beling86/Ornith-3.55BPW/resolve/main/eval_kl.json
- Command line
-
hf download hf://Beling86/Ornith-3.55BPW/eval_kl.json
-
curl -L -o eval_kl.json https://huggingface.co/Beling86/Ornith-3.55BPW/resolve/main/eval_kl.json
2.37 kB
| { | |
| "checkpoint": "/home/beling/data/ornith_v3_runs/Ornith-3.55BPW", | |
| "teacher": "/home/beling/data/models/ornith_text", | |
| "evalset_sha256": "3d97ae56301f1148d4ff932e31a4ce88b7586bae4b2b689e359187cbcd2203f8", | |
| "kl_definition": "KL(P_bf16 || Q_quant), full vocabulary, FP32, teacher-forced", | |
| "overall": { | |
| "positions": 24552, | |
| "mean_kl": 0.15391698479652405, | |
| "mean_kl_sem": 0.0035105394199490547, | |
| "median_kl": 0.008834905922412872, | |
| "p90": 0.31783342361450195, | |
| "p95": 0.7410335540771484, | |
| "p99": 2.738839864730835, | |
| "p99_9": 6.901668071746826, | |
| "max": 11.6662015914917, | |
| "top1_agreement": 0.89613880742913, | |
| "ppl_bf16": 3.30250308239324, | |
| "ppl_quant": 3.4023672857230136 | |
| }, | |
| "by_domain": { | |
| "chat": { | |
| "positions": 10230, | |
| "mean_kl": 0.07584898173809052, | |
| "mean_kl_sem": 0.0033536639530211687, | |
| "median_kl": 0.014706999063491821, | |
| "p90": 0.1334025114774704, | |
| "p95": 0.25180143117904663, | |
| "p99": 1.0918654203414917, | |
| "p99_9": 5.218168258666992, | |
| "max": 10.079212188720703, | |
| "top1_agreement": 0.9047898338220919, | |
| "ppl_bf16": 4.64406773237701, | |
| "ppl_quant": 4.659414356828081 | |
| }, | |
| "code": { | |
| "positions": 5115, | |
| "mean_kl": 0.16070856153964996, | |
| "mean_kl_sem": 0.010259272530674934, | |
| "median_kl": 0.00016688252799212933, | |
| "p90": 0.1978800743818283, | |
| "p95": 0.7962141633033752, | |
| "p99": 3.801030158996582, | |
| "p99_9": 8.014979362487793, | |
| "max": 11.6662015914917, | |
| "top1_agreement": 0.9436950146627566, | |
| "ppl_bf16": 1.5251055471318558, | |
| "ppl_quant": 1.5984046399053604 | |
| }, | |
| "math": { | |
| "positions": 5115, | |
| "mean_kl": 0.17981620132923126, | |
| "mean_kl_sem": 0.008002547547221184, | |
| "median_kl": 0.0052641904912889, | |
| "p90": 0.40744027495384216, | |
| "p95": 0.9362146854400635, | |
| "p99": 3.0001039505004883, | |
| "p99_9": 5.529028415679932, | |
| "max": 8.25881290435791, | |
| "top1_agreement": 0.8997067448680351, | |
| "ppl_bf16": 2.5302318294342636, | |
| "ppl_quant": 2.541971614887116 | |
| }, | |
| "prose": { | |
| "positions": 4092, | |
| "mean_kl": 0.3082233667373657, | |
| "mean_kl_sem": 0.009954070672392845, | |
| "median_kl": 0.0689619705080986, | |
| "p90": 0.8358295559883118, | |
| "p95": 1.4434771537780762, | |
| "p99": 3.069350481033325, | |
| "p99_9": 5.960296630859375, | |
| "max": 7.871199607849121, | |
| "top1_agreement": 0.8106060606060606, | |
| "ppl_bf16": 5.161048444189668, | |
| "ppl_quant": 5.738350269951783 | |
| } | |
| }, | |
| "seconds": 317.8 | |
| } |