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 "jukofyork/command-r-32b-writer" \
    --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": "jukofyork/command-r-32b-writer",
		"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 "jukofyork/command-r-32b-writer" \
        --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": "jukofyork/command-r-32b-writer",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

Merged jukofyork/command-r-32b-writer-multiplicative-lora into CohereLabs/c4ai-command-r-08-2024 using jukofyork/merge-lora.

Untested... But appears to have worked:

✓ Successfully merged and uploaded model!
Model URL: https://huggingface.co/jukofyork/command-r-32b-writer
Merge mode: Multiplicative
Scale factor: 1
Processed 14 shards
Merged 76 layers with LoRA weights
Downloads last month
13
Safetensors
Model size
32B params
Tensor type
F16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for jukofyork/command-r-32b-writer

Finetuned
(3)
this model
Quantizations
2 models

Collection including jukofyork/command-r-32b-writer