Run 3 Open-Source LLMs on Google Colab - for FREE ⚡️ Top Generative AI Model Hands-on (Hugging Face)

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ม.ค. 2025

ความคิดเห็น •

  • @Analyticsvidhya
    @Analyticsvidhya  5 หลายเดือนก่อน

    Book FREE 1:1 Mentorship for Gen AI / Data Science
    Link 🔗 bit.ly/3wlIIGz

  • @souravbarua3991
    @souravbarua3991 ปีที่แล้ว +3

    Thank you for the video. I have used mistral 7b open source model with ctransformer and langchain in my project. From this video I came to know 3 more open source models I can use in my project.

    • @Analyticsvidhya
      @Analyticsvidhya  ปีที่แล้ว

      Hey Sourav, will be interesting to hear more on your project. Is it documented on GitHub?
      Also, share your experience of Mistral-7b model with us.

    • @souravbarua3991
      @souravbarua3991 ปีที่แล้ว +1

      @@Analyticsvidhya Glad to hear that you liked my project. No the project is not available at github yet. I will load it soon. The project is about chat with local pdf using mistral 7b model. The experience with mistral is good. To use open source llm with ctransformer is quite easy method.

    • @sv4647
      @sv4647 11 หลายเดือนก่อน +1

      ​@@Analyticsvidhya Hi for my project I am looking for small huggingface model that can understand both code and text.
      In my chatbot project I am loading github repositories and asking question on it.

    • @knkn5049
      @knkn5049 11 หลายเดือนก่อน

      ​@@souravbarua3991do you know how to change code so it would remember your dialogue? Today i have fould some step-by-step tutorial for colab, launched it and every answer takes 7 minutes, is it ok?

  • @swetasharma8467
    @swetasharma8467 ปีที่แล้ว

    Excellent video! Thanks for explaining the process in detailed manner. Looking forward to more videos!!

  • @ayushsharma413
    @ayushsharma413 11 หลายเดือนก่อน

    Thank you so much, I've been searching about hosting llms on colab and using it.

  • @eduardoerlo5197
    @eduardoerlo5197 8 หลายเดือนก่อน

    This channel is amazing!

  • @AliYlmaz-nb4vn
    @AliYlmaz-nb4vn 7 หลายเดือนก่อน

    Thank you for sharing, one notice: transformers > 4.38 causes bug in inference for the models.

  • @abdulazizdeveloper7915
    @abdulazizdeveloper7915 8 หลายเดือนก่อน

    excellent explanation thank u very much

  • @aatkafaryal1199
    @aatkafaryal1199 11 หลายเดือนก่อน

    I am getting below error when running gradio sinppet
    cannot import name 'Doc' from 'typing_extensions'. I tried this but still not working.
    !pip install gradio
    import gradio
    import torch

    • @Analyticsvidhya
      @Analyticsvidhya  11 หลายเดือนก่อน

      Try restarting runtime and then executing the Gradio part

  • @AbhishekKumar-p4d1j
    @AbhishekKumar-p4d1j ปีที่แล้ว

    Greaatt Video!!

  • @hajamydeen2025
    @hajamydeen2025 11 หลายเดือนก่อน

    thank u for good teaching

  • @mekkicharfi5454
    @mekkicharfi5454 7 หลายเดือนก่อน

    Very nice job . I subscribe in your page . Thank you very much !

  • @bibimblapblap
    @bibimblapblap 10 หลายเดือนก่อน

    How can you avoid needing to download the model every time? I saved the model to GDrive and transferred to cache in a new session but can't successfully load from cache

    • @Analyticsvidhya
      @Analyticsvidhya  10 หลายเดือนก่อน

      Refer to this discussion thread for your resolution: discuss.huggingface.co/t/saving-loading-model-in-colab-and-making-predictions/6723

  • @swapnil0402
    @swapnil0402 ปีที่แล้ว

    Thanks for the video. I am getting below error when running gradio sinppet
    cannot import name 'Doc' from 'typing_extensions'
    can you please help me to understand how to resolve it. Thanks.

    • @Analyticsvidhya
      @Analyticsvidhya  ปีที่แล้ว

      Can you share your query on our community platform: community.analyticsvidhya.com/
      Also share screenshots. Let's discuss this there.

    • @vassilissolachidis1199
      @vassilissolachidis1199 ปีที่แล้ว +1

      It's colab's issue. Try this
      !pip install gradio
      import gradio
      import torch
      (if you have already imported torch restart the kernel)

    • @swapnil0402
      @swapnil0402 ปีที่แล้ว

      @@vassilissolachidis1199 thanks for the help. Was able to resolve the issue.

  • @abdulazizdeveloper7915
    @abdulazizdeveloper7915 8 หลายเดือนก่อน

    I have a question , can I make this code as an API ? because I want to make graduation project to build a Generative AI mobile app .

    • @Analyticsvidhya
      @Analyticsvidhya  8 หลายเดือนก่อน

      Dear learner, drop an email to our Career Counselling team for a free mentorship session: ummed@analyticsvidhya.com
      Alternatively, you may call on the any of the following numbers:
      Line1: +91 8068342847
      Line2: +91 8046107668

  • @Kkschannel-zk3up
    @Kkschannel-zk3up 5 หลายเดือนก่อน

    Does it have a word limit?

    • @Analyticsvidhya
      @Analyticsvidhya  5 หลายเดือนก่อน

      Yea, look up for context window length. Generally it's 128k