Instructions to use webmp3/Sakura-Inkling-2-Mini-Uncensored-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use webmp3/Sakura-Inkling-2-Mini-Uncensored-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf webmp3/Sakura-Inkling-2-Mini-Uncensored-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf webmp3/Sakura-Inkling-2-Mini-Uncensored-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf webmp3/Sakura-Inkling-2-Mini-Uncensored-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf webmp3/Sakura-Inkling-2-Mini-Uncensored-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf webmp3/Sakura-Inkling-2-Mini-Uncensored-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf webmp3/Sakura-Inkling-2-Mini-Uncensored-GGUF:Q4_K_M
Use Docker
docker model run hf.co/webmp3/Sakura-Inkling-2-Mini-Uncensored-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use webmp3/Sakura-Inkling-2-Mini-Uncensored-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "webmp3/Sakura-Inkling-2-Mini-Uncensored-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "webmp3/Sakura-Inkling-2-Mini-Uncensored-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/webmp3/Sakura-Inkling-2-Mini-Uncensored-GGUF:Q4_K_M
- Ollama
How to use webmp3/Sakura-Inkling-2-Mini-Uncensored-GGUF with Ollama:
ollama run hf.co/webmp3/Sakura-Inkling-2-Mini-Uncensored-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use webmp3/Sakura-Inkling-2-Mini-Uncensored-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf webmp3/Sakura-Inkling-2-Mini-Uncensored-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "webmp3/Sakura-Inkling-2-Mini-Uncensored-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use webmp3/Sakura-Inkling-2-Mini-Uncensored-GGUF with Docker Model Runner:
docker model run hf.co/webmp3/Sakura-Inkling-2-Mini-Uncensored-GGUF:Q4_K_M
- Lemonade
How to use webmp3/Sakura-Inkling-2-Mini-Uncensored-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull webmp3/Sakura-Inkling-2-Mini-Uncensored-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Sakura-Inkling-2-Mini-Uncensored-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use webmp3/Sakura-Inkling-2-Mini-Uncensored-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf webmp3/Sakura-Inkling-2-Mini-Uncensored-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default webmp3/Sakura-Inkling-2-Mini-Uncensored-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use webmp3/Sakura-Inkling-2-Mini-Uncensored-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf webmp3/Sakura-Inkling-2-Mini-Uncensored-GGUF:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "webmp3/Sakura-Inkling-2-Mini-Uncensored-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
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
- Original model: thinkingmachines/Inkling-2-Mini, Apache-2.0.
- The modified weights come from IsValorum/Inkling-2-Mini-Abliterated-BF16-GGUF (BF16 GGUF by IsValorum); I did not create them and cannot vouch for how they were made. The importance matrix and the vision projector files are ggml-org's (ggml-org/Inkling-2-Mini-GGUF), reused unchanged; the matrix was computed on the unmodified model.
Verification details
- Source file revision
c66e5f93eb977ba9065dd905df9f9abfa2196918, SHA-25635344297a6fa6a749dd0165b04fd5bf86b98ee4d116feaada972d8fc4816b6cf; matrix SHA-256553662ef0d5e3d047e5753bf8275c26bbdd4306c60ddf6dc9f46c7f49f19452a; refusal prompts at revision01cead01398926d81f7c52bdb790ee8cf77ebba7. - 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.gguffrom the llama.cpp release b12600 (revision29b52d398b294509746ec0a3f28948a3107c0213, 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:fdd72a5966b04bc3aa022356df767031f63624ae79bf3af3c718e77e559d00a3Sakura-Inkling-2-Mini-Uncensored-Q5_K_M.gguf:ed3443360c67f00aabed2a96f04def17b85988a0b8abd3e908e1daf60ca64e27Sakura-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
4-bit
5-bit
6-bit
Model tree for webmp3/Sakura-Inkling-2-Mini-Uncensored-GGUF
Base model
thinkingmachines/Inkling-2-Mini