Run this model with HF Jobs

Run microsoft/Aion-1.0-Instruct-2.3B 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 and TRL to fine-tune https://huggingface.co/microsoft/Aion-1.0-Instruct-2.3B. 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/microsoft/Aion-1.0-Instruct-2.3B 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/microsoft/Aion-1.0-Instruct-2.3B. 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.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/microsoft/Aion-1.0-Instruct-2.3B. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

CMF files for cortiq (Rust, no Python): 8-bit, 4-bit and a fixed-memory Turbo; CUDA, Vulkan, Metal, CPU

#2
by infosave - opened

Hi, and thank you for releasing Aion-1.0-Instruct under MIT.

Support for the model is out in cortiq 0.9.9, a Rust inference engine with no Python and no ML framework. The weights are packaged as single CMF files:

  • infosave/Aion-1.0-Instruct-2.3B-cmf: an 8-bit file (2.31 GB) and a 4-bit GPTQ file (1.41 GB). WikiText-2 perplexity is 14.25 and 14.61 against 14.24 for Transformers bf16 on the same windows, and the greedy answers of the 8-bit file match Transformers word for word.
  • infosave/Aion-1.0-Instruct-2.3B-Turbo-cmf: the 4-bit weights with a fixed-size far field for the 7 full-attention layers, so over Vulkan the card holds 3.5 GB and 80 tok/s from an 8 192-token prompt to a 30 000-token one (the standard 4-bit file: 4.6 GB and 53 tok/s at 30 000).

Measured on an NVIDIA L4 (24 GB) with the 4-bit file: 129 tok/s through CUDA and 110 tok/s over Vulkan, a 2048-token prompt read in 0.33 s. A MacBook Air M4 writes 60 tok/s through Metal. The model's own chat template and its <|tool_call|> tool calls work through the OpenAI-compatible server (cortiq serve).

cargo install cortiq-cli
hf download infosave/Aion-1.0-Instruct-2.3B-cmf Aion-1.0-Instruct-2.3B-q8_2f.cmf --local-dir .
cortiq run Aion-1.0-Instruct-2.3B-q8_2f.cmf --prompt "Summarize in three bullet points: ..."

If anything in the conversion looks off against the reference, I would be glad to hear it.

Microsoft org

Thank you for your contribution!
Would you mind running the evals on your devices so we have a clear comparison?

Thanks for asking! Here is your card's table on our stand, with the same prompts and settings in every column:

benchmark setting your card bf16 (Transformers) q8_2f q4tp
MMLU 0-shot 55.15 54.87 55.14 54.55
MMLU-Pro 5-shot (Open LLM Leaderboard task) 33.35 32.27 32.46 31.24
GSM8K 5-shot as chat turns, answers up to 1024 tokens, flexible match 74.91 71.95 71.57 68.99
IFEval 0-shot, chat; mean of prompt- and instruction-level strict 83.90 81.73 81.36 79.50
  • lm-evaluation-harness 0.4.13 on an NVIDIA L4 (q4tp MMLU-Pro on an RTX 3060, where q8_2f gives the same 32.46). The bf16 column is Transformers 5.22.1; the CMF files run in cortiq 0.9.26 on CUDA, loglikelihood through cortiq loglik and generation through cortiq serve, greedy. Chat turns use the model's own template with a fixed date.
  • Your exact harness settings are not on the card, so the bf16 column is the point of comparison. On GSM8K the harness's default 256-token answer limit cut 86 of 1 319 bf16 answers, so every column uses 1024.
  • The Turbo file is the q4tp weights and reads prompts under 8 192 tokens exactly, so its scores are q4tp's.
  • Not in this pass: MMMLU, GSMPlus and MATH-500 (long runs), GPQA (gated dataset), IFBench and Multi-IF (outside lm-eval), chrF++ (the card does not name the dataset).
  • One thing we ran into: with Transformers 5.25.1 the model's remote code turns cached generation into garbled text ("Let's in truth is a a a a…"); 5.22.1 is fine.

Scripts and settings: https://github.com/infosave2007/cmf/pull/220

Sign up or log in to comment