Sakura

Sakura ยท Inkling 2 Mini Uncensored (GGUF)

Independent community quantization of a modified version of thinkingmachines/Inkling-2-Mini, with reduced refusal behaviour. Not an official release of Thinking Machines.

Needs llama.cpp b12600 or newer (the release these files were made and tested with; it contains the looped Inkling 2 Mini architecture). Older builds, and Ollama or LM Studio versions that bundle an older llama.cpp, will not load these files.

What is this

Inkling 2 Mini is a multimodal looped mixture-of-experts model: 26.4 B parameters, 3.4 B active per token, 128 experts with 8 active, image input, up to 1 M tokens of context. This repository holds smaller versions of a modified variant that refuses far less often than the original. The vision projector (mmproj) is included for image input.

Which file

File Quant Size Mean KLD vs Q8_0 Same top token Refusals (of 40 prompts)
Sakura-Inkling-2-Mini-Uncensored-Q4_K_M.gguf Q4_K_M 17.48 GB 0.0251 92.60 % 5 / 40
Sakura-Inkling-2-Mini-Uncensored-Q5_K_M.gguf Q5_K_M 19.91 GB 0.0139 94.49 % 3 / 40
Sakura-Inkling-2-Mini-Uncensored-Q6_K.gguf Q6_K 23.49 GB 0.0084 94.49 % 6 / 40

Rule of thumb: Q4_K_M if memory is tight, Q5_K_M as the balanced choice, Q6_K for the closest result.

Refusal check: 40 prompts from the public test set mlabonne/harmful_behaviors, greedy decoding, thinking off, 48 tokens per answer; counted are answers that contain a refusal phrase. The unmodified model (ggml-org's IQ4_NL file) refused 16 / 40 of the same prompts. That is a small sample and a phrase count, not a safety evaluation: single answers can still refuse, and a missing refusal says nothing about answer quality.

KLD: each file compared with a Q8_0 made from the same modified weights on a short held-out text (5 chunks of 256 tokens: English, code, German, Chinese). It measures only the quantization step, not the difference to the original model.

Use it

llama.cpp (release b12600 or newer):

llama-server -hf webmp3/Sakura-Inkling-2-Mini-Uncensored-GGUF:Q4_K_M -c 8192 --port 8080
# or with local files, including image input:
llama-server -m Sakura-Inkling-2-Mini-Uncensored-Q4_K_M.gguf --mmproj mmproj-Inkling-2-Mini-BF16.gguf -c 8192 --port 8080

Then open http://127.0.0.1:8080 or use the OpenAI-compatible endpoint http://127.0.0.1:8080/v1. To switch off the reasoning phase, send chat_template_kwargs with reasoning_effort set to none.

Ollama (not tested by the author; needs an Ollama version that includes the inkling2_loop architecture):

ollama run hf.co/webmp3/Sakura-Inkling-2-Mini-Uncensored-GGUF:Q4_K_M

or with a Modelfile next to the downloaded file:

FROM ./Sakura-Inkling-2-Mini-Uncensored-Q4_K_M.gguf
PARAMETER num_ctx 8192
ollama create inkling2-mini-uncensored -f Modelfile && ollama run inkling2-mini-uncensored

LM Studio (not tested by the author; needs a LM Studio version whose llama.cpp runtime includes the inkling2_loop architecture): open the Discover tab, search for webmp3/Sakura-Inkling-2-Mini-Uncensored-GGUF, download the file you want, load it with GPU offload as high as your memory allows and a context length of 8192. For image input, keep the mmproj file in the same folder as the model file.

What was and was not measured

  • Measured: refusal phrases on 40 prompts (table above), mean KLD and top-token agreement against the Q8_0 of the same weights, and that every file answers coherently.
  • Not measured: benchmarks, answer quality compared with the original, long-context behaviour, image input with these files, speed, GPU backends.
  • The 4-bit experts of layers 0 to 19 come from NVFP4 in the original checkpoint, a different 4-bit format than the K-quants here, so the 4-bit files carry a second rounding step.

Responsible use

A model with reduced refusals will answer requests the original would decline. You are responsible for what you do with it. The original's model acceptable use policy still describes the terms of the underlying model.

Sources and license

Verification details
  • Source file revision c66e5f93eb977ba9065dd905df9f9abfa2196918, SHA-256 35344297a6fa6a749dd0165b04fd5bf86b98ee4d116feaada972d8fc4816b6cf; matrix SHA-256 553662ef0d5e3d047e5753bf8275c26bbdd4306c60ddf6dc9f46c7f49f19452a; refusal prompts at revision 01cead01398926d81f7c52bdb790ee8cf77ebba7.
  • The matrix has entries for 224 of the 226 16-bit weight tensors of the source file; the other 2 (token embedding and output) were quantized without matrix statistics.
  • Made with llama-quantize --imatrix imatrix.gguf from the llama.cpp release b12600 (revision 29b52d398b294509746ec0a3f28948a3107c0213, CPU build). Every file was checked: its tensor types equal the plan of the same tool's --dry-run, its KLD and refusal numbers were measured with the same build, and each upload was read back from the Hub by SHA-256.
Projector file (unchanged from ggml-org) Size SHA-256
mmproj-Inkling-2-Mini-BF16.gguf 642 MB e914997fe07fb2066bfdce855ec7275c15bc2b624e5423149f1027839593d9cb
mmproj-Inkling-2-Mini-Q8_0.gguf 346 MB 233287272ec5ac39b4168677aba54a4c024f202410f5629fac1830e1059f8abb
  • Sakura-Inkling-2-Mini-Uncensored-Q4_K_M.gguf: fdd72a5966b04bc3aa022356df767031f63624ae79bf3af3c718e77e559d00a3
  • Sakura-Inkling-2-Mini-Uncensored-Q5_K_M.gguf: ed3443360c67f00aabed2a96f04def17b85988a0b8abd3e908e1daf60ca64e27
  • Sakura-Inkling-2-Mini-Uncensored-Q6_K.gguf: 3882c801a93dc7ec174b5521b878b6ca53cc547433f3c6214687cae41d985ea3
ไธญๆ–‡่ฏดๆ˜Ž ยท ๆจฑ่Šฑ Sakura๏ผˆ็‚นๅ‡ปๅฑ•ๅผ€๏ผ‰

้œ€่ฆ llama.cpp b12600 ๆˆ–ๆ›ดๆ–ฐ็‰ˆๆœฌใ€‚ ๆ›ดๆ—ง็š„็‰ˆๆœฌ๏ผŒไปฅๅŠๅ†…็ฝฎๆ—ง็‰ˆ llama.cpp ็š„ Ollama ๆˆ– LM Studio๏ผŒๆ— ๆณ•ๅŠ ่ฝฝ่ฟ™ไบ›ๆ–‡ไปถใ€‚

  • ่ฟ™ๆ˜ฏ thinkingmachines/Inkling-2-Mini ็š„ไธ€ไธชไฟฎๆ”น็‰ˆๆœฌ๏ผˆๆ‹’็ญ”่กŒไธบๅ‡ๅฐ‘๏ผ‰็š„็คพๅŒบ้‡ๅŒ–ใ€‚ไฟฎๆ”นๅŽ็š„ๆƒ้‡ๆฅ่‡ช IsValorum/Inkling-2-Mini-Abliterated-BF16-GGUF๏ผˆIsValorum ๆไพ›็š„ BF16 GGUF๏ผ‰๏ผŒๆˆ‘ๆฒกๆœ‰่‡ชๅทฑๅˆถไฝœ๏ผŒไนŸๆ— ๆณ•ๆ‹…ไฟๅ…ถๅˆถไฝœๆ–นๅผ๏ผ›้‡่ฆๆ€ง็Ÿฉ้˜ตไธŽ่ง†่ง‰ๆŠ•ๅฝฑๆ–‡ไปถ mmproj ๆฅ่‡ช ggml-org๏ผŒๅŽŸๆ ทๅค็”จ๏ผˆ็Ÿฉ้˜ตๆ˜ฏๅœจๆœชไฟฎๆ”น็š„ๆจกๅž‹ไธŠ่ฎก็ฎ—็š„๏ผ‰ใ€‚
  • ๆ–‡ไปถ๏ผšQ4_K_M๏ผˆๅ†…ๅญ˜็ดงๅผ ๆ—ถ๏ผ‰ใ€Q5_K_M๏ผˆๅ‡่กก๏ผ‰ใ€Q6_K๏ผˆๆœ€ๆŽฅ่ฟ‘๏ผ‰ใ€‚ๅ›พๅƒ่พ“ๅ…ฅ่ฏทๆŠŠ mmproj ๆ–‡ไปถๆ”พๅœจๆจกๅž‹ๆ–‡ไปถๆ—ใ€‚
  • ๆ‹’็ญ”ๆต‹่ฏ•๏ผš ๆฅ่‡ชๅ…ฌๅผ€ๆต‹่ฏ•้›† mlabonne/harmful_behaviors ็š„ 40 ๆกๆ็คบ๏ผŒ่ดชๅฟƒ่งฃ็ ๏ผŒๅ…ณ้—ญๆ€่€ƒ๏ผŒๆฏๆกๅ›ž็ญ” 48 ไธช่ฏๅ…ƒ๏ผ›็ปŸ่ฎกๅซๆœ‰ๆ‹’็ญ”็”จ่ฏญ็š„ๅ›ž็ญ”ๆ•ฐใ€‚ๆœชไฟฎๆ”น็š„ๆจกๅž‹๏ผˆggml-org ็š„ IQ4_NL๏ผ‰ๆ‹’็ญ” 16 / 40๏ผŒๅ„ๆ–‡ไปถ็š„ๆ•ฐๅญ—่งไธŠ่กจใ€‚ๆ ทๆœฌๅพˆๅฐ๏ผŒๅชๆ˜ฏ็”จ่ฏญ่ฎกๆ•ฐ๏ผŒไธๆ˜ฏๅฎ‰ๅ…จ่ฏ„ไผฐใ€‚
  • llama.cpp๏ผš llama-server -hf webmp3/Sakura-Inkling-2-Mini-Uncensored-GGUF:Q4_K_M -c 8192 --port 8080๏ผ›Ollama๏ผšollama run hf.co/webmp3/Sakura-Inkling-2-Mini-Uncensored-GGUF:Q4_K_M๏ผˆไฝœ่€…ๆœชๆต‹่ฏ•๏ผ‰๏ผ›LM Studio๏ผšๅœจ Discover ๆœ็ดข webmp3/Sakura-Inkling-2-Mini-Uncensored-GGUF๏ผˆไฝœ่€…ๆœชๆต‹่ฏ•๏ผ‰๏ผŒไธŠไธ‹ๆ–‡ 8192๏ผŒๅ›พๅƒ่พ“ๅ…ฅๆ—ถๆŠŠ mmproj ๆ–‡ไปถๆ”พๅœจๅŒไธ€ๆ–‡ไปถๅคนใ€‚
  • ๆœชๆต‹้‡๏ผšๅŸบๅ‡†ๆต‹่ฏ•ใ€ไธŽๅŽŸๅง‹ๆจกๅž‹็›ธๆฏ”็š„ๅ›ž็ญ”่ดจ้‡ใ€้•ฟไธŠไธ‹ๆ–‡ใ€ไฝฟ็”จ่ฟ™ไบ›ๆ–‡ไปถ็š„ๅ›พๅƒ่พ“ๅ…ฅใ€้€Ÿๅบฆใ€GPU ๅŽ็ซฏใ€‚
  • ไฝฟ็”จๆ‹’็ญ”ๅ‡ๅฐ‘็š„ๆจกๅž‹้œ€่‡ช่กŒๆ‰ฟๆ‹…่ดฃไปป๏ผ›ๅŽŸๅง‹ๆจกๅž‹็š„ๅฏๆŽฅๅ—ไฝฟ็”จๆ”ฟ็ญ–ไป้€‚็”จใ€‚
Downloads last month
1,417
GGUF
Model size
26B params
Architecture
inkling2_loop
Hardware compatibility
Log In to add your hardware

4-bit

5-bit

6-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for webmp3/Sakura-Inkling-2-Mini-Uncensored-GGUF

Quantized
(224)
this model