Тёмный

Google Gemini Pro LLM Model Free API Demo With Code- Is It Better Than OpenAI GPT's? 

Krish Naik
Подписаться 984 тыс.
Просмотров 98 тыс.
50% 1

This quickstart demonstrates how to use the Python SDK for the Gemini API, which gives you access to Google's Gemini large language models. In this quickstart, you will learn how to:
Set up your development environment and API access to use Gemini.
Generate text responses from text inputs.
Generate text responses from multimodal inputs (text and images).
Use Gemini for multi-turn conversations (chat).
Use embeddings for large language models.
Code Link: colab.research.google.com/git...
-------------------------------------------------------------------------
Support me by joining membership so that I can upload these kind of videos
/ @krishnaik06
------------------------------------------------------------------------------------------------------------------------------
►Data Science Projects:
• Now you Can Crack Any ...
►Learn In One Tutorials
Statistics in 6 hours: • Complete Statistics Fo...
Machine Learning In 6 Hours: • Complete Machine Learn...
Deep Learning 5 hours : • Deep Learning Indepth ...
►Learn In a Week Playlist
Statistics: • Live Day 1- Introducti...
Machine Learning : • Announcing 7 Days Live...
Deep Learning: • 5 Days Live Deep Learn...
NLP : • Announcing NLP Live co...
►Detailed Playlist:
Python Detailed Playlist: • Complete Road Map To B...
Python playlit in Hindi: • Tutorial 1- Python Ove...
Stats For Data Science In Hindi : • Starter Roadmap For Le...
Machine Learning In English : • Complete Road Map To B...
Machine Learning In Hindi : • Introduction To Machin...
Complete Deep Learning: • Why Deep Learning Is B...

Опубликовано:

 

19 дек 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 93   
@krishnaik06
@krishnaik06 6 месяцев назад
AI field is really becoming dynamic.Lot of changes are coming from Traditional Machine Learning to Generative AI.This field is changing dynamically and we need to update ourself as we go ahead. Join my telegram group where I post and discuss these types of content.Happy Learning!! Make sure you have telegram installed in it. t.me/+V0UeLG8ji-F8ThNb
@kundanpatil3180
@kundanpatil3180 6 месяцев назад
What factors do you consider most important when evaluating these models?
@sunilkhadka6141
@sunilkhadka6141 2 месяца назад
The colab link is not working? Could you please recheck it?
@shelby1999
@shelby1999 6 месяцев назад
Thank you Krish for keeping us updated on trending technologies!
@omsaikommawar
@omsaikommawar 6 месяцев назад
Happy to see the gemini video on the channel😅 thanks for taking efforts that generously 😊
@himangisharma4162
@himangisharma4162 3 месяца назад
Sir, you are such a blessing to the Data World!! Thank you for being you. Extremely grateful!!!
@geekyprogrammer4831
@geekyprogrammer4831 6 месяцев назад
you deserve more than 1 million subs. I was there when you had like 100k subs or less. Great to see you growing so much!
@bichhubiswa13
@bichhubiswa13 6 месяцев назад
Thanks, Krish for quickly making a video on Gemini Pro ...
@Zaratch
@Zaratch 6 месяцев назад
👍will get to it tomorrow morning!! Someone do remind me on 21/12/2023 at around 11 A.M
@amzygawade
@amzygawade 6 месяцев назад
Can't you tell google to do that 😂
@rishiraj2548
@rishiraj2548 6 месяцев назад
What if we don’t remind you?!!🤔
@Pubba_
@Pubba_ 6 месяцев назад
This will help you with notification
@optionsniper-rs
@optionsniper-rs 6 месяцев назад
Reminder bro
@Zaratch
@Zaratch 6 месяцев назад
@@optionsniper-rs completed 🤝 thanks for the reminder!
@chandrachoodR
@chandrachoodR 6 месяцев назад
This is awesome Krish !! great to learn to build
@Danny_DB-xi5lo
@Danny_DB-xi5lo 6 месяцев назад
Explained very nicely and really amazing...❤
@m.rr.c.1570
@m.rr.c.1570 6 месяцев назад
Only RU-vid channel with upto date AI courses ❤
@omkar_gopchade143
@omkar_gopchade143 6 месяцев назад
Thank you @krish sir ❤ for the information about Gemini Ai
@VivekKumar-eg3re
@VivekKumar-eg3re 6 месяцев назад
Please also upload Mathematics lectures from basic to advance required for AI and Machine learning
@yash_rana24
@yash_rana24 6 месяцев назад
sir can you tell us which llm is best for specific task like for text generation which model is best and also for image generation .
@krishnabhutada3983
@krishnabhutada3983 6 месяцев назад
want some projects on LLM using Gemini model API key as it is free for all!!!!Thanks for this video....U make complex things simpler
@shantilalzanwar8687
@shantilalzanwar8687 6 месяцев назад
Nice video, can we give recorded videos or live feed from a CCD and get image segmentation done ?
@aleksandrbakharev5199
@aleksandrbakharev5199 6 месяцев назад
I think they were probably Chinese cats in that picture
@PRASHANTKUMARCHAUDHARYPIETCS
@PRASHANTKUMARCHAUDHARYPIETCS 6 месяцев назад
😂
@soorajugaonkar-nf3jw
@soorajugaonkar-nf3jw 6 месяцев назад
lucky to be a subscriber of you channel
@mradulnamdeo3587
@mradulnamdeo3587 6 месяцев назад
Thank you so much sir 😊🙌
@royalgun8735
@royalgun8735 6 месяцев назад
please continue this series.
@user-sx3mm5ii5u
@user-sx3mm5ii5u 4 месяца назад
hey hi krish.. can we use this llm to understand our pre existing code in the current pycharm project..?
@yudrapawar
@yudrapawar 6 месяцев назад
Thank you so much sir please upload more videos on langchain 😊😊
@nitinchauhan7421
@nitinchauhan7421 6 месяцев назад
Thank you 😃
@GaganaMD
@GaganaMD Месяц назад
Has the notebook been removed? I'm not able to access it.
@prateekbhardwaj9943
@prateekbhardwaj9943 Месяц назад
please tell me which software, camera, mic setting mode, you used to shoot this video
@amzygawade
@amzygawade 6 месяцев назад
Thank you so much
@mrudhulaks384
@mrudhulaks384 4 месяца назад
Hi, can we still use gemini-pro for review summarization ? it says deprecated since dec 2023...please suggest me good AI model for review summarization..... (free AI Model)
@tejasbankar2604
@tejasbankar2604 6 месяцев назад
Can we use it along with LangChain ?
@abhishekvarma4449
@abhishekvarma4449 6 месяцев назад
What is computation accuracy of Gemini pro
@suryateja_1902
@suryateja_1902 6 месяцев назад
Fantastic!
@Ashin3
@Ashin3 6 месяцев назад
Superb 🎉
@user-hl5zl6yj6t
@user-hl5zl6yj6t 4 месяца назад
Can we do this process in visual studio code or any other python IDE
@pendlijeevanreddy
@pendlijeevanreddy 6 месяцев назад
How can you improve performance ?
@allahabadtop5144
@allahabadtop5144 5 месяцев назад
Sir api key is not working, could you help us with that
@christinajoice3838
@christinajoice3838 6 месяцев назад
Is it possible to get images or audio in response??
@jhutanda
@jhutanda 2 месяца назад
Thank you sir.
@saisumanth1981
@saisumanth1981 6 месяцев назад
thank you sir
@kundanpatil3180
@kundanpatil3180 6 месяцев назад
What factors do you consider most important when evaluating these models?
@aravind5412
@aravind5412 6 месяцев назад
Does it work with langchain
@PallaviChauhan91
@PallaviChauhan91 2 месяца назад
Hi Krish, I am not a data scientist nor do I want to become one. I am a solopreneur who wants to integrate LLMs into my daily workflows. I need to learn how to run LLMs locally or on cloud. How to use my private data with LLMs and may be finetuning and RAG. Do you have any videos or playlists for me?
@aiforeveryone
@aiforeveryone 6 месяцев назад
Gemini api not working
@samuelahiadjipe3894
@samuelahiadjipe3894 6 месяцев назад
Hi Krish. Can you please redo the pdf question LLM système with langchain but this time using Gemini-pro ?🙏 Thanks in advance. Love from Togo 🇹🇬
@kishanprajapati6170
@kishanprajapati6170 2 месяца назад
Not able to open Google colab link.
@hamidkamal5606
@hamidkamal5606 6 месяцев назад
Gajab sir lage raho❤
@RanjitSingh-rq1qx
@RanjitSingh-rq1qx 6 месяцев назад
Sir can we fine-tune this model to on custom data ????? If it possible then make the video on fine-tune plzzzz
@JourneyMindMap
@JourneyMindMap 6 месяцев назад
Thanks
@Annamalai-jl6cc
@Annamalai-jl6cc 6 месяцев назад
Hi Sir, please take the remaining advance nlp series
@salonibhardwaj3200
@salonibhardwaj3200 3 дня назад
sir from where u learned to write all these codes
@muhammadowaiskhan6831
@muhammadowaiskhan6831 6 месяцев назад
Love from Peshawar Pakistan
@sanskarkhandelwal
@sanskarkhandelwal 3 месяца назад
Really interesting
@rkjyoti4167
@rkjyoti4167 6 месяцев назад
Awesome
@user-hk7mx3dy8q
@user-hk7mx3dy8q 4 месяца назад
hi Krish, please make a video on "Generate text to image using Gemini API". Thanks!
@manojlokesh__
@manojlokesh__ 2 месяца назад
google colab is not opening
@gauravagarwal1344
@gauravagarwal1344 6 месяцев назад
sir i was watching your stats playlist there you have shared one github link where all the files were uploaded according to you but when i tried to access those files its showing me "unable to render code block"
@krishnaik06
@krishnaik06 6 месяцев назад
Fork the repository or download the file
@user-fb2to1xf9z
@user-fb2to1xf9z 6 месяцев назад
In Github,In the Machine Learning Dictonaries, Some algorithms codes are not there and missing. only theoritical explanation is there. please upload codes and datasets for better understanding for given list of algorithms 1.KNN 2.Navie Bayes 3.Ensemble models 4.Gradient Boosting 5. Boostings (xgboost) 6.PCA 🙂🙂🙂🙂🙂
@rajeshkumar-hw1xm
@rajeshkumar-hw1xm 6 месяцев назад
Thank you sir #StopVivekBindra
@prathmeshkalyankar5737
@prathmeshkalyankar5737 5 месяцев назад
what is project name
@user-vp1np2ro5o
@user-vp1np2ro5o 6 месяцев назад
The translation of the Chinese text is "Two cats fight over territory" so the output was right ;)
@MadhuriChandanbatwe
@MadhuriChandanbatwe Месяц назад
Hi krish Gemini Pro LLM Model Free Demo Colab notebook is not available.Can you please provide the notebook?
@sam-uw3gf
@sam-uw3gf 24 дня назад
did u get the notebook?
@rishiraj2548
@rishiraj2548 6 месяцев назад
👍🙏
@user-cs5ke5di2r
@user-cs5ke5di2r 6 месяцев назад
In my case when i asked harm wala question it gives:- "Insulting someone is never a good idea. It is important to be respectful of others, even if you disagree with them. Insults are hurtful and can cause lasting damage to a person's self-esteem. If you find yourself in a situation where you feel like you need to insult someone, try to take a step back and think about the consequences. It is always better to be kind and respectful than to be hurtful and insulting." ALSO PROBABILITY OF ALL 4 CATEGORY WAS NEGLIGIBLE
@MohamedRasith-uj5te
@MohamedRasith-uj5te 5 месяцев назад
Who laughed loudly while Gemini give Chinese texts??🤣
@saramirabi1485
@saramirabi1485 Месяц назад
Hi, I have a question about Gemini, I recently developed a question answering system with Gemini, and now facing with 429 error which is about exceeding the quota... I wanted to know for anyone to guide me that is there any way to solve this? I wondered because I thought Gemini is free but it seems there are some limitation rates. I would really thank if anyone can comment and let me to learn more. PS: Thanks for this video it was really helpful in developing the QA system.
@pranavcv1265
@pranavcv1265 5 дней назад
Hey did u find any solution to this problem because now iam stuck with it
@guozhiwei8210
@guozhiwei8210 6 месяцев назад
That Chinese sentence means "Two cats are fighting", actually it is right. So I guess if you add a text "what are in this image?" and upload this image in the same prompt. Maybe it will response in English.
@gichurumuthomi8578
@gichurumuthomi8578 6 месяцев назад
I love you Krish
@aadityapaul1768
@aadityapaul1768 Месяц назад
they reduced the rpm from 60 to 15 😭
@smarhomer
@smarhomer 6 месяцев назад
Waiting for 2024 data science road map❤😢
@MusicisLife-xt4gv
@MusicisLife-xt4gv 6 месяцев назад
How many thinks he pronounce utuce instead youtube
@akshaykhandve4297
@akshaykhandve4297 6 месяцев назад
Chat gpt is much better than gemini in terms of response time and character length limit
@KumR
@KumR 5 месяцев назад
OK
@Its-Gamer
@Its-Gamer 2 месяца назад
🎯 Key Takeaways for quick navigation: 00:00: [invalid URL removed] Introduction and Channel Update - Kush Naak welcomes viewers and talks about his recent generative AI videos. - Encourages viewers to subscribe, like, and share the channel for more free educational content. 01:10: [invalid URL removed] ️ Google Gemini Pro LLM Model Free API Demo - Discusses Google's Gemini Pro LLM model and its free tier API. - Mentions limitations of the free tier (60 queries per minute). 02:20: Comparing Gemini Pro to Other LLMs - Discusses how Gemini Pro compares to other large language models (LLMs) like OpenAI GPT. - Mentions that Gemini Pro can perform similar tasks like summarization, classification, Q&A, etc. 03:00: ️ Creating an API with Gemini Pro - Explains how to create an API using Gemini Pro's free tier with a rate limit of 60 queries per minute. - Mentions providing a link to the documentation and code in the video description. 04:41: Capabilities of Gemini Pro LLM - Discusses the capabilities of Gemini Pro, including its ability to handle multimodal inputs (text and images). - Mentions plans to showcase text generation, responses to multimodal inputs, and multi-turn conversation functionalities. 05:25: ️ Setting Up Development Environment for Gemini Pro - Explains how to set up the development environment to use Gemini Pro's free tier API. - Mentions steps to install the Google Generative AI library and import necessary modules. 06:47: Setting Up API Key for Gemini Pro - Explains how to set up an API key for the free tier of Gemini Pro. - Mentions steps to access and copy the API key from Google Cloud Console. - Warns viewers not to use the instructor's API key and to create their own. 08:12: Gemini Pro API Models [ List Models] - Discusses the two models available through the Gemini Pro API: - Gemini Pro: optimized for text-only prompts (summarization, Q&A, chat) - Gemini Pro Vision: optimized for text and image prompts - Explains how to list all available models using the `gen_ai.list_uncore_models` function. 09:17: Using Gemini Pro Model for Text Tasks [⌨️ Text Task] - Explains how to use the Gemini Pro model for text-related tasks. - Walks through the steps of creating a model instance and specifying "generate_model" with "Gemini Pro". - Mentions that this can be used for experimentation even without an API key. [11:17: Running a Text-Based Query with Gemini Pro] - Shows how to use Gemini Pro to answer a text-based query ("What is the meaning of life?"). - Demonstrates using `generate_content` function and receiving the model's response. [11:49: ️ Handling API Failure and Safety Features] - Discusses how Gemini Pro handles API failures due to safety concerns. - Explains how to use `response.prompt_feedback` to check for safety ratings (hate speech, harassment, etc.) after failed requests. [14:03: Multiple Response Generation with Gemini Pro] - Explains how to generate multiple possible responses for a single prompt using the `response.candidates` function. - Demonstrates leaving the code unexecuted but mentioning the steps involved. [14:49: Examining Model Response and Safety Feedback] - Shows how to get a response from Gemini Pro for a new prompt ("Can you let me know about the future of generative AI?"). - Explains how to use `response.prompt_feedback` to check safety ratings after successful requests. [16:00: Streaming Response Generation with Gemini Pro] - Explains how to get a response from Gemini Pro in chunks as it's being generated using the `stream=True` parameter in the `generate_content` function. - Demonstrates how to print the streamed text chunk by chunk. [17:26: Considerations When Streaming Responses] - Discusses limitations of working with streamed responses. - Explains that some response attributes, like `response.text`, are not available until all chunks are processed. [18:34: Using Gemini Pro for Image and Text Inputs] [️ Image Input] - Explains how to use Gemini Pro Vision model for tasks that involve understanding and responding to both text and image inputs. - Demonstrates downloading an image and using it with `generate_content` function. [21:28: Testing Image Text Generation with Various Images] [️ Multiple Images] - Briefly discusses potential improvements in response time for future deployments of Gemini Pro. - Shows using Gemini Pro Vision model with different images: - food container image (correctly identified) - image containing text (returns error message) - small image of a toy (returns error message) [24:32: Using Text and Image Input for Text Generation] [️ Text & Image Input] - Explains how to use Gemini Pro Vision with a combination of text and image for generating text content. - Demonstrates using `generate_content` function with an image and text prompt.
@_thehunter_
@_thehunter_ 6 месяцев назад
probably?
@rajeshgauswami
@rajeshgauswami 6 месяцев назад
It's look like paid promotion from Gemini 😆
@krishnaik06
@krishnaik06 6 месяцев назад
Yes personally Sundar Pichai told me to make this video :)
@AwkwardTruths
@AwkwardTruths 3 месяца назад
Pin Gemini
@sarthakkelkar4917
@sarthakkelkar4917 6 месяцев назад
#stopvivekbindra
@skyzar4141
@skyzar4141 6 месяцев назад
What a weak and boring AI when will we get the real one
@todayspecial2927
@todayspecial2927 6 месяцев назад
Thank you sir
Далее
🎙ПЕСНИ ВЖИВУЮ от КВАШЕНОЙ🌹
3:09:38
Use OpenAI's API for Free
7:36
Просмотров 18 тыс.
Future Proof Your Tech Career In the Age of AI
10:21
Просмотров 27 тыс.
3 Data Analyst Predictions for 2025
6:01
Просмотров 41 тыс.
🎙ПЕСНИ ВЖИВУЮ от КВАШЕНОЙ🌹
3:09:38