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 "bunnycore/Phi-4-Model-Stock" \
    --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": "bunnycore/Phi-4-Model-Stock",
		"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 "bunnycore/Phi-4-Model-Stock" \
        --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": "bunnycore/Phi-4-Model-Stock",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

merge

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

Merge Details

Merge Method

This model was merged using the Model Stock merge method using unsloth/phi-4 as a base.

Models Merged

The following models were included in the merge:

Configuration

The following YAML configuration was used to produce this model:

models:
  - model: prithivMLmods/Phi-4-QwQ
  - model: bunnycore/Phi-4-Avg
  - model: prithivMLmods/Phi-4-Empathetic
  - model: prithivMLmods/Phi-4-Math-IO
base_model: unsloth/phi-4
merge_method: model_stock
parameters:
  normalize: true
dtype: bfloat16
tokenizer_source: unsloth/phi-4

Open LLM Leaderboard Evaluation Results

Detailed results can be found here

Metric Value
Avg. 40.06
IFEval (0-Shot) 68.79
BBH (3-Shot) 55.32
MATH Lvl 5 (4-Shot) 38.60
GPQA (0-shot) 13.98
MuSR (0-shot) 15.12
MMLU-PRO (5-shot) 48.54
Downloads last month
10
Safetensors
Model size
15B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for bunnycore/Phi-4-Model-Stock

Space using bunnycore/Phi-4-Model-Stock 1

Paper for bunnycore/Phi-4-Model-Stock

Evaluation results