Text Generation
MLX
Safetensors
ernie5_5_moe
jang
janght
quantized
apple-silicon
Mixture of Experts
reasoning
thinking
coding
tool-use
speculative-decoding
dspark
Run this model with HF Jobs
Run OsaurusAI/ERNIE-5.5-Flash-Preview-JANGHT2.4 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/OsaurusAI/ERNIE-5.5-Flash-Preview-JANGHT2.4. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/OsaurusAI/ERNIE-5.5-Flash-Preview-JANGHT2.4 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/OsaurusAI/ERNIE-5.5-Flash-Preview-JANGHT2.4. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Instructions to use OsaurusAI/ERNIE-5.5-Flash-Preview-JANGHT2.4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use OsaurusAI/ERNIE-5.5-Flash-Preview-JANGHT2.4 with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # if on a CUDA device, also pip install mlx[cuda] # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("OsaurusAI/ERNIE-5.5-Flash-Preview-JANGHT2.4") prompt = "Once upon a time in" text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- MLX LM
How to use OsaurusAI/ERNIE-5.5-Flash-Preview-JANGHT2.4 with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "OsaurusAI/ERNIE-5.5-Flash-Preview-JANGHT2.4" --prompt "Once upon a time"
- Atomic Chat
Download evaluation.json from OsaurusAI/ERNIE-5.5-Flash-Preview-JANGHT2.4: direct link, hf CLI and curl.
- Browser
- Download file 15.7 kB
-
https://huggingface.co/OsaurusAI/ERNIE-5.5-Flash-Preview-JANGHT2.4/resolve/main/evaluation.json
- Command line
-
hf download hf://OsaurusAI/ERNIE-5.5-Flash-Preview-JANGHT2.4/evaluation.json
-
curl -L -o evaluation.json https://huggingface.co/OsaurusAI/ERNIE-5.5-Flash-Preview-JANGHT2.4/resolve/main/evaluation.json
15.7 kB
| { | |
| "comparison_hardware": { | |
| "machine": "Apple M5 Ultra Mac Studio", | |
| "mlx": "0.32.4", | |
| "unified_memory_gib": 256 | |
| }, | |
| "decode_timing": { | |
| "candidate_speed": [ | |
| { | |
| "case": "code", | |
| "decode_seconds": 17.130113124963827, | |
| "decode_token_limit": 96, | |
| "decode_tokens_after_first": 95, | |
| "natural_stop": false, | |
| "prefill_to_first_token_seconds": 0.31450874998699874, | |
| "prompt_tokens": 50 | |
| }, | |
| { | |
| "case": "reasoning", | |
| "decode_seconds": 17.152469415974338, | |
| "decode_token_limit": 96, | |
| "decode_tokens_after_first": 95, | |
| "natural_stop": false, | |
| "prefill_to_first_token_seconds": 0.31066112499684095, | |
| "prompt_tokens": 48 | |
| } | |
| ], | |
| "native_speed": [ | |
| { | |
| "case": "code", | |
| "decode_seconds": 16.85385737498291, | |
| "decode_token_limit": 96, | |
| "decode_tokens_after_first": 95, | |
| "natural_stop": false, | |
| "prefill_to_first_token_seconds": 0.2373415830079466, | |
| "prompt_tokens": 50 | |
| }, | |
| { | |
| "case": "reasoning", | |
| "decode_seconds": 16.88497162499698, | |
| "decode_token_limit": 96, | |
| "decode_tokens_after_first": 95, | |
| "natural_stop": false, | |
| "prefill_to_first_token_seconds": 0.23761033301707357, | |
| "prompt_tokens": 48 | |
| } | |
| ] | |
| }, | |
| "live": { | |
| "candidate_failed": [ | |
| "swift", | |
| "go" | |
| ], | |
| "passed": [ | |
| "arithmetic", | |
| "python", | |
| "rust", | |
| "typescript", | |
| "shell", | |
| "high_reasoning" | |
| ], | |
| "peak_metal_bytes": 95942249708, | |
| "peak_rss_bytes": 79652061184, | |
| "prefill_tokens": 4096, | |
| "requested_metal_limit_mib": 112640, | |
| "source_failed": [ | |
| "swift", | |
| "go" | |
| ], | |
| "tool_round_passed": true | |
| }, | |
| "modalities": [ | |
| "text" | |
| ], | |
| "native_trace_replay_used_in_selection": { | |
| "greedy_agreement": 0.9404761970989288, | |
| "mean_delta_nll": 0.01743694394826889, | |
| "mean_kl": 0.02890744395110579, | |
| "positions": 252 | |
| }, | |
| "reference": "Baidu Preview native MXFP4 experts with E4M3 expert activation rounding in MLX", | |
| "source_revision": "ace1100dcde7bf4eb06add6ae11ce4f43a11ddfe", | |
| "speculative_draft": "absent", | |
| "target_bytes": 84972028350, | |
| "target_config_sha256": "3a1cd76ba5ec3cdef4cfcb5b68995879c52d036a4ec11ab1b8174a122e701ccb", | |
| "target_index_sha256": "c3829088d2ac84dc13f29fbe8ea3782cfba364c24bc3f579e2e2d8e66cf20cbc", | |
| "topic_evaluation": { | |
| "cases": [ | |
| { | |
| "effort": "high", | |
| "id": "rationals", | |
| "mean_delta_nll": -0.01856860127111878, | |
| "mean_kl": 0.06939258288706458, | |
| "median_kl": 0.02771279588341713, | |
| "p95_kl": 0.2906938195228576, | |
| "p99_kl": 0.4852597975730893, | |
| "positions": 99, | |
| "top1_matches": 86, | |
| "top1_percent": 86.86868686868686, | |
| "topic": "reasoning" | |
| }, | |
| { | |
| "effort": "high", | |
| "id": "grid-colors", | |
| "mean_delta_nll": -0.0009165289772658789, | |
| "mean_kl": 0.09036900043576084, | |
| "median_kl": 0.043684132397174835, | |
| "p95_kl": 0.31358108818531033, | |
| "p99_kl": 0.6511888396739952, | |
| "positions": 119, | |
| "top1_matches": 105, | |
| "top1_percent": 88.23529411764706, | |
| "topic": "reasoning" | |
| }, | |
| { | |
| "effort": "high", | |
| "id": "weighted-average", | |
| "mean_delta_nll": -0.029381273274726057, | |
| "mean_kl": 0.061110081864399035, | |
| "median_kl": 0.020232750102877617, | |
| "p95_kl": 0.25359820276498785, | |
| "p99_kl": 0.4052236017584795, | |
| "positions": 94, | |
| "top1_matches": 90, | |
| "top1_percent": 95.74468085106383, | |
| "topic": "reasoning" | |
| }, | |
| { | |
| "effort": "off", | |
| "id": "python-window", | |
| "mean_delta_nll": -0.6318482563365251, | |
| "mean_kl": 0.16736009226077864, | |
| "median_kl": 0.0008867925207596272, | |
| "p95_kl": 0.4865564629435536, | |
| "p99_kl": 2.8019636857509536, | |
| "positions": 64, | |
| "top1_matches": 58, | |
| "top1_percent": 90.625, | |
| "topic": "coding" | |
| }, | |
| { | |
| "effort": "off", | |
| "id": "rust-parse", | |
| "mean_delta_nll": -0.47356142992934874, | |
| "mean_kl": 0.19169855503421743, | |
| "median_kl": 0.002562544774264097, | |
| "p95_kl": 0.9588139414787282, | |
| "p99_kl": 2.4822338533401496, | |
| "positions": 62, | |
| "top1_matches": 56, | |
| "top1_percent": 90.3225806451613, | |
| "topic": "coding" | |
| }, | |
| { | |
| "effort": "off", | |
| "id": "swift-cancel", | |
| "mean_delta_nll": -0.7871206442897136, | |
| "mean_kl": 0.3707945383516225, | |
| "median_kl": 0.07813291624188423, | |
| "p95_kl": 1.8630748391151404, | |
| "p99_kl": 3.541489646434788, | |
| "positions": 52, | |
| "top1_matches": 43, | |
| "top1_percent": 82.6923076923077, | |
| "topic": "coding" | |
| }, | |
| { | |
| "effort": "off", | |
| "id": "go-read", | |
| "mean_delta_nll": -0.44753699260098595, | |
| "mean_kl": 0.0719634226837865, | |
| "median_kl": 0.001507375854998827, | |
| "p95_kl": 0.45806080996990195, | |
| "p99_kl": 0.7489875477552418, | |
| "positions": 70, | |
| "top1_matches": 69, | |
| "top1_percent": 98.57142857142857, | |
| "topic": "coding" | |
| }, | |
| { | |
| "effort": "off", | |
| "id": "typescript-guard", | |
| "mean_delta_nll": -0.2290008314724626, | |
| "mean_kl": 0.06093280706011902, | |
| "median_kl": 0.0006149526452645659, | |
| "p95_kl": 0.21109260916709913, | |
| "p99_kl": 1.115618727207184, | |
| "positions": 87, | |
| "top1_matches": 83, | |
| "top1_percent": 95.40229885057471, | |
| "topic": "coding" | |
| }, | |
| { | |
| "effort": "off", | |
| "id": "cpp-move", | |
| "mean_delta_nll": -1.118385881682237, | |
| "mean_kl": 0.2376277190018262, | |
| "median_kl": 0.12219100445508957, | |
| "p95_kl": 1.085005062818527, | |
| "p99_kl": 1.367176097631453, | |
| "positions": 60, | |
| "top1_matches": 46, | |
| "top1_percent": 76.66666666666667, | |
| "topic": "coding" | |
| }, | |
| { | |
| "effort": "off", | |
| "id": "sql-ranking", | |
| "mean_delta_nll": -0.2611088896511306, | |
| "mean_kl": 0.08360859751797538, | |
| "median_kl": 0.000592334137763828, | |
| "p95_kl": 0.5343049764633179, | |
| "p99_kl": 0.6935657262802121, | |
| "positions": 71, | |
| "top1_matches": 65, | |
| "top1_percent": 91.54929577464789, | |
| "topic": "coding" | |
| }, | |
| { | |
| "effort": "off", | |
| "id": "regex-lifetime", | |
| "mean_delta_nll": -0.4741659927368164, | |
| "mean_kl": 0.2588490785279464, | |
| "median_kl": 0.10753138363361359, | |
| "p95_kl": 0.8404775351285932, | |
| "p99_kl": 2.0242210316657996, | |
| "positions": 50, | |
| "top1_matches": 39, | |
| "top1_percent": 78.0, | |
| "topic": "coding" | |
| }, | |
| { | |
| "effort": "off", | |
| "id": "pipeline-status", | |
| "mean_delta_nll": -0.5149239040257638, | |
| "mean_kl": 0.13845928207970068, | |
| "median_kl": 0.09585514664649963, | |
| "p95_kl": 0.39269205331802354, | |
| "p99_kl": 0.5678476572036741, | |
| "positions": 57, | |
| "top1_matches": 44, | |
| "top1_percent": 77.19298245614036, | |
| "topic": "terminal" | |
| }, | |
| { | |
| "effort": "off", | |
| "id": "working-tree", | |
| "mean_delta_nll": -0.4663445559831766, | |
| "mean_kl": 0.3054278901299068, | |
| "median_kl": 0.1866082400083542, | |
| "p95_kl": 0.9065676420927045, | |
| "p99_kl": 1.3570508170127875, | |
| "positions": 52, | |
| "top1_matches": 33, | |
| "top1_percent": 63.46153846153846, | |
| "topic": "terminal" | |
| }, | |
| { | |
| "effort": "off", | |
| "id": "secret-redaction", | |
| "mean_delta_nll": -0.7188222775501865, | |
| "mean_kl": 0.27257150322527324, | |
| "median_kl": 0.11350216343998909, | |
| "p95_kl": 0.7494217604398727, | |
| "p99_kl": 2.813939875364309, | |
| "positions": 56, | |
| "top1_matches": 50, | |
| "top1_percent": 89.28571428571429, | |
| "topic": "defensive_security" | |
| }, | |
| { | |
| "effort": "off", | |
| "id": "dependency-review", | |
| "mean_delta_nll": -0.20256302139975807, | |
| "mean_kl": 0.1868421428074891, | |
| "median_kl": 0.11871076375246048, | |
| "p95_kl": 0.4579736769199371, | |
| "p99_kl": 0.78227279663086, | |
| "positions": 55, | |
| "top1_matches": 46, | |
| "top1_percent": 83.63636363636364, | |
| "topic": "defensive_security" | |
| }, | |
| { | |
| "effort": "off", | |
| "id": "es-checksum", | |
| "mean_delta_nll": -0.6618127763271332, | |
| "mean_kl": 0.15579471014890015, | |
| "median_kl": 0.034186892211437225, | |
| "p95_kl": 0.6298592507839198, | |
| "p99_kl": 1.5289460563659665, | |
| "positions": 60, | |
| "top1_matches": 55, | |
| "top1_percent": 91.66666666666667, | |
| "topic": "multilingual" | |
| }, | |
| { | |
| "effort": "off", | |
| "id": "ja-retry", | |
| "mean_delta_nll": -1.0221191024780274, | |
| "mean_kl": 0.4439125780644309, | |
| "median_kl": 0.07019354403018951, | |
| "p95_kl": 1.926596176624298, | |
| "p99_kl": 3.7769864654541085, | |
| "positions": 75, | |
| "top1_matches": 54, | |
| "top1_percent": 72.0, | |
| "topic": "multilingual" | |
| }, | |
| { | |
| "effort": "off", | |
| "id": "fr-tests", | |
| "mean_delta_nll": -0.21277482024693894, | |
| "mean_kl": 0.24989947151228525, | |
| "median_kl": 0.03596435859799385, | |
| "p95_kl": 1.3015116572380059, | |
| "p99_kl": 2.4005447149276744, | |
| "positions": 59, | |
| "top1_matches": 44, | |
| "top1_percent": 74.57627118644068, | |
| "topic": "multilingual" | |
| }, | |
| { | |
| "effort": "off", | |
| "id": "json-status", | |
| "mean_delta_nll": -0.5249352872371673, | |
| "mean_kl": 0.018754128516473977, | |
| "median_kl": 1.2214121852593962e-05, | |
| "p95_kl": 0.135302996635437, | |
| "p99_kl": 0.14774844169616697, | |
| "positions": 15, | |
| "top1_matches": 15, | |
| "top1_percent": 100.0, | |
| "topic": "structured_instructions" | |
| }, | |
| { | |
| "effort": "off", | |
| "id": "plain-memo", | |
| "mean_delta_nll": -0.45716309760298046, | |
| "mean_kl": 0.3796273831637791, | |
| "median_kl": 0.11164283752441406, | |
| "p95_kl": 0.9958930760622025, | |
| "p99_kl": 4.548226583004018, | |
| "positions": 56, | |
| "top1_matches": 44, | |
| "top1_percent": 78.57142857142857, | |
| "topic": "structured_instructions" | |
| }, | |
| { | |
| "effort": "off", | |
| "id": "read-tool", | |
| "mean_delta_nll": 0.021202406883239745, | |
| "mean_kl": 0.020196075966932764, | |
| "median_kl": 2.6707530196290463e-06, | |
| "p95_kl": 0.00019948764056607553, | |
| "p99_kl": 0.3835134718136386, | |
| "positions": 25, | |
| "top1_matches": 25, | |
| "top1_percent": 100.0, | |
| "topic": "tool_protocol" | |
| }, | |
| { | |
| "effort": "off", | |
| "id": "tool-result", | |
| "mean_delta_nll": -0.19664624906503236, | |
| "mean_kl": 0.10000009623315866, | |
| "median_kl": 0.05994022451341152, | |
| "p95_kl": 0.3864378482103348, | |
| "p99_kl": 0.5115815550088882, | |
| "positions": 26, | |
| "top1_matches": 23, | |
| "top1_percent": 88.46153846153847, | |
| "topic": "tool_protocol" | |
| } | |
| ], | |
| "high_effort_phases": { | |
| "high-effort visible answer and stop": { | |
| "mean_delta_nll": -0.06921984418099668, | |
| "mean_kl": 0.06766242810499916, | |
| "median_kl": 0.021896105259656906, | |
| "p95_kl": 0.30246270596981045, | |
| "p99_kl": 0.4565960788726797, | |
| "positions": 119, | |
| "top1_matches": 107, | |
| "top1_percent": 89.91596638655462 | |
| }, | |
| "reasoning including close marker": { | |
| "mean_delta_nll": 0.018279602567766614, | |
| "mean_kl": 0.07935904408514788, | |
| "median_kl": 0.033253416419029236, | |
| "p95_kl": 0.2833471179008483, | |
| "p99_kl": 0.5556457591056821, | |
| "positions": 193, | |
| "top1_matches": 174, | |
| "top1_percent": 90.15544041450777 | |
| } | |
| }, | |
| "manifest_sha256": "60c7ad7e1f16842a3e92e23147982d894bfdacfe7d4b073173c7443d562c7fa1", | |
| "method": "FP32 full-vocabulary KL(native || quant), evaluated on authored teacher-forced continuations including native stop", | |
| "modes": { | |
| "high": { | |
| "mean_delta_nll": -0.01509358385243477, | |
| "mean_kl": 0.07489783478502705, | |
| "median_kl": 0.029530545696616173, | |
| "p95_kl": 0.28711636364459986, | |
| "p99_kl": 0.5468282383680334, | |
| "positions": 312, | |
| "top1_matches": 281, | |
| "top1_percent": 90.06410256410257 | |
| }, | |
| "off": { | |
| "mean_delta_nll": -0.5164497414313455, | |
| "mean_kl": 0.20598658704652556, | |
| "median_kl": 0.04219023697078228, | |
| "p95_kl": 0.8035961776971816, | |
| "p99_kl": 2.3707773971557655, | |
| "positions": 1052, | |
| "top1_matches": 892, | |
| "top1_percent": 84.79087452471482 | |
| } | |
| }, | |
| "overall": { | |
| "mean_delta_nll": -0.40177003383265036, | |
| "mean_kl": 0.17600147655855816, | |
| "median_kl": 0.036801902577281, | |
| "p95_kl": 0.7018887102603909, | |
| "p99_kl": 2.022985898256284, | |
| "positions": 1364, | |
| "top1_matches": 1173, | |
| "top1_percent": 85.99706744868035 | |
| }, | |
| "topics": { | |
| "coding": { | |
| "mean_delta_nll": -0.5258337521073662, | |
| "mean_kl": 0.16541200310750823, | |
| "median_kl": 0.011777203530073166, | |
| "p95_kl": 0.7267685383558273, | |
| "p99_kl": 2.165539717674256, | |
| "positions": 516, | |
| "top1_matches": 459, | |
| "top1_percent": 88.95348837209302 | |
| }, | |
| "defensive_security": { | |
| "mean_delta_nll": -0.463018141619794, | |
| "mean_kl": 0.23009299130655136, | |
| "median_kl": 0.11716405302286148, | |
| "p95_kl": 0.5223855674266815, | |
| "p99_kl": 1.8803255438804674, | |
| "positions": 111, | |
| "top1_matches": 96, | |
| "top1_percent": 86.48648648648648 | |
| }, | |
| "multilingual": { | |
| "mean_delta_nll": -0.6645433693816981, | |
| "mean_kl": 0.2957999731082019, | |
| "median_kl": 0.04389808140695095, | |
| "p95_kl": 1.447708803415298, | |
| "p99_kl": 2.90800952672958, | |
| "positions": 194, | |
| "top1_matches": 153, | |
| "top1_percent": 78.8659793814433 | |
| }, | |
| "reasoning": { | |
| "mean_delta_nll": -0.01509358385243477, | |
| "mean_kl": 0.07489783478502705, | |
| "median_kl": 0.029530545696616173, | |
| "p95_kl": 0.28711636364459986, | |
| "p99_kl": 0.5468282383680334, | |
| "positions": 312, | |
| "top1_matches": 281, | |
| "top1_percent": 90.06410256410257 | |
| }, | |
| "structured_instructions": { | |
| "mean_delta_nll": -0.47148116583555516, | |
| "mean_kl": 0.30338655471716536, | |
| "median_kl": 0.0755661129951477, | |
| "p95_kl": 0.8633570969104767, | |
| "p99_kl": 3.4544378042220862, | |
| "positions": 71, | |
| "top1_matches": 59, | |
| "top1_percent": 83.09859154929578 | |
| }, | |
| "terminal": { | |
| "mean_delta_nll": -0.49174843523480477, | |
| "mean_kl": 0.2181140308742944, | |
| "median_kl": 0.14376702904701233, | |
| "p95_kl": 0.7496773958206174, | |
| "p99_kl": 1.1648839521408085, | |
| "positions": 109, | |
| "top1_matches": 77, | |
| "top1_percent": 70.64220183486239 | |
| }, | |
| "tool_protocol": { | |
| "mean_delta_nll": -0.08985769222764407, | |
| "mean_kl": 0.060880478455596944, | |
| "median_kl": 0.0007240145932883024, | |
| "p95_kl": 0.35991963744163513, | |
| "p99_kl": 0.524501383304596, | |
| "positions": 51, | |
| "top1_matches": 48, | |
| "top1_percent": 94.11764705882354 | |
| } | |
| } | |
| }, | |
| "variant_selection": { | |
| "evaluated": 20, | |
| "passed_source_smokes": 8 | |
| } | |
| } | |