This tutorial looks useful: https://ai.google.dev/gemma/docs/core/huggingface_text_full_...
Just what I was looking for. Thanks!