Demo: Rapid prototyping with Gemma and Llama.cpp

Поділитися
Вставка
  • Опубліковано 22 сер 2024
  • Learn how to run Gemma locally on your laptop using Llama.cpp and quantized models.
    Checkout more videos of Gemma Developer Day 2024 → goo.gle/440EAIV
    Subscribe to Google for Developers → goo.gle/develo...
    #Gemma #GemmaDeveloperDay
    Event: Gemma Developer Day 2024

КОМЕНТАРІ • 57

  • @ayoubachak2154
    @ayoubachak2154 4 місяці тому +18

    I've used gemma for a benchmark in a research project I'm working on, where I compared human results against AI, gemma was the closest after bloom 176B, followed by models like mistral instruct 7Band llama 34B, even the 2b version did pretty well, great work team 👏🏻

    • @polish4932
      @polish4932 4 місяці тому +1

      Hi mate, if you'd like to compare diff models for the same question, you do so on Wordware. Highly recommending it! ;)

    • @ayoubachak2154
      @ayoubachak2154 3 місяці тому

      @@polish4932 thank you

  • @banzai316
    @banzai316 4 місяці тому +23

    Very cool, thank you!
    I like this format with demos. We are developers!

  • @flynnmc9748
    @flynnmc9748 4 місяці тому +19

    This is a fantastic format for a talk, insightful and engaging for a viewer!!!

  • @judevector
    @judevector 4 місяці тому +5

    Wow this is so cool 😎, developers changing the world

  • @arpitkumar4525
    @arpitkumar4525 4 місяці тому +9

    Minimum System Requirements for running a model locally?

  • @kevinkawchak
    @kevinkawchak 2 місяці тому

    Thank you for the discussion.

  • @Daniel-zl7wf
    @Daniel-zl7wf 4 місяці тому +3

    At 9:03, Gemma shows some solid satire

  • @svenkoesling
    @svenkoesling 4 місяці тому +5

    Just my two cents: 1. No explanation on how to connect LM Studio to the Llama.cpp, 2. newest hardware required - at least it doesn't work on my M1 with eight performance cores and 32 GB Ram

  • @arpitkumar4525
    @arpitkumar4525 4 місяці тому +2

    Really cool and simple to understand

  • @ser1ification
    @ser1ification 4 місяці тому +4

    Thanks for the demo!

  • @thesimplicitylifestyle
    @thesimplicitylifestyle 2 місяці тому

    I was looking for this! Thanks! 😎🤖

  • @forrestfeng1098
    @forrestfeng1098 2 місяці тому

    Like it very good sharing.

  • @voidan
    @voidan 4 місяці тому +5

    how do you connect the LM Studio to llama.cpp? you used a preset which was probably custom.

  • @parisneto
    @parisneto 4 місяці тому +2

    CODE would be awesome, as well as knowing the SPEC of the notebook as it’s easy to buy a sub1k or 5K+ at apple store depending on so many factors…

  • @zencephalon
    @zencephalon 4 місяці тому +5

    Good demo, nice tooling suggestions out of this

  • @johnkost2514
    @johnkost2514 4 місяці тому +1

    Wrapped in the llamafile runtime it is an even better single file .. oh yes!

  • @MyEthan1998
    @MyEthan1998 4 місяці тому +1

    If anyone faces an error on Mac about "network error: self signed certificate", close the app and use terminal, run "NODE_TLS_REJECT_UNAUTHORIZED=0 open -a "LM Studio" "
    This reopens the app and the error should go away. I have no idea where to put this info sooooo...

  • @ChrisTrotter-oj9du
    @ChrisTrotter-oj9du 3 місяці тому

    good, thank you

  • @cho7official55
    @cho7official55 4 місяці тому +4

    Cool demo, I'll try it

  • @monamibob
    @monamibob 4 місяці тому

    Very interesting demo!
    What kind of extra work would be required to run this without LM Studio? Does Llama.cpp contain the necessarry functions to load models as servers you can interrogate?

  • @some1rational
    @some1rational 3 місяці тому

    Has anyone else tried doing this? I tried following this exactly with LM Studio using the exact model and prompt but I am consistently getting atrocious outputs; the gemma model is just outputting gibberish or incorrectly formatted JSON.
    I wish there were more details on the presets used.

  • @TheOrator_Ese
    @TheOrator_Ese 4 місяці тому

    Very nice 👌 cool Demo

  • @MacGuffin1
    @MacGuffin1 4 місяці тому

    Great choice of demo app!!

  • @amatuerIdeas
    @amatuerIdeas 4 місяці тому +7

    damnn its using 15 gb of ram i have an 8gb m1 i dont think it will work for me..

    • @lorenzo9196
      @lorenzo9196 4 місяці тому +3

      You can download a quantized version 8 maybe 4-5 bits

    • @amatuerIdeas
      @amatuerIdeas 4 місяці тому

      @@lorenzo9196 okay i will try

  • @andreawijayakusuma6008
    @andreawijayakusuma6008 Місяць тому

    did gemma should use GPU ? so I wanna try to learn this model, but I didn't want to use GPU

  • @digisignD
    @digisignD 4 місяці тому +2

    Cool. Will definitely use this soon

  • @airhead2741
    @airhead2741 4 місяці тому +1

    Is this meant to be super accessible? If I have an APU, on a laptop with no GPU or NPU(?), that means I can expect it to run fairly well? Also considerations for a lighter yet usable model?

    • @erickcarrasco1938
      @erickcarrasco1938 4 місяці тому

      I tried that in an old APU, very slow generations but the same result.

    • @user-vq8on7dh1y
      @user-vq8on7dh1y 4 місяці тому

      Nah, Gemma is just a parot. It is released for fine-tuning, aka research purpose.

  • @tonydevelopingstuff
    @tonydevelopingstuff 4 місяці тому

    Very nice!!!!

  • @bonadio60
    @bonadio60 4 місяці тому +1

    Very nice, but what is your computer spec? Memory and chip?

    • @darthvader4899
      @darthvader4899 4 місяці тому

      Probably m3 max 128gb

    • @JJN631
      @JJN631 4 місяці тому

      Gemma 7b can run on a rtx 4060 laptop

  • @A032798
    @A032798 4 місяці тому

    How about windows environment? Is LMstudio/Ollama a better choice?

  • @nayzawminnaing2562
    @nayzawminnaing2562 4 місяці тому +1

    That's a lot of RAM to run this for me.

  • @dtmdota6181
    @dtmdota6181 4 місяці тому

    Anyone notice ram usage of 16.68 GB? What was that?

  • @takudzwamakusha5941
    @takudzwamakusha5941 4 місяці тому

    This is so cool.

  • @emmanuelokorafor1705
    @emmanuelokorafor1705 4 місяці тому +17

    It's cool now, but what if each application starts deploying local models. It'll turn our phones into what data centers were meant for thereby reducing costs for large corporations. Trading a few megabytes for faster and more expensive chips.

    • @cmoncmona959
      @cmoncmona959 4 місяці тому +4

      Please Elaborate. What were data centres meant for? Asides hardware to run inference of worldwide requests. If it’s done locally, surely it’s better for redundant tasks. Also, the data centres use a lot of megabytes and expensive chips.

  • @indylawi5021
    @indylawi5021 4 місяці тому

    Very cool demo 👍. Any chance we can get the source code 😀

  • @zoomatic293
    @zoomatic293 4 місяці тому

    This is so cool :)

  • @devagarwal3250
    @devagarwal3250 4 місяці тому +6

    Pls provide source code also

  • @awakenwithoutcoffee
    @awakenwithoutcoffee 4 місяці тому

    where can we learn to set this up ?

  • @KuldeepSingh-in6js
    @KuldeepSingh-in6js 4 місяці тому

    cool demo

  • @yubrshen
    @yubrshen 4 місяці тому +1

    What’s the required hardware specs?

  • @deeplearningpartnership
    @deeplearningpartnership 4 місяці тому

    Awesome.

  • @tandaramandaraba
    @tandaramandaraba 4 місяці тому

    wow

  • @AIPeter-dd9hr
    @AIPeter-dd9hr 4 місяці тому

    game using lm studio, interesting.

  • @savire.ergheiz
    @savire.ergheiz 4 місяці тому +1

    Just focus on your existing products Google. Which are a mess 😂

  • @Killputin777
    @Killputin777 4 місяці тому

    never trust google products.

  • @f00kwhiteblackracismwarsh07
    @f00kwhiteblackracismwarsh07 4 місяці тому +1

    Google seems to be trying out too many new things. to me thats a turn off and red flag. everyone is different 🙂