User Manual

GGUF Generator lets you run the full LLM workflow — interactive learning, LoRA adaptation, training-pair generation, and quantization conversion — entirely on your smartphone. The four main features are each accessible from a tile on the home screen.

1. Common Settings

2. Interactive Learning (New GGUF)

Teach a small LLM from scratch through chat — instruction by instruction, response by response. The learning state is saved and resumed as a Retrainable GGUF.

Basic flow

  1. Tap "New" to initialize a model. Set the config (dModel / ff / layers / ctx) and learning rate.
  2. Type an instruction → tap "New Learn" → type the response → tap "New Learn". The model is trained and the result is shown immediately.
  3. After training, the button becomes "Re-learn". Tap to reinforce the last pair with repeated training passes.
  4. "Response Learn" uses the model's last reply as the instruction and your input as the response — useful for teaching conversation flow.
  5. "Try Inference" tests the model's current response at any time.
  6. Tap "Export GGUF" to save a Retrainable GGUF in F32 / F16 / Q8_0 precision.

Continuous Learning (tap to expand)

Resuming from a saved GGUF

Tap "Load GGUF" to reload a previously saved Retrainable GGUF. The training corpus history and Adam optimizer state are restored, letting you continue exactly where you left off. See Retrainable GGUF for details.

3. Interactive Learning (LoRA)

Layer LoRA adapters on top of an existing GGUF model through chat. The base weights are frozen; only the small adapter matrices are trained, keeping things lightweight.

Supported architectures

llama / gemma3 / qwen3 / LFM2 (under 1B recommended)

Basic flow

  1. Tap "Load model" to load the base GGUF.
  2. Use "New Learn" and "Response Learn" to train the adapter interactively (same steps as New GGUF).
  3. Tap "Export adapter" to save the LoRA adapter GGUF.
  4. In-progress state (training pairs + optimizer) is embedded in the adapter GGUF. Resume via "Load adapter".

Continuous LoRA Learning

LoRA settings (tap to expand)

ParameterDescriptionGuide
rank (r)Adapter capacity (low-rank dimension)4–16 (8 recommended)
alpha (α)Effective scale = α ÷ rSame as rank or 1–2×
Learning rateAdam update step size0.001–0.003
Steps/pairMax epochs per pair1–3
targetsTarget projections (q,v by default)q,k,v,o,gate,up,down

4. Pair Edit & Generation

Use an LLM server to auto-generate and edit training pairs. Saved pairs feed directly into Interactive Learning batch import.

Pair list operations

LLM operations

LLM operations require an Ollama-compatible server. Set the server URL and model in Settings → "Fetch" first.

5. Quantization Conversion

Convert any existing GGUF file to a different quantization type on-device.

  1. Tap "Pick source GGUF" to select the source file.
  2. Select the target quantization type (F32 > F16 > Q8_0 > Q6_K > Q5_K_M > Q4_K_M > Q3_K_M > Q2_K — progressively smaller, faster, and lower precision).
  3. Tap "Run quantization".

Early Stopping & Evaluation (optional, shared across all training modes)

Tips