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 "Artples/L-MChat-Small" \
    --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": "Artples/L-MChat-Small",
		"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 "Artples/L-MChat-Small" \
        --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": "Artples/L-MChat-Small",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

L-MChat-Small

L-MChat-Series-Logo

This was a test of mine how small merges perform, because there are a lot of 7b merges and higher but not a lot of 2b merges.

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:

slices:
- sources:
  - model: Weyaxi/Einstein-v4-phi2
    layer_range:
    - 0
    - 32
  - model: rhysjones/phi-2-orange-v2
    layer_range:
    - 0
    - 32
merge_method: slerp
base_model: rhysjones/phi-2-orange-v2
parameters:
  t:
  - filter: self_attn
    value:
    - 0
    - 0.5
    - 0.3
    - 0.7
    - 1
  - filter: mlp
    value:
    - 1
    - 0.5
    - 0.7
    - 0.3
    - 0
  - value: 0.5
dtype: bfloat16

Usage

Use it with the ChatML format, you can also use the Inference-API for this Model.

Open LLM Leaderboard Evaluation Results

Detailed results can be found here

Metric Value
Avg. 63.14
AI2 Reasoning Challenge (25-Shot) 61.60
HellaSwag (10-Shot) 75.90
MMLU (5-Shot) 57.41
TruthfulQA (0-shot) 49.94
Winogrande (5-shot) 74.98
GSM8k (5-shot) 58.98
Downloads last month
8,257
Safetensors
Model size
3B params
Tensor type
BF16
·
Inference Providers NEW
Input a message to start chatting with Artples/L-MChat-Small.

Model tree for Artples/L-MChat-Small

Merge model
this model
Merges
2 models
Quantizations
2 models

Space using Artples/L-MChat-Small 1

Collection including Artples/L-MChat-Small

Evaluation results