license: apache-2.0
base_model: Peymandc/MiniCPM5-1B-Uncensored-Flawless-Peymandc
base_model_relation: quantized
pipeline_tag: text-generation
library_name: gguf
language:
- en
- zh
tags: - GGUF
- llama
- llama.cpp
- llama-cpp
- unsloth
- minicpm
- minicpm5
- heretic
- uncensored
- decensored
- abliterated
- quantized
- conversational
- long-context
- tool-calling
- on-device
- edge-ai

MiniCPM5-1B Uncensored Flawless — GGUF
A refusal-modified version of MiniCPM5-1B, converted to GGUF for efficient local inference.
This repository provides several GGUF weight formats derived from the Heretic-modified BF16 checkpoint: Peymandc/MiniCPM5-1B-Uncensored-Flawless-Peymandc.
The GGUF files in this repository were converted from the modified checkpoint. They are not conversions of the original, unmodified openbmb/MiniCPM5-1B. The Heretic modification is therefore present in the source weights used for these conversions.
The original modified BF16 checkpoint is available here:
Peymandc/MiniCPM5-1B-Uncensored-Flawless-Peymandc
Available GGUF versions
| Quantization | File size | Description |
|---|---|---|
| Q4_K_M | 688 MB | Compact 4-bit quantization; a practical starting point when memory use matters. |
| Q6_K | 892 MB | Higher weight precision than Q4_K_M, with a moderate increase in file size. |
| Q8_0 | 1.15 GB | 8-bit quantization for users who prefer higher weight precision. |
| BF16 | 2.17 GB | BF16 weight representation; retains the source checkpoint's numerical precision. |
Downloads
Language-model weights:
- MiniCPM5-1B-Uncensored-Flawless-Peymandc.Q4_K_M.gguf
- MiniCPM5-1B-Uncensored-Flawless-Peymandc.Q6_K.gguf
- MiniCPM5-1B-Uncensored-Flawless-Peymandc.Q8_0.gguf
- MiniCPM5-1B-Uncensored-Flawless-Peymandc.BF16.gguf
Choose a weight format according to your available memory and precision requirements. Q4_K_M is the smallest option in this repository; Q6_K and Q8_0 retain progressively more weight precision at the cost of additional storage and memory. BF16 retains the source checkpoint's BF16 weight representation.
The listed sizes are the approximate file sizes shown by Hugging Face. They are not estimates of total runtime RAM or VRAM requirements. Actual memory use also depends on context length, KV cache, runtime buffers, and GPU offloading.
No comparative quality or speed benchmarks have been published for these individual GGUF variants. The quantization descriptions above refer to their formats, not measured performance differences.
About the model
This release is based on openbmb/MiniCPM5-1B, modified using Heretic v2.1.0 and its Arbitrary-Rank Ablation (ARA) method.
The modification changes the model's learned refusal behavior. It is not a new pre-training run or a conventional supervised fine-tune. The resulting BF16 checkpoint was then converted into the GGUF files provided here.
[!TIP]
💜 Enjoying my work? You can support my independent AI projects here.
Heretic modification
The source Safetensors release documents the following ARA configuration:
| Parameter | Value |
|---|---|
| Heretic version | 2.1.0 |
start_layer_index |
7 |
end_layer_index |
15 |
preserve_good_behavior_weight |
0.9075 |
steer_bad_behavior_weight |
0.0001 |
overcorrect_relative_weight |
0.5820 |
neighbor_count |
1 |
Heretic evaluation
The source BF16 checkpoint reports the following Heretic evaluation results:
| Metric | Modified source checkpoint | Original MiniCPM5-1B |
|---|---|---|
| Refusal-keyword matches | 3/100 (3%) | 81/100 (81%) |
| KL divergence | 0.0070 | 0.0000 |
Evaluation methodology
- Refusal-keyword matches: Heretic's
KeywordRatescorer, evaluated on the first 100 prompts frommlabonne/harmful_behaviors(test[:100]). A response is counted when it contains a configured refusal keyword, case-insensitively. This is a keyword-based proxy, not a semantic classifier or a human-reviewed assessment of whether a response is a refusal. - KL divergence: Heretic's
KLDivergencescorer, evaluated on the first 100 prompts frommlabonne/harmless_alpaca(test[:100]). The original model is the reference, so its divergence is zero by definition.
These results describe the evaluated BF16 source checkpoint. The individual GGUF files have not been independently evaluated, and quantization can introduce differences. The scores should not be interpreted as a comprehensive measure of safety, helpfulness, or general capability.
The notably low KL divergence of 0.0070 reflects the small measured distributional difference from the original checkpoint under this evaluation setup.
For the reproduction configuration and additional details, see the reproduce/ directory in the Safetensors repository. This GGUF repository also includes MODIFICATIONS.md.
Model specifications
| Property | Specification |
|---|---|
| Model | MiniCPM5-1B Uncensored Flawless |
| Original developer | OpenBMB |
| Original checkpoint | openbmb/MiniCPM5-1B |
| Modified source checkpoint | Peymandc/MiniCPM5-1B-Uncensored-Flawless-Peymandc |
| Model type | Post-trained causal language model |
| Pipeline | Text generation |
| Parameters | 1,080,632,832 (~1.08B) |
| Non-embedding parameters | 679,552,512 |
| Architecture | LlamaForCausalLM |
| Model architecture type | Dense |
| Number of layers | 24 |
| Attention heads | 16 query / 2 key-value (GQA) |
| Native context length | 131,072 tokens |
| Languages | English, Chinese |
| Format | GGUF |
| Weight formats in this repository | Q4_K_M, Q6_K, Q8_0, BF16 |
| License | Apache License 2.0 |
Architecture overview
The original MiniCPM5-1B is a compact dense language model with 24 layers and Grouped-Query Attention (GQA).
The original model documentation describes native long-context support, hybrid reasoning, and tool-calling capabilities.
The specifications above are inherited from the original OpenBMB documentation. They are provided as reference information and have not been independently re-audited on this modified release.
Intended use and limitations
This GGUF release is intended for:
- Local and offline inference with compatible GGUF runtimes.
- Lightweight conversational assistants and general text generation.
- Experimentation with refusal-modified language models.
- Local deployment on memory-constrained hardware.
- Prototyping, development, and research involving compact language models.
At approximately 1.08B parameters, this is a compact model. Do not expect it to match larger models on complex reasoning, extensive factual tasks, or demanding multi-step workflows. Validate its reliability for the intended application.
MiniCPM5 supports hybrid reasoning through its enable_thinking chat-template parameter. The original documentation also describes XML-style tool calling and native 128K context support.
These capabilities originate from the original MiniCPM5-1B documentation and have not all been independently benchmarked on this modified GGUF release. Actual functionality depends on inference-engine support.
Usage with llama.cpp
Use a recent llama.cpp build that supports the model architecture and chat template.
Text-only inference
Download one of the language-model GGUF files and run:
llama-cli -m "MiniCPM5-1B-Uncensored-Flawless-Peymandc.Q4_K_M.gguf" -cnv
Replace Q4_K_M with Q6_K, Q8_0, or BF16 to use another weight format.
Local server
You can also start a local OpenAI-compatible server:
llama-server \
-m "MiniCPM5-1B-Uncensored-Flawless-Peymandc.Q4_K_M.gguf" \
--port 8080 \
-c 8192
The server exposes an OpenAI-compatible API at:
http://localhost:8080/v1/chat/completions
For other launch options and the latest deployment details, consult the llama.cpp documentation.
Limitations and responsible use
This model has undergone refusal-behavior modification using Heretic. As a result, it may respond to requests that the original model would have refused.
It may generate inaccurate, misleading, harmful, or otherwise inappropriate content. Its outputs should not be treated as verified information or professional advice.
The reported reduction in refusal-keyword matches is not a safety certification and does not establish that the model will comply with every request.
Users are responsible for evaluating generated content and ensuring that their applications comply with applicable laws and regulations.
License
This release follows the Apache License 2.0 associated with the original openbmb/MiniCPM5-1B checkpoint. A copy of the license is included in this repository as LICENSE.
Review the included license before using, modifying, or redistributing these files. The original model's license and attribution terms continue to apply to this derived release.
Acknowledgements
This release is derived from MiniCPM5-1B, developed by OpenBMB.
Refusal-behavior modification was performed using Heretic.
The GGUF files are conversions of the modified BF16 checkpoint and are provided by Peymandc.
Please credit the original model developers and the modified release when using this work.
💜 Support independent development
These projects are part of my ongoing exploration of open-weight AI models.
Your support helps make more room for experimentation, model modifications, testing, research, and future releases.
If you find my work useful and would like to contribute, you're welcome to visit my support page:
Every contribution is appreciated, but never expected. Sharing feedback, reporting issues, and simply using the models are also wonderful ways to support independent development.
Thank you for being here. ❤️