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 "akameswa/mistral-7b-instruct-code-ties" \
    --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": "akameswa/mistral-7b-instruct-code-ties",
		"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 "akameswa/mistral-7b-instruct-code-ties" \
        --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": "akameswa/mistral-7b-instruct-code-ties",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

mistral-7b-instruct-code-ties

mistral-7b-instruct-code-ties is a merge of the following models using mergekit:

🧩 Configuration

models:
  - model: unsloth/mistral-7b-instruct-v0.2-bnb-4bit
  - model: jiayihao03/mistral-7b-instruct-Javascript-4bit
    parameters:
      density: 0.85
      weight: 0.25
  - model: jiayihao03/mistral-7b-instruct-python-4bit
    parameters:
      density: 0.85
      weight: 0.25
  - model: akameswa/mistral-7b-instruct-java-4bit
    parameters:
      density: 0.85
      weight: 0.25
  - model: akameswa/mistral-7b-instruct-go-4bit
    parameters:
      density: 0.85
      weight: 0.25
merge_method: ties
base_model: unsloth/mistral-7b-instruct-v0.2-bnb-4bit
parameters:
  normalize: true
dtype: float16
Downloads last month
2
Safetensors
Model size
4B params
Tensor type
F16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support