Inkling-2-Mini-DFlash2 for Strata: Q8 attention + SF4 feed-forward mix (strata-dflash2-q1), 551,600,700 bytes
04ecd36 verified Download NOTICE from strata-engine/Inkling-2-Mini-DFlash2: direct link, hf CLI and curl.
- Browser
- Download file 3.31 kB
-
https://huggingface.co/strata-engine/Inkling-2-Mini-DFlash2/resolve/main/NOTICE
- Command line
-
hf download hf://strata-engine/Inkling-2-Mini-DFlash2/NOTICE
-
curl -L -o NOTICE https://huggingface.co/strata-engine/Inkling-2-Mini-DFlash2/resolve/main/NOTICE
3.31 kB
| Inkling-2-Mini-DFlash2 (mix), a modified copy for the Strata engine | |
| ==================================================================== | |
| This repository file, Inkling-2-Mini-DFlash2-mix.safetensors, is derived from the model | |
| "Inkling-2-Mini-DFlash2" (https://huggingface.co/incoai/Inkling-2-Mini-DFlash2) by Inco AI / z-lab, | |
| a DFlash 2 block-diffusion draft model for thinkingmachines/Inkling-2-Mini | |
| (https://inco.ai/blog/dflash2/, https://github.com/z-lab/dflash), which is licensed under the | |
| Apache License, Version 2.0. The licence text is in the file LICENSE next to this one. | |
| Original work | |
| Repository: incoai/Inkling-2-Mini-DFlash2 | |
| Revision: 4f9088ea66c21f2b99ed657d1941c306b03e84d2 | |
| File: model.safetensors, 989,975,616 bytes, | |
| SHA-256 217980ab00d116693fa5946df7bbfd967caf5fac1f529afd541fbd470ddb54ee | |
| Copyright and credit for the weights belong to their authors, Inco AI and z-lab. This file | |
| keeps that attribution. Strata did not train these weights. | |
| Changes made (Apache License 2.0, section 4(b): the modified file carries this statement) | |
| Date: 2026-11-26 | |
| By: Strata (https://github.com/Niko1221/Strata), with the Strata 0.2.23 engine | |
| (strata-inkling, the 0.1.69 engine line), run with STRATA_INK_DFLASH2_DUMP. The script | |
| make_mix_from_original.py in this repository repeats the same arithmetic with numpy and | |
| produces a byte-identical file from the original. | |
| What: 1. The file format. The tensors are stored in the format "strata-dflash2-q1", a safetensors | |
| file that the Strata engine reads directly (the header's __metadata__ says | |
| {"format": "strata-dflash2-q1", "variant": "mix"}). Other programs cannot load it. | |
| 2. Quantization of the large matrices of the 5 transformer layers, the part of the weights | |
| that is a standard matrix multiplication: | |
| attention (q_proj, o_proj): 8-bit integers with one float32 scale per row; | |
| feed-forward (gate_proj, up_proj, down_proj): 4-bit SF4 (E2M1 values, a UE4M3 scale | |
| per 16 values, one float32 scale per matrix). | |
| 3. The norm weights and convolution base kernels are stored as float32 (they were | |
| bfloat16; the values are the same). All other tensors (fc, the K/V and convolution | |
| projections, the candidate selector and its two codebooks) are unchanged bfloat16 | |
| values. The unused rows of the two codebooks beyond the | |
| 200,058 vocabulary entries are left out. | |
| Everything else (architecture, the values of the unchanged tensors) is as in the original. | |
| Result: 551,600,700 bytes, SHA-256 cf7dbb08560dfd99544af0cdbab2915406fc571f516b19aff0fe113b9458d387. | |
| The quantization loses a little precision against the original. Measured with the Strata engine | |
| on an RTX 5090 and an RTX 5060 Ti, the drafter's acceptance stays within about 2 percent of the | |
| original's (see the README). A draft only proposes tokens: the main model checks every one of them, | |
| and its own answer is what is returned. | |
| This modified file is provided under the same licence as the original (Apache License 2.0), "AS IS", | |
| without warranties or conditions of any kind. No endorsement by Inco AI or z-lab is implied. | |