Fine-Tuning Gemma Models in Hugging Face

Practical AI: Tools, Models & Frameworksfine-tuning

What changed

The Gemma family of models also happens to be well suited for prototyping and experimentation using the free GPU resource available via Colab. The default (full weight) training for language models, even for modest sizes, tends to be memory and compute-intensive. Together with the Gemma release, we have also improved the FSDP experience for PyTorch/XLA in Hugging Face.

Why it matters

A concrete addition to Practical AI: Tools, Models & Frameworks: it changes what's available to builders today rather than being general commentary.

How it compares

Related prior coverage to compare against:

  • Introducing Hugging Face for Education ๐Ÿค—
  • Fine-tune Any LLM from the Hugging Face Hub with Together AI
  • Fine-tuning now available for GPT-4o

Sources