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 "roleplaiapp/Codestral-22B-v0.1-Q5_K_M-GGUF" \
    --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": "roleplaiapp/Codestral-22B-v0.1-Q5_K_M-GGUF",
		"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 "roleplaiapp/Codestral-22B-v0.1-Q5_K_M-GGUF" \
        --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": "roleplaiapp/Codestral-22B-v0.1-Q5_K_M-GGUF",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

roleplaiapp/Codestral-22B-v0.1-Q5_K_M-GGUF

Repo: roleplaiapp/Codestral-22B-v0.1-Q5_K_M-GGUF
Original Model: Codestral-22B-v0.1 Organization: mistralai Quantized File: codestral-22b-v0.1-q5_k_m.gguf Quantization: GGUF Quantization Method: Q5_K_M
Use Imatrix: False
Split Model: False

Overview

This is an GGUF Q5_K_M quantized version of Codestral-22B-v0.1.

Quantization By

I often have idle A100 GPUs while building/testing and training the RP app, so I put them to use quantizing models. I hope the community finds these quantizations useful.

Andrew Webby @ RolePlai

Downloads last month
21
GGUF
Model size
22B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

5-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for roleplaiapp/Codestral-22B-v0.1-Q5_K_M-GGUF

Quantized
(53)
this model