AI Mentor Nanbeige4.2-3B (Abliterated)

An abliterated version of Nanbeige/Nanbeige4.2-3B, built exclusively for use as the built-in model of the AI Mentor application — a local AI mentor for people getting started with LLM engineering.

About this model

Base model: Nanbeige4.2-3B (looped transformer, 22 layers × 2 loop passes). Abliteration was performed with a custom tool based on multi-directional refusal-direction search (SVD over the difference matrix of harmful/harmless prompt activations, applied globally across 44 modules — o_proj/down_proj of each layer).

This abliteration was not released as a standalone open-source artifact — the model is distributed solely as a component of the AI Mentor application and is tuned for that purpose, not as a general-purpose model.

Fine-tuning

The model was fine-tuned (SFT) on a custom dataset generated for local LLM engineering topics: vLLM/llama.cpp setup, GGUF quantization, abliteration, LoRA/PEFT, interpretability, and related subjects. The dataset includes RAG-context dialogues (the model was trained to rely explicitly on the provided context and to admit when an answer isn't in the context, rather than making one up).

Files

File Quantization Size Notes
nanbeige4.2-3b-abliterated.Q4_K_M-imat.gguf Q4_K_M + imatrix, attention/embedding/output tensors upgraded to Q6_K ~2.8GB Recommended default

Quantization was done with imatrix calibration on a custom in-domain corpus (the AI Mentor knowledge-base documentation), with manual per-tensor precision overrides for attention K/V, embeddings, and the output layer (upgraded to Q6_K), while the bulk of the FFN weights remain Q4_K_M. This is not Unsloth's official Dynamic Quants method — it's an independent implementation of the same idea.

Usage

This model is intended to be used through the AI Mentor application, which downloads and configures it automatically. Manual usage via llama.cpp:

llama-cli -m nanbeige4.2-3b-abliterated.Q4_K_M-imat.gguf \
  --chat-template chatml -ngl 99

⚠️ Warning

Abliteration removes the model's built-in refusal mechanisms. This model may generate content the base model would have declined, including content that could be harmful, inaccurate, or otherwise inappropriate. Use at your own risk and in accordance with applicable law.

License

Licensed under Apache 2.0, same as the base model Nanbeige/Nanbeige4.2-3B. As required by Apache 2.0: this is a modified version of the original work (abliteration + SFT fine-tuning applied); the original copyright notice and license terms are preserved by reference to the base model.

Downloads last month
6
GGUF
Model size
4B params
Architecture
nanbeige
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for FesarovLab/ai-mentor-nanbeige4.2-3b

Quantized
(46)
this model