~/talk

Demo: Using Gemma with the Hugging Face ecosystem

Talkat Gemma Developer Day 2024 · on Thursday, 2024-03-07· [large-language-models, open-source]
links:none on file
slides:none on file

Gemma models run in the Hugging Face ecosystem with three lines of code for tokenizer, model load, and generate; Transformers adds performance gains (Flash Attention 2, Torch Compile) making Gemma up to three to four times faster. Training uses Datasets plus PEFT and TRL so you can fine-tune 7B in 16GB by combining 4/8-bit quantization and LoRA, and TRL supplies trainers for SFT, reward modeling, PPO. Models push to the Hub and deploy via inference API, AWS, or Vertex AI; a notebook fine-tunes Gemma 2B in Colab.

AI-written summary · about

  1. 0:00Introduction to ecosystem
  2. 1:46Model inference techniques
  3. 4:11Data loading strategies
  4. 5:13Training and fine-tuning
  5. 7:40Deployment and conclusion
~/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.