Instructions to use WintsWorks/gemma-4-26b-a4b-tutor-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 WintsWorks/gemma-4-26b-a4b-tutor-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 WintsWorks/gemma-4-26b-a4b-tutor-GGUF:Q4_K_XL # Run inference directly in the terminal: llama cli -hf WintsWorks/gemma-4-26b-a4b-tutor-GGUF:Q4_K_XL
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf WintsWorks/gemma-4-26b-a4b-tutor-GGUF:Q4_K_XL # Run inference directly in the terminal: llama cli -hf WintsWorks/gemma-4-26b-a4b-tutor-GGUF:Q4_K_XL
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf WintsWorks/gemma-4-26b-a4b-tutor-GGUF:Q4_K_XL # Run inference directly in the terminal: ./build/bin/llama cli -hf WintsWorks/gemma-4-26b-a4b-tutor-GGUF:Q4_K_XL
Use Docker
docker model run hf.co/WintsWorks/gemma-4-26b-a4b-tutor-GGUF:Q4_K_XL
- Llama new
- LM Studio
- Jan
- Ollama
How to use WintsWorks/gemma-4-26b-a4b-tutor-GGUF with Ollama:
ollama run hf.co/WintsWorks/gemma-4-26b-a4b-tutor-GGUF:Q4_K_XL
- Unsloth Desktop
- Pi
How to use WintsWorks/gemma-4-26b-a4b-tutor-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf WintsWorks/gemma-4-26b-a4b-tutor-GGUF:Q4_K_XL
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:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "WintsWorks/gemma-4-26b-a4b-tutor-GGUF:Q4_K_XL" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use WintsWorks/gemma-4-26b-a4b-tutor-GGUF with Docker Model Runner:
docker model run hf.co/WintsWorks/gemma-4-26b-a4b-tutor-GGUF:Q4_K_XL
- Lemonade
How to use WintsWorks/gemma-4-26b-a4b-tutor-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull WintsWorks/gemma-4-26b-a4b-tutor-GGUF:Q4_K_XL
Run and chat with the model
lemonade run user.gemma-4-26b-a4b-tutor-GGUF-Q4_K_XL
List all available models
lemonade list
- Hermes Agent
How to use WintsWorks/gemma-4-26b-a4b-tutor-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 WintsWorks/gemma-4-26b-a4b-tutor-GGUF:Q4_K_XL
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:9931/v1 hermes config set model.default WintsWorks/gemma-4-26b-a4b-tutor-GGUF:Q4_K_XL
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use WintsWorks/gemma-4-26b-a4b-tutor-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf WintsWorks/gemma-4-26b-a4b-tutor-GGUF:Q4_K_XL
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:9931/v1 \ --custom-model-id "WintsWorks/gemma-4-26b-a4b-tutor-GGUF:Q4_K_XL" \ --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"
Gemma 4 26B-A4B Socratic Tutor (GGUF)
- Developed by: WintsWorks
- License: cc-by-nc-4.0
- Finetuned from model:
WintsWorks/gemma-4-26b-a4b-tutor-lora(base:unsloth/gemma-4-26B-A4B-it)
A pre-merged 4-bit GGUF build (gemma-4-26B-A4B-tutor-Q4_K_XL.gguf) of WintsWorks/gemma-4-26b-a4b-tutor-lora fine-tuned to act as a concise Socratic tutor. Instead of giving away direct solutions or lecturing, the model guides the user through problems with targeted questions and hints—even across multi-turn pushback.
Available Model Files
gemma-4-26B-A4B-tutor-Q4_K_XL.gguf— Merged Unsloth Dynamic 4-bit (Q4_K_XL) model weights (~14 GB; 26B total parameters, 4B active per token).gemma-qat-mmproj.gguf— Multimodal projector (1.2 GB) for vision and audio inputs.
Intended Use
- Primary use: Interactive tutoring, debugging walkthroughs, and self-study (especially when paired with RAG over textbooks or course notes).
- Out of scope: Direct Q&A, summarization, or tasks where you want an immediate, complete answer.
Training & Merge Details
- Base model:
unsloth/gemma-4-26B-A4B-it - Method: 4-bit QLoRA trained with Unsloth + TRL on 2x T4 GPUs, converted to GGUF (with
.experts.keys stripped), and baked into Unsloth'sgemma-4-26B-A4B-it-qat-UD-Q4_K_XLGGUF viallama-export-lora. - Behavior: Trained on non-thinking Socratic dialogues (direct, concise responses without
<|channel>thoughttraces).
Training Data
Trained on a mixture of three open Socratic tutoring datasets:
AndreiSobo/PACT-Socratic-Coding-Tutor(MIT) — coding and debugging Socratic dialogues.ulises-c/SocratDataset-EN(CC-BY-4.0) — general science and educational Socratic dialogues.ulises-c/SocraTeach_Multi(CC-BY-NC-4.0) — multi-turn Socratic teaching conversations.
Because SocraTeach_Multi is licensed under CC-BY-NC-4.0, this model is released under cc-by-nc-4.0 for non-commercial use.
Usage & Local Inference Notes
llama.cppCLI & Server:- Multimodal CLI:
llama-mtmd-cli -hf WintsWorks/gemma-4-26b-a4b-tutor-GGUF --jinja - Text-only CLI (skips downloading/loading
mmproj):llama-cli -hf WintsWorks/gemma-4-26b-a4b-tutor-GGUF --no-mmproj --jinja - OpenAI-compatible server:
llama-server -hf WintsWorks/gemma-4-26b-a4b-tutor-GGUF --jinja -ngl 99 -fa on -c 32768
- Multimodal CLI:
- Multi-GPU Tensor Split: Because the LoRA weights are already merged into the base GGUF,
--split-mode tensorworks out of the box across dual 12 GB GPUs without manual.experts.key stripping orllama-export-loramerging (pair with-fa on -ctk q8_0 -ctv q8_0to reduce KV cache VRAM usage, and--no-mmprojif running text-only). - Custom Jinja Template: Jinja chat template located in the repo as
gemma4-socratic.jinjais available, and helps secure the role intended as a Socratic tutor (--chat-template-file gemma4-socratic.jinja).
Recommended System Prompt
You are a Socratic tutor. Guide the student with questions and hints rather than giving direct answers.
(When using RAG, instruct the model to treat retrieved context as private reference material rather than quoting solutions directly.)
Limitations & Evaluation
- No formal benchmarks: Evaluated qualitatively through multi-turn tutoring and pushback testing rather than automated benchmarks.
- Thinking mode: Because the adapter was trained without reasoning traces, it strongly favors immediate responses even when
<|think|>is enabled. - MoE expert weights: The merged adapter updates the attention and shared dense MLP layers while leaving the routed MoE expert weights intact.
- Downloads last month
- 380
4-bit
Model tree for WintsWorks/gemma-4-26b-a4b-tutor-GGUF
Base model
google/gemma-4-26B-A4B