Upgrade to Pro — share decks privately, control downloads, hide ads and more …

LT - Gemma Developer Time

Avatar for ほき ほき
October 19, 2024

LT - Gemma Developer Time

GDGs Innovative Crosstalk at 東大 【関西 x 東京】のLTセッションでの登壇資料です
https://gdgkwansai.connpass.com/event/329411/

Avatar for ほき

ほき

October 19, 2024
Tweet

More Decks by ほき

Other Decks in Technology

Transcript

  1. Gemma 概要 •“A family of lightweight, state-of-the art open models

    built from the same research and technology used to create the Gemini models” •特徴 • 規模において比類のないパフォーマンス • フレームワークの柔軟性 • 責任に配慮した設計 2024/10/19 3
  2. Gemma 概要 •“A family of lightweight, state-of-the art open models

    built from the same research and technology used to create the Gemini models” •特徴 • 規模において比類のないパフォーマンス • フレームワークの柔軟性 • 責任に配慮した設計 2024/10/19 4
  3. デモ ローカル実行(MacBook) 2024/10/19 9 • usr: 次の文章を和訳してください.To be or not

    to be, that is the question; Whether ’tis nobler in the mind to suffer The slings and arrows of outrageous fortune, Or to take arms against a sea of troubles And, by opposing, end them. • response: 「生きるか死ぬか、その答えは何か?」「苦難の矢や、不条理の波 に耐え忍ぶほうが賢明か、あるいは、敵対して困難を打ち破り、その苦しみを終 わらせるほうが賢明か。」 • response time: 6.06 秒
  4. デモ ローカル実行(ラズパイ 5) 2024/10/19 10 • usr: 次の文章を和訳してください.To be or

    not to be, that is the question; Whether ’tis nobler in the mind to suffer The slings and arrows of outrageous fortune, Or to take arms against a sea of troubles And, by opposing, end them. • response: 「生きるか死ぬか、それは質問です。」「もっとも、苦しみを偲ぶほう が懸命なのか、あるいは、暴力的で不受理な運命の矢や医師を打ち破り、その 苦しみを終わらせるべきなのか。」 • response time: 57.08 秒
  5. Gemmaファミリー • ShieldGemma • PaliGemma • CodeGemma • DataGemma •

    RecurrentGemma • 効率重視のモデル • Gemma Scope • Gemma 2 の内部理解 2024/10/19 15
  6. デモ func main() { // Create a channel of strings

    ch := make(chan string) // Start a goroutine to send strings to the channel go func() { ch <- "Hello, world!" ch <- "This is a string from a goroutine." close(ch) }() // Use a range over function to receive strings from the channel for s := range ch { fmt.Println(s) } } 2024/10/19 19