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

Made using mergekit-gui.

  • vanta-research/scout-4b has an absolutely amazing personality and is good at cooperative problem solving (something I find most models are not good at).
  • GetSoloTech/Gemma3-Code-Reasoning-4B is a strong coder.
  • coder3101/gemma-3-4b-it-heretic as a base (I am a professional who understands that this model is a tool and that I am responsable for how I use it). I also feel like people don't talk enough about how abliteration reduces hallucinations when asking the bot difficult questions.

The end result is hopefully useful for programming and {cyber,information}-security.


Quantizations courtesy of team mradermacher


name: Gemma3-4B-CodeCenturion
base_model: coder3101/gemma-3-4b-it-heretic
dtype: bfloat16
merge_method: model_stock
models:
  - model: vanta-research/scout-4b
  - model: GetSoloTech/Gemma3-Code-Reasoning-4B
tokenizer_source: coder3101/gemma-3-4b-it-heretic
Downloads last month
18
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 sillykiwi/Gemma3-4B-CodeCenturion