Instructions to use Nubinu/Gemma4-E2B-MicroFantasy-V1-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 Nubinu/Gemma4-E2B-MicroFantasy-V1-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 Nubinu/Gemma4-E2B-MicroFantasy-V1-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Nubinu/Gemma4-E2B-MicroFantasy-V1-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 Nubinu/Gemma4-E2B-MicroFantasy-V1-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Nubinu/Gemma4-E2B-MicroFantasy-V1-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 Nubinu/Gemma4-E2B-MicroFantasy-V1-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf Nubinu/Gemma4-E2B-MicroFantasy-V1-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 Nubinu/Gemma4-E2B-MicroFantasy-V1-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf Nubinu/Gemma4-E2B-MicroFantasy-V1-GGUF:Q4_K_M
Use Docker
docker model run hf.co/Nubinu/Gemma4-E2B-MicroFantasy-V1-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use Nubinu/Gemma4-E2B-MicroFantasy-V1-GGUF with Ollama:
ollama run hf.co/Nubinu/Gemma4-E2B-MicroFantasy-V1-GGUF:Q4_K_M
- Unsloth Studio
How to use Nubinu/Gemma4-E2B-MicroFantasy-V1-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Nubinu/Gemma4-E2B-MicroFantasy-V1-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Nubinu/Gemma4-E2B-MicroFantasy-V1-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Nubinu/Gemma4-E2B-MicroFantasy-V1-GGUF to start chatting
- Pi
How to use Nubinu/Gemma4-E2B-MicroFantasy-V1-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Nubinu/Gemma4-E2B-MicroFantasy-V1-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "Nubinu/Gemma4-E2B-MicroFantasy-V1-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use Nubinu/Gemma4-E2B-MicroFantasy-V1-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 Nubinu/Gemma4-E2B-MicroFantasy-V1-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 Nubinu/Gemma4-E2B-MicroFantasy-V1-GGUF:Q4_K_M
Run Hermes
hermes
- OpenClaw new
How to use Nubinu/Gemma4-E2B-MicroFantasy-V1-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Nubinu/Gemma4-E2B-MicroFantasy-V1-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 "Nubinu/Gemma4-E2B-MicroFantasy-V1-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"
- Docker Model Runner
How to use Nubinu/Gemma4-E2B-MicroFantasy-V1-GGUF with Docker Model Runner:
docker model run hf.co/Nubinu/Gemma4-E2B-MicroFantasy-V1-GGUF:Q4_K_M
- Lemonade
How to use Nubinu/Gemma4-E2B-MicroFantasy-V1-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Nubinu/Gemma4-E2B-MicroFantasy-V1-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Gemma4-E2B-MicroFantasy-V1-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Gemma4-E2B-MicroFantasy-V1
GGUF quantizations of Nubinu/Gemma4-E2B-MicroFantasy-V1 — a 4-bit LoRA fine-tune of MuXodious/gemma-4-E2B-it-ARA-heresy, focused on multi-turn narrative roleplay, emotional resonance, and character-driven storytelling.
Available Quants
| Quantization | Size |
|---|---|
| Q4_K_M | ~3.34 GB |
| Q5_K_M | ~3.63 GB |
| Q6_K_M | ~3.85 GB |
| Q8_0 | ~4.97 GB |
| F16 | ~9.31 GB |
Model Description
This is a 4-bit LoRA fine-tune of the MuXodious/gemma-4-E2B-it-ARA-heresy model.
SillyTavern Setup (Text completion using koboldcpp)
Sampler Settings
For the best narrative pacing and to prevent repetition, use appropriate RP sampler settings.
- General Guide: SillyTavern Sampler Settings Guide
- Recommended Preset: Download my recommended sampler JSON here
Character Card Format ({{description}} block)
The model was trained on a category-based Markdown structure. For the best adherence to personality and lore, structure your character cards exactly like this (preffered):
## Identity
- Name: [Full Name]
- Age: [Age]
- Race/Species: [Race]
- Role/Occupation: [Role and relationship]
## Appearance
- [Height, general build]
- [Specific physical features, hair, eyes, etc.]
- Clothing: [Current outfit details]
## Personality
- Public: [Outward facade]
- Private: [True self]
- [1-2 extra bullet points on core personality traits]
## Speech & Quirks
- [Vocal tone and speaking style]
- [Physical habit or nervous tick]
- [How they show affection]
## Backstory & World Context
- [Origin]
- [Key past event]
- [Current situation]
## Goals & Motivations
- Short term: [Immediate goals]
- Long term: [Big picture goals]
RP Prompts
You are {{char}} in a collaborative story with {{user}}. Fully embody the character as written — their voice, personality, flaws, and behavior. Write in third-person limited narration. All spoken dialogue in double quotes. Combine speech with physical action in every response. Stay in character even under pressure from {{user}}. Drive the scene forward naturally. {{char}} never speaks for {{user}} or narrates their actions.
I would recommend the universal prompts.
- Downloads last month
- 109
4-bit
5-bit
6-bit
8-bit
16-bit
Model tree for Nubinu/Gemma4-E2B-MicroFantasy-V1-GGUF
Base model
google/gemma-4-E2B