AI Cloud Architect

How the community trained Gemma to "Think" with Tunix and TPUs

GoogleBlog post by Wei Wei, Weiren Yu, Tianshu Bao, Lance Wang and Chris AchardGoogle Developers Blog

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

Community entries from a Tunix hackathon show how to train Gemma-2-2B and Gemma-3-1B to produce explicit reasoning traces using SFT, SimPO and GRPO on Kaggle TPUs.

Who it is for

Developers who want to post-train small open Gemma models for reasoning on free or low-cost TPU budgets.

Key points

  • Hackathon limit was Kaggle TPU v5e-8 for 9 hours per entry, according to the post.
  • Winning recipes combine SFT, preference optimization and GRPO, with LLM-as-judge or TF-IDF rewards.
  • Winners' code extends the Tunix library; the post links the Tunix repository and a Colab tutorial.

The same at other vendors

Timeline

  1. What it explainsIntroducing Tunix: A JAX-Native Library for LLM Post-Training · Google · Announcement
  2. This postHow the community trained Gemma to "Think" with Tunix and TPUs

Go deeper