Run this model with HF Jobs

Run EigenLabs/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/EigenLabs/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/EigenLabs/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/EigenLabs/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.
Inkling-2-Mini / README.md
Spangler3000's picture
Inkling 2 Mini (thinkingmachines/Inkling-2-Mini @ 1fb4134b; tested as 6e7c8248), native NVFP4/MXFP8 weights unchanged
33cd028 verified
|
Raw History Blame Contribute Delete
5.03 kB
---
license: apache-2.0
license_link: https://www.apache.org/licenses/LICENSE-2.0
library_name: transformers
pipeline_tag: image-text-to-text
base_model:
- thinkingmachines/Inkling-2-Mini
tags:
- inkling2_loop
- moe
- looped-transformer
- nvfp4
- mxfp8
- mtp
- image-text-to-text
- darkbloom
---
# Inkling 2 Mini
Thinking Machines Lab's Inkling 2 Mini checkpoint, mirrored unchanged for
DarkBloom serving. The weights stay in their native mixed NVFP4 / MXFP8 / BF16
format: nothing was converted, requantized or merged. This repository adds this
card, a provenance record, the license text and a checksum list; every other
file is the upstream file at the source revision below.
| Property | Value |
|---|---|
| Upstream source | [thinkingmachines/Inkling-2-Mini](https://huggingface.co/thinkingmachines/Inkling-2-Mini/tree/1fb4134b9a74f9681054f4ef82e4bf1f458a2337) at `1fb4134b9a74f9681054f4ef82e4bf1f458a2337` |
| Tested revision | `6e7c8248f75265bdd4fbab5273304243b5d8c2cb`, fetched 2026-11-20 and used for all DarkBloom testing; identical to the source revision in every file except the upstream card (`artifact-provenance.json` has the per-file proof) |
| Architecture | `inkling2_loop` (`Inkling2LoopForConditionalGeneration`): 24 stored decoder layers, layers 6–17 run three passes (48 layer applications per token), 128 experts top-8 |
| Parameters | 26.4B total, 3.4B active (upstream card) |
| Inputs / output | Text and still images / text. Video is not an input of this model |
| Native context | 1,048,576 tokens (`text_config.model_max_length`); usable context depends on hardware and serving policy |
| Experts, layers 0–19 | NVFP4: E2M1 values, F8_E4M3 scales per 16, per-expert F32 `amax` |
| Experts, layers 20–23 | MXFP8: F8_E4M3 values, E8M0 scales per 32 |
| Everything else | BF16 (attention, router, embeddings, readout, vision tower); router bias and attention-residual queries F32 |
| Target weights | `model-00001-of-00001.safetensors`, 19,526,019,168 bytes, 1,244 tensors (822 language, 422 vision) |
| Drafter | `mtp.safetensors`, 635,801,416 bytes, 54 BF16 tensors (DSpark block drafter, 3 layers, block size 8) |
## Files
| File | Role |
|---|---|
| `model-00001-of-00001.safetensors`, `model.safetensors.index.json` | Target model and its tensor index |
| `mtp.safetensors` | DSpark drafter declared by `config.json` `mtp_config`; it sits beside the target and is not in the target's index |
| `config.json`, `generation_config.json` | Model and generation configuration |
| `chat_template.jinja` | Chat template (the tokenizer config has none) |
| `tokenizer.json`, `tokenizer_config.json`, `special_tokens_map.json`, `tiktoken/tokenizer.model` | Tokenizer |
| `processor_config.json` | Image processor |
| `hf_quant_config.json` | Upstream quantization notes; the DarkBloom runtime does not read it |
| `UPSTREAM-README.md` | The upstream model card at the source revision |
| `LICENSE` | Apache License 2.0 text |
| `artifact-provenance.json`, `SHA256SUMS` | Source identity and the SHA-256 of every file in this repository |
## Drafter
The DSpark drafter in `mtp.safetensors` is a separate file in the same
repository, bound to this exact target. It proposes blocks of tokens and the
target verifies every one, so a correct runtime gives the same greedy output
with the drafter on or off. Its presence in the repository does not by itself
mean a runtime uses it.
## Runtime
DarkBloom's native support for this checkpoint (MLX Swift on Apple silicon:
paged KV storage only, the DSpark drafter, prefix caching and image input) is
developed in the Layr-Labs `mlx-swift-lm` and `d-inference` repositories. The
checkpoint keeps the upstream Transformers layout, so other runtimes that
support `inkling2_loop` read it as they read the upstream repository.
Download size is about 20.2 GB. Memory needed to serve it is larger: the
resident weights, plus the KV cache for 8 full-attention slots and 40 sliding
slots (window 1,024) per sequence, plus a small convolution state per sequence.
Download with a pinned full commit SHA (`--revision`), not a branch name.
## Validation scope
Artifact integrity is separate from runtime qualification. The file hashes in
`SHA256SUMS` and `artifact-provenance.json` match the upstream Git and LFS
identities at both the source and the tested revision. Upstream later added a
top-level `"dtype": "bfloat16"` to `config.json` (`ed40e7da`); this repository
keeps the tested `config.json`; DarkBloom's runtime does not read a top-level `dtype`. Model quality, hardware coverage, throughput
and catalog availability are not claimed by this card; see the upstream card
for Thinking Machines Lab's own evaluations and their methodology.
## License and attribution
Inkling 2 Mini is released by Thinking Machines Lab, Inc. under the Apache
License 2.0 (`LICENSE`). Use is also subject to Thinking Machines Lab's
[Model Acceptable Use Policy](https://thinkingmachines.ai/model-acceptable-use-policy/).
The upstream card is kept as `UPSTREAM-README.md`.