Overview

Welcome to the 🤗 Optimum-TPU tutorials! Here you’ll find comprehensive examples and guides to help you leverage Google Cloud TPUs effectively with Hugging Face models.

Available Examples

Text Generation

Learn how to perform efficient inference for text generation tasks:

Language Model Fine-tuning

Explore how to fine-tune language models on TPU infrastructure:

  1. Interactive Gemma Tutorial (examples/language-modeling/gemma_tuning.ipynb)

  2. LLaMA Fine-tuning Guide (examples/language-modeling/llama_tuning.ipynb)

Additional Resources

For the latest updates and to contribute to these examples, visit our GitHub repository.