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

Qwen2.5-CodeMath-1.5B-SLERP

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

Merge Details

Merge Method

This model was merged using the SLERP merge method.

Models Merged

The following models were included in the merge:

Configuration

The following YAML configuration was used to produce this model:

base_model: Qwen/Qwen2.5-Coder-1.5B
dtype: bfloat16
merge_method: slerp
modules:
  default:
    slices:
    - sources:
      - layer_range: [0, 28]
        model: Qwen/Qwen2.5-Coder-1.5B
      - layer_range: [0, 28]
        model: Qwen/Qwen2.5-Math-1.5B
parameters:
  t:
  - filter: self_attn
    value: [0.15, 0.2, 0.25, 0.3, 0.35]
  - filter: mlp
    value: 0.25
  - value: 0.3
tokenizer_source: Qwen/Qwen2.5-Coder-1.5B
Downloads last month
14
Safetensors
Model size
2B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for thlurte/Qwen2.5-CodeMath-1.5B-SLERP