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 "huihui-ai/Mistral-Small-24B-Instruct-2501-abliterated" \
    --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": "huihui-ai/Mistral-Small-24B-Instruct-2501-abliterated",
		"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 "huihui-ai/Mistral-Small-24B-Instruct-2501-abliterated" \
        --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": "huihui-ai/Mistral-Small-24B-Instruct-2501-abliterated",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

huihui-ai/Mistral-Small-24B-Instruct-2501-abliterated

This is an uncensored version of mistralai/Mistral-Small-24B-Instruct-2501 created with abliteration (see remove-refusals-with-transformers to know more about it).
This is a crude, proof-of-concept implementation to remove refusals from an LLM model without using TransformerLens.

Use with ollama

You can use huihui_ai/mistral-small-abliterated directly

ollama run huihui_ai/mistral-small-abliterated
Downloads last month
1,012
Inference Providers NEW
Input a message to start chatting with huihui-ai/Mistral-Small-24B-Instruct-2501-abliterated.

Model tree for huihui-ai/Mistral-Small-24B-Instruct-2501-abliterated

Finetuned
(71)
this model
Finetunes
2 models
Merges
16 models
Quantizations
12 models

Spaces using huihui-ai/Mistral-Small-24B-Instruct-2501-abliterated 21