Views
No views yet
abliterated means the upstream author ablated
the refusal direction out of MiniCPM-V-4.5.
This model will therefore answer prompts the original declines, and it is on
you to put your own safety layer in front of it. If you want the original
behaviour, quantize openbmb/MiniCPM-V-4_5
instead.1{
2 "load_in_8bit": true,
3 "bnb_8bit_compute_dtype": "float16",
4 "bnb_8bit_quant_type": "int8",
5 "llm_int8_skip_modules": ["lm_head", "vision"],
6 "llm_int8_threshold": 6.0,
7 "quant_method": "bitsandbytes"
8}1from transformers import AutoModelForCausalLM, AutoTokenizer
2import torch
3
4model = AutoModelForCausalLM.from_pretrained(
5 "wavespeed/MiniCPM-V-4_5-abliterated-int8",
6 device_map="auto",
7 trust_remote_code=True,
8 torch_dtype=torch.float16
9)
10
11tokenizer = AutoTokenizer.from_pretrained(
12 "wavespeed/MiniCPM-V-4_5-abliterated-int8",
13 trust_remote_code=True
14)
15
16# For inference
17# The model will automatically use int8 weights with fp16 compute| Version | Size | Relative Quality | Use Case |
|---|---|---|---|
| Original (fp16) | 45.28 GB | Best | Maximum quality, high VRAM |
| int8 (this) | 9.35 GB | Very Good | Balanced quality/memory |
| int4 | 6.09 GB | Good | Maximum memory savings |