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

  Рет қаралды 12,964

Analytics Vidhya

Analytics Vidhya

Күн бұрын

Here's how to get started and perform hands-on with leading open-source Generative models - using the free T4 GPU on Google Colab.
✅ Download Free Resources & Code Here 🔗 bit.ly/45X8k8N
✅ Run Stable Diffusion on Colab [Part-2] 🔗 • Run Stable Diffusion i...
In the last 1 year, the world has been wholeheartedly appreciative of ChatGPT and all the cool stuff we may do with it. But all this while, there’s been a silent revolution that has taken shape and is now ready to disrupt this whole domain of Generative AI. This silent revolution is nothing but the emergence of more than a handful of Open Source Models that have been released into the public domain. Some of these Open Source Models, have even beaten or gotten fairly close to GPT-4 on certain task-specific use cases, like Code Writing.
So, in this video, we are going to perform hands-on with three different Open Source Generative Models:
1️⃣ Dolly-v2-3b Model (Databricks) 🔗 huggingface.co/databricks/dol...
2️⃣ Falcon-7b-Instruct Model (TII) 🔗 huggingface.co/tiiuae/falcon-...
3️⃣ Stable-Diffusion-v1-5 (RunwayML) 🔗 huggingface.co/runwayml/stabl...
---------------------
Sections 🔥
---------------------
00:00 Introduction
01:44 Dolly-v2-3b (Databricks)
07:17 Let's build an AI App on Dolly-v2-3b
09:28 Falcon-7B-Instruct (TII)
10:22 Stable Diffusion v1-5
To ensure that all of us are able to follow along, we’ll be running these models on the free version of Google Colab - using their free T4 GPU. In fact, that’s the precise reason why we have chosen these smaller-sized Models, so that we may do our inference seamlessly. Yes, smaller model means deteriorated performance. But the idea here is to know the possibilities rather than pursuing perfection.
---------------------
Tags ⭐️
---------------------
run open-source LLM for free in Google Colab/Kaggle
free gpu
open source llm
open source llm models
llm open source
opensource llm
free member nvidia
llm inference
free cloud gpu
free gpu cloud
cloud gpu free
free gpu for deep learning
free gpu online
free gpu cloud computing
google cloud gpu availability
free online gpu

Пікірлер: 29
@Analyticsvidhya
@Analyticsvidhya 8 күн бұрын
Book FREE 1:1 Mentorship for Gen AI / Data Science Link 🔗 bit.ly/3wlIIGz
@swetasharma8467
@swetasharma8467 9 ай бұрын
Excellent video! Thanks for explaining the process in detailed manner. Looking forward to more videos!!
@Analyticsvidhya
@Analyticsvidhya 9 ай бұрын
Glad it was helpful!
@souravbarua3991
@souravbarua3991 9 ай бұрын
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 9 ай бұрын
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 9 ай бұрын
@@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 6 ай бұрын
​@@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 6 ай бұрын
​@@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?
@ayushsharma413
@ayushsharma413 5 ай бұрын
Thank you so much, I've been searching about hosting llms on colab and using it.
@Analyticsvidhya
@Analyticsvidhya 5 ай бұрын
You're very welcome!
@hajamydeen2025
@hajamydeen2025 6 ай бұрын
thank u for good teaching
@abdulazizdeveloper7915
@abdulazizdeveloper7915 3 ай бұрын
excellent explanation thank u very much
@AliYlmaz-nb4vn
@AliYlmaz-nb4vn 2 ай бұрын
Thank you for sharing, one notice: transformers > 4.38 causes bug in inference for the models.
@eduardoerlo5197
@eduardoerlo5197 2 ай бұрын
This channel is amazing!
@Analyticsvidhya
@Analyticsvidhya 2 ай бұрын
Thanks! 😃
@mekkicharfi5454
@mekkicharfi5454 Ай бұрын
Very nice job . I subscribe in your page . Thank you very much !
@user-tj1io2ts4b
@user-tj1io2ts4b 9 ай бұрын
Greaatt Video!!
@Analyticsvidhya
@Analyticsvidhya 8 ай бұрын
Glad you liked!!
@Kkschannel-zk3up
@Kkschannel-zk3up 9 күн бұрын
Does it have a word limit?
@aatkafaryal1199
@aatkafaryal1199 6 ай бұрын
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 6 ай бұрын
Try restarting runtime and then executing the Gradio part
@bibimblapblap
@bibimblapblap 5 ай бұрын
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 5 ай бұрын
Refer to this discussion thread for your resolution: discuss.huggingface.co/t/saving-loading-model-in-colab-and-making-predictions/6723
@swapnil0402
@swapnil0402 8 ай бұрын
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 8 ай бұрын
Can you share your query on our community platform: community.analyticsvidhya.com/ Also share screenshots. Let's discuss this there.
@vassilissolachidis1199
@vassilissolachidis1199 7 ай бұрын
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 7 ай бұрын
@@vassilissolachidis1199 thanks for the help. Was able to resolve the issue.
@abdulazizdeveloper7915
@abdulazizdeveloper7915 3 ай бұрын
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 3 ай бұрын
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
Fine-tuning Large Language Models (LLMs) | w/ Example Code
28:18
Shaw Talebi
Рет қаралды 287 М.
Sigma girl and soap bubbles by Secret Vlog
00:37
Secret Vlog
Рет қаралды 15 МЛН
لااا! هذه البرتقالة مزعجة جدًا #قصير
00:15
One More Arabic
Рет қаралды 15 МЛН
Box jumping challenge, who stepped on the trap? #FunnyFamily #PartyGames
00:31
Family Games Media
Рет қаралды 18 МЛН
Can A Seed Grow In Your Nose? 🤔
00:33
Zack D. Films
Рет қаралды 29 МЛН
Run any AI model remotely for free on google colab
7:11
Tech with Marco
Рет қаралды 17 М.
How to Improve LLMs with RAG (Overview + Python Code)
21:41
Shaw Talebi
Рет қаралды 43 М.
Fine-tuning LLMs with PEFT and LoRA
15:35
Sam Witteveen
Рет қаралды 120 М.
Generative AI in a Nutshell - how to survive and thrive in the age of AI
17:57
Sigma girl and soap bubbles by Secret Vlog
00:37
Secret Vlog
Рет қаралды 15 МЛН