Find More Examples on the Optimum-TPU GitHub Repository

To find the latest examples, visit the examples folder in the optimum-tpu repo on github

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 (view in the docs)

The full notebook is available at examples/language-modeling/gemma_tuning.ipynb

  1. LLaMA Fine-tuning Guide (view in the docs)

The full notebook is available at examples/language-modeling/llama_tuning.ipynb

Additional Resources

To contribute to these examples, visit our GitHub repository.