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 "Montalte/qwen4b-code-think-taskvector" \
    --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": "Montalte/qwen4b-code-think-taskvector",
		"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 "Montalte/qwen4b-code-think-taskvector" \
        --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": "Montalte/qwen4b-code-think-taskvector",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

Montalte/qwen4b-code-think-taskvector

Unified Qwen3-4B merge artifact for directional math↔code transfer experiments.

Field Value
Base Qwen/Qwen3-4B-Base@906bfd4b4dc7f14ee4320094d8b41684abff8539
Source specialist modrill/code-think-q4b-20260908
Domain code
Mode think
Method taskvector

Method

taskvector = dense source specialist (\theta_s) (full SFT weights; equivalent to applying the complete task vector (\tau_s=\theta_s-\theta_0)).

Uploaded: 2026-09-11.

Downloads last month
51
Safetensors
Model size
4B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Montalte/qwen4b-code-think-taskvector

Finetuned
(518)
this model