GGUF
English
llama.cpp
llama-cpp
unsloth
gemma4
Mixture of Experts
vision-language-model
conversational
socratic
tutor

Gemma 4 26B-A4B Socratic Tutor (GGUF)

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's gemma-4-26B-A4B-it-qat-UD-Q4_K_XL GGUF via llama-export-lora.
  • Behavior: Trained on non-thinking Socratic dialogues (direct, concise responses without <|channel>thought traces).

Training Data

Trained on a mixture of three open Socratic tutoring datasets:

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.cpp CLI & 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
  • Multi-GPU Tensor Split: Because the LoRA weights are already merged into the base GGUF, --split-mode tensor works out of the box across dual 12 GB GPUs without manual .experts. key stripping or llama-export-lora merging (pair with -fa on -ctk q8_0 -ctv q8_0 to reduce KV cache VRAM usage, and --no-mmproj if running text-only).
  • Custom Jinja Template: Jinja chat template located in the repo as gemma4-socratic.jinja is 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
GGUF
Model size
25B params
Architecture
gemma4
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for WintsWorks/gemma-4-26b-a4b-tutor-GGUF

Datasets used to train WintsWorks/gemma-4-26b-a4b-tutor-GGUF