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 "wvnvwn/gemma-2-9b-it-lr3e-5-resta-0.5" \
    --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": "wvnvwn/gemma-2-9b-it-lr3e-5-resta-0.5",
		"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 "wvnvwn/gemma-2-9b-it-lr3e-5-resta-0.5" \
        --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": "wvnvwn/gemma-2-9b-it-lr3e-5-resta-0.5",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

resta_recovered_0.5

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

Merge Details

Merge Method

This model was merged using the linear merge method.

Models Merged

The following models were included in the merge:

Configuration

The following YAML configuration was used to produce this model:

dtype: float16
merge_method: linear
slices:
- sources:
  - layer_range: [0, 42]
    model:
      model:
        path: wvnvwn/gemma-2-9b-it-lr3e-5-gsm8k-lr5e-5
    parameters:
      weight: 1.0
  - layer_range: [0, 42]
    model:
      model:
        path: wvnvwn/gemma-2-9b-it-ssft-lr3e-5
    parameters:
      weight: 0.5
  - layer_range: [0, 42]
    model:
      model:
        path: google/gemma-2-9b-it
    parameters:
      weight: -0.5
Downloads last month
3
Safetensors
Model size
10B params
Tensor type
F16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for wvnvwn/gemma-2-9b-it-lr3e-5-resta-0.5

Paper for wvnvwn/gemma-2-9b-it-lr3e-5-resta-0.5