How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "GraySwanAI/Mistral-7B-Instruct-RR"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "GraySwanAI/Mistral-7B-Instruct-RR",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Use Docker
docker model run hf.co/GraySwanAI/Mistral-7B-Instruct-RR
Quick Links

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Model Details

Mistral-7B-Instruct-RR is a Mistral-7B model with circuit breakers inserted using Representation Rerouting (RR).

Circuit Breaking is a new approach inspired by representation engineering, designed to prevent AI systems from generating harmful content by directly altering harmful model representations, with minimal capability degradation. For more information, please check out our paper.

Downloads last month
1,472
Safetensors
Model size
7B params
Tensor type
BF16
·
Inference Providers NEW
Input a message to start chatting with GraySwanAI/Mistral-7B-Instruct-RR.

Model tree for GraySwanAI/Mistral-7B-Instruct-RR

Finetunes
1 model
Quantizations
3 models

Collection including GraySwanAI/Mistral-7B-Instruct-RR

Paper for GraySwanAI/Mistral-7B-Instruct-RR