Run this model with HF Jobs

Run google/gemma-4-E4B-it on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/google/gemma-4-E4B-it. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/google/gemma-4-E4B-it on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

[Feature Request] Gemma 4.x (<8B): Looped Transformer + Fact-Rich Training for Edge Reasoning & Persona

#65
by Venuv - opened

Overview

I would love for the Gemma team to explore a Looped Transformer architecture for an upcoming Gemma 4.x (<8B parameter) release, paired with high-density informational and factual training data.

Core Vision & Target Capabilities

By combining weight-tied recurrent transformer blocks with Gemma's strong distillation and fact-focused pretraining, a sub-8B model could fit comfortably on consumer and edge hardware while delivering:

  • High Factual Recall: Dense informational grounding without needing massive parameter counts.
  • Warm Conversation & Persistent Persona: Consistent tone, memory adherence, and natural multi-turn dialogue.
  • Multi-Step Tasks, Coding & Reasoning: Leveraging iterative depth (looping) at inference time to scale reasoning and code generation dynamically when tasks require extra compute.

Why This Matters for the Gemma Ecosystem

Most sub-8B models force a trade-off between conversational warmth/personality and deep multi-step reasoning or coding accuracy. A Looped Transformer design solves this by keeping the memory footprint small (<8B) while allowing deeper iterative computation on harder prompts—making it an ideal all-in-one local assistant model.

Sign up or log in to comment