From OpenAI to Open Source in 5 Minutes Tutorial (LM Studio + Python)

Поділитися
Вставка
  • Опубліковано 10 чер 2024
  • From OpenAI to Open Source in 5 Minutes Tutorial (LM Studio + Python)
    👊 Become a member and get access to GitHub:
    / allaboutai
    Get a FREE 45+ ChatGPT Prompts PDF here:
    📧 Join the newsletter:
    www.allabtai.com/newsletter/
    🌐 My website:
    www.allabtai.com
    LM Studio:
    lmstudio.ai
    How to switch from OpenAI API to Open Source Model in 5 minutes. We test out LM studio local server to download and use the Dolphin Mistral 7B open source LLM in Python.
    00:00 Intro
    00:22 Step 1: Download LM Studio
    00:41 Step 2: Download a Model
    01:53 Step 3: Test the Model
    03:25 Step 4: OpenAI to Open Source
    05:19 Step 5: Python x LM Studio Test
    06:09 Step 6: Uncensored Model Test
  • Наука та технологія

КОМЕНТАРІ • 49

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

    Very good information, and well presented. Thank you!

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

    This was so incredibly helpful... thank you!

  • @kawsarahmad
    @kawsarahmad 5 місяців тому +1

    Brilliant as always!

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

    Beautifully explained. Thanks a bunch

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

    Love the pace you present at. No filla.

  • @realAIDOPE
    @realAIDOPE 5 місяців тому +5

    Man, you always go THE deepest with your AI insights and videos. Kudos, bro! Always #AIDOPE 🍪

  • @nic-ori
    @nic-ori 5 місяців тому +2

    Thanks!👍👍👍 Useful information.

  • @harithummaluru3343
    @harithummaluru3343 5 місяців тому +1

    amazing content. greatly appreciated

  • @MrUpgradable
    @MrUpgradable 5 днів тому

    Legend, thanks for sharing this

  • @abenjamin13
    @abenjamin13 5 місяців тому +1

    Always appreciate the overview, thank you.

  • @benoitheroux6839
    @benoitheroux6839 5 місяців тому +1

    I'd like to know why you choose the older version (v2.2.1) instead of the newest one, the 2.6 ? the size of the dolphin-2.6-mistral-7b.Q5_K_M.gguf is almost the same ?

  • @Ghrenig
    @Ghrenig 5 місяців тому

    Excellent - what is your hardware setup?

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

    Thank you.

  • @MarcoZaro
    @MarcoZaro 5 місяців тому +5

    Hi very interesting indeed, one question what are the requirements to run the model? I’m asking because my goal will be to use flowiseai hosted locally , then host a vector database like supabase, ingest our technical document and create a chatbot for our needs completely local. At the moment I’m using OpenAI ChatGPT api but I want to do it completely offline for privacy reason

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

      Lol I'm doing the same

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

    Just a question. What is your hardware configuration for running the local models?

  • @Shari_Tejp
    @Shari_Tejp Місяць тому +1

    Does this mean i can run this Llm on my local desktop computer at home, and be able to access it from my laptop online? Sorry if it’s a dumb question im new to this

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

    How should I choose among LLMs for download? what are the criteria?

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

    well thanks to you i got a new way to use local ai model as a API. never knew this was possible too. can you make more such videos?

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

      Does this mean i can run this Llm on my local desktop computer at home, and be able to access it from my laptop online? Sorry if it’s a dumb question im new to this

  • @yes4me
    @yes4me 3 місяці тому +2

    Can we download the python code?

  • @oliverli9630
    @oliverli9630 5 місяців тому +3

    Sam Altman: "How dare you!"

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

    What are the minimum system requirements to run models locally?

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

    How would you deploy this to use via api?

  • @DarrenTarmey
    @DarrenTarmey 9 днів тому

    were can i get this code and do i have to load it into visual studio

  • @bobsmith-hv1kb
    @bobsmith-hv1kb 5 місяців тому +2

    Is there a link to the script?

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

    awesome

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

    Tnx, very helpful! Are you ENTP? 🤔

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

    woooow
    thanks for this
    im free with chatgpt

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

    i got a 1080ti and for some reason i can't get it run on my GPU.. is my GPU too old??

  • @legendaryman4336
    @legendaryman4336 5 місяців тому

    do you do this so you can get the fully uncensored output? I tried asking it iffy stuff and it gave me a nope in LM Studio. Same model

    • @AberrantArt
      @AberrantArt 5 місяців тому

      Did you try it on the uncensored model he describes at the end?

  • @SirTunkur
    @SirTunkur 5 місяців тому

    Fungerar AMD gpu's?

  • @user-nw6nl5bb9m
    @user-nw6nl5bb9m 5 місяців тому

    Are there models on LMStudio that can do image recognition like GPT4?

    • @kate-pt2ny
      @kate-pt2ny 5 місяців тому

      llava

    • @user-nw6nl5bb9m
      @user-nw6nl5bb9m 5 місяців тому

      You are right, there is llava model, but I dont see LMStidio ui option to add photo in chat mode. May be there is python option?

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

    Dont clear understand, isn't it possible to just download models from HF and use them locally? Why is LM studio local server need?

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

      Yes very much possible to do without lm studio, but what lm studio brings to the table is one UI for all that you do in different terminal windows otherwise. It becomes very messy, with the terminals running, then you want to change some configurations, you want to jump from one model to another etc.,

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

    Can you please provide the test3.py file?

  • @palashjyotiborah9888
    @palashjyotiborah9888 5 місяців тому

    You are Late for the party 🥳

  • @serenditymuse
    @serenditymuse 5 місяців тому +5

    Cool and very useful. . But I would appreciate videos on how to do this without being beholden to some company and its apparently closed source product. Government crackdowns are coming and I want as much of my toolchain on my own hardware and in my control as possible beforehand.

    • @watchdog163
      @watchdog163 5 місяців тому

      Can you explain a little bit more about what you mean by government crackdowns? Are you talking about the copyright issues with OpenAI and big industries like Hollywood and Newspapers suing them and potentially having them raided by FBI, CIA or some other corrupt agency?

    • @legendaryman4336
      @legendaryman4336 5 місяців тому

      Yup me too I downloaded that shit as much as I could to my local drives. 500GB+ so far... Gimme!!
      I wouldn't be surprised if they removed uncensored models from the web.
      Actually they will 100%, because it's a security threat to them.
      Prepare for the end folks be smart lol

    • @AberrantArt
      @AberrantArt 5 місяців тому

      Are you saying lm studio is the issue? Just curious to understand what you mean.

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

      ​@@AberrantArtyes it is not open-source

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

    Very Very slow though

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

    Ugh still too involved for non techies like me. Cant someone just package all this up in an executable? I mean that’s the whole f-ing point of ai isn’t it? So we don’t have to bother with command line BS. Pfft!

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

    Step number one - to download some proprietary shit... Not interested