Run this model with HF Jobs

Run thinkingmachines/Inkling-2-Mini 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/thinkingmachines/Inkling-2-Mini. 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/thinkingmachines/Inkling-2-Mini 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/thinkingmachines/Inkling-2-Mini. 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/thinkingmachines/Inkling-2-Mini. 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.

Apache 2.0 Character-Manipulation LoRA + Note on Preserving `low` (0.2) Thinking Effort During SFT

#63
by Nori103 - opened

Sharing a lightweight 38 MB attention-only LoRA adapter (Apache 2.0) and a finding that may be useful to anyone fine-tuning Inkling-2-Mini:

Note on SFT & Thinking effort level

Because chat_template.jinja maps reasoning levels to continuous numeric values (none=0.0, minimal=0.1, low=0.2, medium=0.7, high=0.9, max=0.99), we observed that:

  • Training only at effort=0.0 improved held-out character manipulation (129 → 251 / 270) but collapsed thinking to 0 chars across low, medium, and high (0/9).
  • Training at 0.0 + 0.9 recovered medium/high partially, but low (0.2) remained 0 chars (pulled into the 0.0 basin).
  • Mixing 927 authentic base-model thinking traces across 0.1 / 0.2 / 0.7 / 0.9 alongside character-manipulation and 0.0 direct examples (3,204 total, rank 16 on the 144 BF16 attention matrices only) restored monotonic thinking across all levels (339 / 508 / 1,120 avg chars at low / medium / high, 9/9) while achieving 248 / 270 overall and 94 / 100 on untrained character task types (vs base 48 / 100).

Quick Summary of Checks (vs Base)

  • Held-out char tasks (270 Qs): 129 → 248 / 270 (48 → 94 / 100 untrained formats)
  • Hard combinatorics (high, temp=0): 7,319 thinking chars, correct answer from opening line
  • Hard reasoning 10 Qs (low / high): 10/10 / 9/10 (base 10/10 / 10/10)
  • Coding / Agent / Long-doc (29K) / 8-client parallel: all PASS (base failed coding)
  • Japanese table-lookup Grid (12 Qs): 11/12 (matching base; fixed regressions seen in earlier runs)
  • Trade-off: slight NLL increase (en +0.030, ja +0.045).

Since only the 144 BF16 attention tensors are modified and all NVFP4/MXFP8 MoE experts remain untouched, merging takes ~15 seconds on CPU via the included script. Feedback or comparisons on other benchmarks are very welcome!

thanks

Sign up or log in to comment