How to use from
SGLang
Install from pip and serve model
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
    --model-path "Youssofal/MiniMax-M2.7-abliterated-BF16" \
    --host 0.0.0.0 \
    --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "Youssofal/MiniMax-M2.7-abliterated-BF16",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Use Docker images
docker run --gpus all \
    --shm-size 32g \
    -p 30000:30000 \
    -v ~/.cache/huggingface:/root/.cache/huggingface \
    --env "HF_TOKEN=<secret>" \
    --ipc=host \
    lmsysorg/sglang:latest \
    python3 -m sglang.launch_server \
        --model-path "Youssofal/MiniMax-M2.7-abliterated-BF16" \
        --host 0.0.0.0 \
        --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "Youssofal/MiniMax-M2.7-abliterated-BF16",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

MiniMax-M2.7-abliterated-BF16

A BF16 abliterated MiniMax-M2.7 checkpoint produced with Heretic ARA.

Abliteration parameters:

  • start_layer_index: 30
  • end_layer_index: 51
  • preserve_good_behavior_weight: 0.4512
  • steer_bad_behavior_weight: 0.0037
  • overcorrect_relative_weight: 0.8804
  • neighbor_count: 14

Notes:

  • Base model: MiniMaxAI/MiniMax-M2.7
  • BF16 export repaired after save by replacing 8 non-finite sparse-MoE expert down-projection tensors from the base model
  • GGUF quants are published separately in Youssofal/MiniMax-M2.7-abliterated-GGUF
Downloads last month
29
Safetensors
Model size
229B params
Tensor type
F16
·
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Youssofal/MiniMax-M2.7-abliterated-BF16

Finetuned
(26)
this model
Quantizations
8 models