Instructions to use Blazed-Forge/Gemma-4-Gemsicle-31B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Blazed-Forge/Gemma-4-Gemsicle-31B-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf Blazed-Forge/Gemma-4-Gemsicle-31B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Blazed-Forge/Gemma-4-Gemsicle-31B-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Blazed-Forge/Gemma-4-Gemsicle-31B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Blazed-Forge/Gemma-4-Gemsicle-31B-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf Blazed-Forge/Gemma-4-Gemsicle-31B-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf Blazed-Forge/Gemma-4-Gemsicle-31B-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf Blazed-Forge/Gemma-4-Gemsicle-31B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf Blazed-Forge/Gemma-4-Gemsicle-31B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/Blazed-Forge/Gemma-4-Gemsicle-31B-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use Blazed-Forge/Gemma-4-Gemsicle-31B-GGUF with Ollama:
ollama run hf.co/Blazed-Forge/Gemma-4-Gemsicle-31B-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use Blazed-Forge/Gemma-4-Gemsicle-31B-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Blazed-Forge/Gemma-4-Gemsicle-31B-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "Blazed-Forge/Gemma-4-Gemsicle-31B-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Blazed-Forge/Gemma-4-Gemsicle-31B-GGUF with Docker Model Runner:
docker model run hf.co/Blazed-Forge/Gemma-4-Gemsicle-31B-GGUF:Q4_K_M
- Lemonade
How to use Blazed-Forge/Gemma-4-Gemsicle-31B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Blazed-Forge/Gemma-4-Gemsicle-31B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Gemma-4-Gemsicle-31B-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use Blazed-Forge/Gemma-4-Gemsicle-31B-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Blazed-Forge/Gemma-4-Gemsicle-31B-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default Blazed-Forge/Gemma-4-Gemsicle-31B-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Blazed-Forge/Gemma-4-Gemsicle-31B-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Blazed-Forge/Gemma-4-Gemsicle-31B-GGUF:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "Blazed-Forge/Gemma-4-Gemsicle-31B-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Configure Hermes
# Install Hermes:
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
hermes setup# Point Hermes at the local server:
hermes config set model.provider custom
hermes config set model.base_url http://127.0.0.1:8080/v1
hermes config set model.default Blazed-Forge/Gemma-4-Gemsicle-31B-GGUF:Run Hermes
hermes🫧⋆。˚ 💎 Gemsicle-31B 💎 🫧⋆。˚
A fun, experimental model merge that aims for more creative prose and less stereotypical portrayal of characters, without losing smartness and prompt adherence, compared to its base model google/gemma-4-31b-it.
🐀 About the Model
This model was put together as a fun project between Ateron and Nimbz, the trope heavily inspired by the visual of a humming, glowing and colorful "Gemsicle" crafted for everyone in our little Blazed Forge.
We put our heads together because we both liked the EQ and overall intelligence of the base Gemma 4 31B it model, but we had to acknowledge that it is full of slop phrases, stereotypical character display and narrow paths with almost no swipe variety. The released fine-tunes seemed promising, but they made evident that there is a trade-off between training the base model for more creativity and better prose and preserving the overall intelligence of the model.
We tried to bring both of these worlds together - Preserve the strengths of the base and enhance it with the creative capabilities of our selection of sophisticated fine-tunes.
- Our Primary Focus: Creative Writing, Less Slop, Authentic Character Portrayal, Preserving Prompt Adherence
🗣️ Prompt Format
Please refer to the original google/gemma-4-31b-it for the correct chat template.
Let your frontend handle the chat template if possible (e.g., Chat Completion in SillyTavern).
- For Reasoning: Add
<|think|>at the very beginning of the system prompt. Thinking happens between<|channel>thought\nand<channel|>tags.
<|turn>system
<|think|>
You are a helpful assistant<turn|>
<|turn>user
Hello<turn|>
<|turn>model
Hi there<turn|>
<|turn>user
How are you?<turn|>
<|turn>model
⚙️ Recommended Samplers
These are the settings we found work best to keep the model creative without it getting too repetitive or losing the plot. Feel free to experiment, as a different behavior might be desireable for others.
| Settings | With Adaptive-P | Without Adaptive-P |
|---|---|---|
| Temperature | 1.0 |
1.0 |
| Top-K | 0 |
0 |
| Top-P | 0.97 |
0.90 |
| Min-P | 0.03 |
0.03 |
| Adaptive-P Target | 0.6 |
- |
| Adaptive-P Decay | 0.5 |
- |
ST Chat Completion Parameters:
temperature: 1.0
top_k: 0
top_p: 0.97
min_p: 0.03
adaptive_target: 0.6
adaptive_decay: 0.5
samplers: ["top_k", "top_p", "min_p", "temperature", "adaptive_p"]
chat_template_kwargs: {"thinking": true, "enable_thinking": true}
🐈⬛ Merge Details
We used mergekit to combine the strengths of several different models in a precise, two-phase metallurgical process:
Phase 1: The Creative Sauce (SLERP)
First, we took AuriAetherwiing/G4-31B-Musica-v1 and ConicCat/Gemma4-GarnetV2-31B - two highly creative fine-tunes - and merged them together in an even 50:50 approach with Spherical Linear Interpolation (SLERP). This served as the creative portion for the better wording and swipe variety we were seeking for, creating the Symphony-v2 merge.
SLERP Recipe
models:
- model: ./Gemma4-GarnetV2-31B
- model: ./G4-31B-Musica-v1
merge_method: slerp
base_model: ./Gemma4-GarnetV2-31B
parameters:
t:
- value: 0.5
dtype: bfloat16
Phase 2: Pressing The Gem (DARE-TIES)
In the second step, we injected specific weights from a randomly found, but somehow very capable fine-tune called p-e-r-e-g-r-i-n-e/Sprinkle-Gemma-4-31B, which inherits enough of the intelligence and prompt ahderence known from the base model, while bringing in enough variable but realistic prose and character portrayal to be of use.
Using the DARE-TIES method, we merged the Sprinkle-Gemma-4-31B with the Symphony-v1 and created our gem with the qualities we sought for.
DARE-TIES Recipe
models:
- model: ./gemma-4-31B-it
- model: ./Sprinkle-Gemma-4-31B
parameters:
density: [0.90, 0.80, 0.60, 0.65]
weight: [0.25, 0.30, 0.70, 0.60]
- model: ./Symphony-v2
parameters:
density: [0.05, 0.10, 0.20, 0.35]
weight: [0.0, 0.0, 0.30, 0.50]
merge_method: dare_ties
base_model: ./gemma-4-31B-it
parameters:
int8_mask: true
dtype: bfloat16
🔗 GGUF Quants
| Quant | Size | Download Link |
|---|---|---|
| Q4_K_S | 17.8 GB |
Click |
| Q4_K_M | 18.7 GB |
Click |
| Q5_K_S | 21.3 GB |
Click |
| Q5_K_M | 21.8 GB |
Click |
| Q6_K | 25.2 GB |
Click |
| Q8_0 | 32.6 GB |
Click |
🤝 Special Thanks
A huge thanks to the creators of the community tools and open-source models that made this possible!
- Google DeepMind: For providing the base model.
- The Open-Source Community: For providing the fine-tunes we used for this merge.
- Mergekit: First, arcee-ai for making model merging incredibly accessible and easy.
- Mergekit Fork: Secondly, zerofata for the Gemma 4 fork of arcee-ai's Mergekit. Without it we wouldn't be able to create such a gem!
- Gemini 3.1 Pro: For providing us with support to achieve our goal and the image prompt ideas for our model card.
- Downloads last month
- 1,460
4-bit
5-bit
6-bit
8-bit
Model tree for Blazed-Forge/Gemma-4-Gemsicle-31B-GGUF
Base model
Blazed-Forge/Gemma-4-Gemsicle-31B
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp# Start a local OpenAI-compatible server: llama serve -hf Blazed-Forge/Gemma-4-Gemsicle-31B-GGUF: