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 "kromcomp/L3.1-Haggardv1-12B" \
    --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": "kromcomp/L3.1-Haggardv1-12B",
		"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 "kromcomp/L3.1-Haggardv1-12B" \
        --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": "kromcomp/L3.1-Haggardv1-12B",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

haggard

This is a merge of pre-trained language models created using mergekit.

Merge Details

Merge Method

This model was merged using the NuSLERP merge method.

Models Merged

The following models were included in the merge:

  • merge/waxen
  • merge/bronze

Configuration

The following YAML configuration was used to produce this model:

chat_template: llama3
dtype: float32
merge_method: nuslerp
modules:
  default:
    slices:
    - sources:
      - layer_range: [0, 50]
        model: merge/waxen
        parameters:
          weight:
          - filter: self_attn
            value: [1.0, 0.7, 0.5, 0.3, 0.0]
          - filter: mlp
            value: [0.0, 0.3, 0.5, 0.7, 1.0]
          - value: 0.5
      - layer_range: [0, 50]
        model: merge/bronze
        parameters:
          weight:
          - filter: self_attn
            value: [0.0, 0.3, 0.5, 0.7, 1.0]
          - filter: mlp
            value: [1.0, 0.7, 0.5, 0.3, 0.0]
          - value: 0.5
parameters:
  normalize: 0.0
tokenizer:
  pad_to_multiple_of: 32
Downloads last month
5
Safetensors
Model size
12B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support