~/talk

Integrating the Gemma model family in Transformers

links:none on file
slides:none on file

Finished integrating Gemma 3 in Transformers and shipping device‑agnostic code with integration tests, CLI support and Hugging Face repo weights for reproducibility. Key practical notes: attention masks for mixed image and text tokens require a sliding‑window causal mix, provide token IDs and sample inputs, and include reproduction snippets. Watch out for a bfloat16 position‑ID bug that breaks RoPE when position IDs get cast, and for alternate RoPE formulations that force rotary embedding weight rotations and careful head resizing to avoid corrupting token distributions.

AI-written summary · about

  1. 0:00Why integrate with transformers
  2. 3:41Best practices for integration
  3. 7:27Collaboration and tools
  4. 9:33Integration workflows
  5. 10:52Debugging common issues
  6. 12:45Advanced model challenges
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.