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 "Codingstark/gemma3-270m-leetcode" \
    --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": "Codingstark/gemma3-270m-leetcode",
		"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 "Codingstark/gemma3-270m-leetcode" \
        --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": "Codingstark/gemma3-270m-leetcode",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

Gemma-3-270M-LeetCode

A specialized fine-tuned Gemma-3-270M model optimized for LeetCode algorithmic programming problems.

Features

  • 270M parameters - Compact yet powerful
  • 2,641 training examples - Curated LeetCode dataset
  • Dual format - HuggingFace & GGUF compatible

Performance

  • Training loss: 1.035 → 0.986
  • Memory usage: 2.76GB peak
  • Inference: temperature=1.0, top_p=0.95, top_k=64
Downloads last month
3
Safetensors
Model size
0.3B params
Tensor type
BF16
·
F16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Codingstark/gemma3-270m-leetcode

Finetuned
(395)
this model