Installing Private GPT on Windows (chat with local documents with local LLM) CPU & GPU

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024

Комментарии • 148

  • @srinub523
    @srinub523 9 месяцев назад +33

    Not sure why everyone commenting negative on narrator. Installation on windows is difficult for privateGPT. I tried and got many errors. This video he explained clearly what errors we may get and how to resolve them. He even uninstalled chocolaty and reinstalled for us to understand how to do that. I like funny narration. Don't know why people can't appreciate genuine efforts.

    • @Natlamir
      @Natlamir  9 месяцев назад +5

      thank you! 🙏

    • @Tubby-oq3uu
      @Tubby-oq3uu 8 месяцев назад +2

      @@Natlamir i liked the narration and the jokes, i thought it was funny when the ai woman would pop up like she joined the call or something lol

    • @ajarivas72
      @ajarivas72 8 месяцев назад +1

      @@Tubby-oq3uu
      I like the video very much and the audio is great and inspiring.
      Can a chatbot be installed on the Python 🐍 console 🖥 of a program like Paraview?
      Paraview is a software to display 3D models and it contains a Python 🐍 console to run scripts for repetitive tasks.

  • @MCSchuscha
    @MCSchuscha 7 месяцев назад +11

    The voiceover made me suspicius but your video helped me a LOT!! Thanks!

    • @Natlamir
      @Natlamir  3 дня назад

      Thank you! I'm glad the content was helpful despite any reservations about the voiceover.

  • @tehjoe1
    @tehjoe1 6 месяцев назад +3

    Why is the only video that actually gets you a working solution in Windows this one... Great job.

    • @Natlamir
      @Natlamir  3 дня назад +1

      Thank you! I'm happy to hear the tutorial was helpful for Windows users.

  • @su7113
    @su7113 8 месяцев назад +7

    Awesome tutorial grandpa... After going through number of tutorials I was literally going to give up but you saved me ... Now I have a place to come if nothing works... 😊

    • @piezoelectric627
      @piezoelectric627 7 месяцев назад +1

      Same!!! This grandpa is a privateHero!!!

    • @su7113
      @su7113 7 месяцев назад

      @@piezoelectric627 exactly 💯

    • @Natlamir
      @Natlamir  3 дня назад

      Thank you so much! I'm glad the tutorial was helpful.

  • @nashbuster2952
    @nashbuster2952 9 месяцев назад +5

    Thank you SO much for this video. I was struggling with the error messages but thanks to your help, I now have this running 💖💖

  • @readdeadlife
    @readdeadlife 3 месяца назад

    I wasn't a fan of your character until the first error, then I knew you were the real OG. Like button smashed.

    • @Natlamir
      @Natlamir  3 дня назад

      Glad you appreciated the real-world troubleshooting! I believe it's important to show the challenges along with the solutions.

  • @SaludInformada
    @SaludInformada 7 месяцев назад +2

    the only video that allowed me to use this stuff. Kudos!

    • @Natlamir
      @Natlamir  3 дня назад

      Thanks! Glad the information was helpful.

  • @MikeBom-ce1jk
    @MikeBom-ce1jk 5 месяцев назад +1

    Appreciate your effort man 😂 Thanks alot eventho I didnt try it yet, but I was just enjoying your video

    • @Natlamir
      @Natlamir  3 дня назад

      Thank you for your kind words! I'm glad you enjoyed the video.

  • @nullifier_
    @nullifier_ 8 месяцев назад +2

    thank you so much. i tried via other tutorials but this is the only that worked so far.
    installing this is not an easy task as all the steps are scattered all over the internet but you made it easier.

    • @Natlamir
      @Natlamir  3 дня назад

      You're welcome! I'm glad the tutorial was helpful in navigating the complex installation process.

  • @rodrigodifederico
    @rodrigodifederico 9 месяцев назад +3

    Love the narration, specially at 1.5x or 1.75x speed. Great content 👍👍

    • @Musicassette
      @Musicassette 9 месяцев назад

      im still unable to follow his instructions because of his narration

    • @Natlamir
      @Natlamir  3 дня назад

      Thank you! I'm glad you enjoyed the narration style.

  • @seyedalirezaei1026
    @seyedalirezaei1026 5 месяцев назад

    Simply liking the video wasn't enough. I had to post a comment and also subscribe. Thank you for showing the errors and how to mitigate them. Other tutorials will skip the error side of the work to show how professional they are and ordinary people will encounter to errors. The process is not as fluid as they show. But you made my problems go away. THANK YOU

    • @Natlamir
      @Natlamir  3 дня назад

      Thank you so much for your kind words! I'm glad the troubleshooting section was helpful. It's important to me to show the real process, including the challenges.

  • @userrjlyj5760g
    @userrjlyj5760g 9 месяцев назад

    I was looking for this type of service to process my text locally since centuries, and after I succeeded in the installation and running the program I was so so happy that I came and hit subscribe again and again and again ..... forgot that I am already subscribed 🤣 .... RUclips should put this video on the front page! People, including myself, suffered a lot and couldn't figure out how to setup the latest privateGPTon windows due to many complexities involving the process. Thank you soooooooooooooooooooooooo much! Well, you know what, I might just download this video, its a treasure!

    • @Natlamir
      @Natlamir  9 месяцев назад +1

      haha aww thank you! that is great that it worked! thank you for the kind words. 🙏

  • @user-rf3kq6zh9x
    @user-rf3kq6zh9x 5 месяцев назад +1

    Thanks. Got this to work successfully compared to the Ubuntu based instuctions

    • @Natlamir
      @Natlamir  3 дня назад

      Great to hear it worked for you! Windows setup can be tricky, so I'm glad the instructions were helpful.

  • @hash1825
    @hash1825 6 месяцев назад +1

    After Sooooooooo many videos and tries, this method worked. Thank you @Natlamir

    • @Natlamir
      @Natlamir  3 дня назад

      I'm so glad it worked for you! Thank you for the feedback.

  • @huyho7362
    @huyho7362 5 месяцев назад

    Thanks for great video. You have saved me a lot of time on how to make privateGPT work locally

    • @Natlamir
      @Natlamir  3 дня назад

      You're welcome! I'm happy I could save you some time and frustration.

  • @nadanimestousant1500
    @nadanimestousant1500 9 месяцев назад

    out of 5 attemps this the only one that has worked for me!, and i don have a clue on how to programm xddddd! congratulations!

    • @Natlamir
      @Natlamir  9 месяцев назад

      great, thanks!
      🙏

  • @user-in9ej9vi5e
    @user-in9ej9vi5e 8 месяцев назад +2

    im getting error "Group(s) not found: ui (via --with)" when executing "poetry install --with ui"

    • @everluck35
      @everluck35 6 месяцев назад +3

      The command changed in the current version. Use "--extras" instead of "--with".

    • @Natlamir
      @Natlamir  3 дня назад

      Yeah, as everluck mentioned, maybe try with that. Try using the updated command: "poetry install --extras "

  • @Arewethereyet69
    @Arewethereyet69 9 месяцев назад +1

    Great video, will wait for the 1 click install lol 🤣

  • @crobinso2010
    @crobinso2010 9 месяцев назад +1

    3:00 possible Inception moment if in a future video you refer to this one referring to the first one.

    • @Natlamir
      @Natlamir  9 месяцев назад +2

      i like this idea, i may have to do that! 😂

  • @terekrasamo
    @terekrasamo 9 месяцев назад

    Thanks! It has been helpful. 🙂

    • @Natlamir
      @Natlamir  3 дня назад

      You're welcome! Glad it was helpful.

  • @pauliussutkus526
    @pauliussutkus526 9 месяцев назад +1

    Crazy voice, but your tutorial seems the only one on internet to work correctly and no need additional jobs to search installation options except for downloading anaconda from beginning.
    Thank you very much!
    Maybe you know, can I enable AMD support vith vram512mb?

    • @Natlamir
      @Natlamir  3 дня назад

      Thank you for the kind words! Regarding AMD support, it can be tricky. You might need to use a CPU-only version or explore alternatives like WSL2 on Windows.

  • @DonStrenz
    @DonStrenz 4 месяца назад

    What happens if you ask it to "create a windows installer for privategpt". Going through all of the rigamarole to install it when it is unclear how the end-product will perform is enough to make me skip it. Just saying..

    • @Natlamir
      @Natlamir  3 дня назад +1

      😂 so true. Creating a Windows installer for PrivateGPT would be a complex task due to its dependencies. For now, I recommend following the manual installation process to ensure proper setup and compatibility.

  • @ryanhall7225
    @ryanhall7225 6 месяцев назад +1

    instead of "poetry install --with ui" try "poetry install --extras "ui llms-llama-cpp vector-stores-qdrant embeddings-huggingface"

    • @Natlamir
      @Natlamir  3 дня назад

      Thank you for sharing that alternative command. It's helpful to have different options for troubleshooting.

  • @Wickedesign_
    @Wickedesign_ 8 месяцев назад

    You made my day dude :D :D :D

    • @Natlamir
      @Natlamir  3 дня назад

      I'm happy to hear that! Thank you for the feedback.

  • @miaolin2310
    @miaolin2310 8 месяцев назад

    thank you grandpa!!!!
    important for other student: download visual studio 2022 with C++ CMake integrated component, or u cant build wheel (error)

    • @Natlamir
      @Natlamir  3 дня назад

      haha! :D Thank you for the additional tip about Visual Studio components. It's very helpful for others to know.

  • @nicklasdincer6720
    @nicklasdincer6720 7 дней назад

    i sympathize with ur video but it didnt work for me i still get an error after using the prompt from the github user. it might be cuz i have an amd gpu on windows? idk

    • @Natlamir
      @Natlamir  3 дня назад

      I'm sorry to hear you're still encountering errors. AMD GPUs on Windows can be tricky with some AI projects. Consider trying a CPU-only setup or exploring alternatives like WSL2 for better compatibility.

  • @ecenterru
    @ecenterru 6 месяцев назад

    And second question - can we make query to this PrivateGPT installation from outside applications? I can't find any information about this.

    • @Natlamir
      @Natlamir  3 дня назад

      Regarding language models, check the config.yaml file in the project root for model settings. As for external queries, PrivateGPT typically runs as a local server. Check the project documentation for API endpoints if available.

  • @guile3d
    @guile3d 9 месяцев назад

    @natlamir, I’d like to share some ideas with you. Which is the best way to reach you?

    • @Natlamir
      @Natlamir  9 месяцев назад +1

      i am working on getting contact information created

  • @bradcasper4823
    @bradcasper4823 5 месяцев назад

    7:27 Everything is working till this, I've got an error saying:
    from tomlkit import array
    ModuleNotFoundError: No module named 'tomlkit'

    • @bradcasper4823
      @bradcasper4823 5 месяцев назад

      pip install tomlkit doesn't help

    • @Natlamir
      @Natlamir  3 дня назад

      @@bradcasper4823 Try running "poetry run pip install tomlkit" within your project environment. If that doesn't work, ensure you're using the latest version of Poetry and that your environment is activated.

  • @arvindelayappan3266
    @arvindelayappan3266 7 месяцев назад

    @Natlamir I got few more errors to install transformers , huggingface_hub, llama_in , llama_index etc . did it not give these errors for you

    • @Natlamir
      @Natlamir  3 дня назад

      I don't remember receiving those errors.

  • @italosoares69
    @italosoares69 7 месяцев назад

    Is visual studio really required? not just the compiling tools?

    • @Natlamir
      @Natlamir  3 дня назад

      Visual Studio isn't always required, but the C++ build tools it provides are often necessary. You can try installing just the build tools if you prefer.

  • @ecenterru
    @ecenterru 6 месяцев назад

    Hello for all! Big thanx for your manual! Please answer me, how to change language model to gpt4all or any other? I cant find file .env :(

    • @Natlamir
      @Natlamir  3 дня назад

      I haven't tried that before, I wonder if there is something documented on how to do that on their github?

  • @arvindelayappan3266
    @arvindelayappan3266 7 месяцев назад

    when I run, poetry run python scripts/setup
    I now get this error "None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
    Traceback (most recent call last):
    File "D:\Windows\LLM\privateGPT\scripts\setup", line 8, in
    from private_gpt.paths import models_path, models_cache_path
    ModuleNotFoundError: No module named 'private_gpt'"
    Even after installing torch, I get this error that "no module named private_gpt"

    • @arvindelayappan3266
      @arvindelayappan3266 7 месяцев назад +1

      I anyway have to run "poetry install" and it got resolved

    • @Natlamir
      @Natlamir  3 дня назад

      @@arvindelayappan3266 Great! Glad you were able to get it resolved.

  • @v.r.7726
    @v.r.7726 8 месяцев назад

    Thank you. Worked for me too, after some adjustmens.
    Could you make a video how to choose a model from hugging face and what the criterias could be for choosing a model.
    Nothing there yet, on youtube.

    • @Natlamir
      @Natlamir  3 дня назад

      I'm glad it worked for you. Thanks for the video suggestion - I'll consider making a guide on choosing models from Hugging Face.

  • @fernandomiranda1709
    @fernandomiranda1709 9 месяцев назад

    Muy bueno tu video me gusto mucho gracias

    • @Natlamir
      @Natlamir  3 дня назад

      ¡Gracias! Me alegra que te haya gustado el video.

  • @sergioglez97
    @sergioglez97 8 месяцев назад

    its normal the latency when the model its rendering o writing?

    • @Natlamir
      @Natlamir  3 дня назад

      Some latency is normal, especially during the first run or with larger models. Performance can vary based on your hardware and the specific model being used.

  • @betterlifeexe4378
    @betterlifeexe4378 4 месяца назад +2

    privategpt is insane if it thinks im going to install conda, poetry, mingw, and all this total bs on my computer! if you really need all this crap, it's time to make it docker compatible, and just have an image.

    • @Natlamir
      @Natlamir  3 дня назад

      I understand your frustration. While these dependencies are necessary for the current setup, a Docker image could indeed simplify the process. I'll pass along the suggestion to the PrivateGPT developers.

    • @betterlifeexe4378
      @betterlifeexe4378 3 дня назад

      @@Natlamir sorry for my tone, but yes. it would be simpler.

  • @nickolaygr3371
    @nickolaygr3371 8 месяцев назад

    Do you think there is something similar for reading documents for oogabooga?

    • @Natlamir
      @Natlamir  3 дня назад

      Oobabooga has some document reading capabilities. You might want to look into extensions or plugins that enhance its document processing abilities.

  • @Reality_Check_1984
    @Reality_Check_1984 6 месяцев назад

    For some reason I cannot get the wheel to build for llama-cpp-python

    • @Natlamir
      @Natlamir  3 дня назад

      Building wheels can be tricky. Make sure you have the latest C++ build tools installed. If issues persist, try using a pre-built wheel or consider using a CPU-only version. Also, recently when I did an install using a pre-built wheel for llama-cpp-python, I installed the CUDA toolkit of the matching version. For example, try this with CUDA 12.1 installed:
      pip install --no-cache-dir --force-reinstall llama-cpp-python --extra-index-url abetlen.github.io/llama-cpp-python/whl/cu121 numpy==1.25.2

  • @Musicassette
    @Musicassette 9 месяцев назад

    Ok, i tried all the stuff... and then... i have a AMD GPU...

    • @Natlamir
      @Natlamir  3 дня назад

      AMD GPUs can be challenging with some AI projects. You might need to use a CPU-only version or explore alternatives like WSL2 on Windows.

  • @MattJonesYT
    @MattJonesYT 8 месяцев назад

    I was not able to get it to work with vis studio 2022, I had to use 2019 and cuda 11.7.1

    • @Natlamir
      @Natlamir  3 дня назад

      Thank you for sharing your experience. It's helpful to know about compatibility issues with different versions.

  • @tiagooliveira12358
    @tiagooliveira12358 6 месяцев назад

    great

  • @sol20051
    @sol20051 9 месяцев назад +1

    Why cannot this be easier

    • @Natlamir
      @Natlamir  3 дня назад

      I understand your frustration. The complexity often comes from the project's dependencies and customization options. Hopefully, future versions will simplify the process.

  • @arvindelayappan3266
    @arvindelayappan3266 7 месяцев назад

    @natlamir do you have config steps for CMAKE

    • @Natlamir
      @Natlamir  3 дня назад

      For CMAKE config, ensure it's properly installed and added to your system PATH. For the module errors, make sure you're in the correct directory and that all dependencies are properly installed.

  • @thrisighsty
    @thrisighsty 8 месяцев назад

    Is there a way to make it work on an AMD card?

    • @Natlamir
      @Natlamir  3 дня назад

      From what I understand, running PrivateGPT on AMD GPUs can be challenging. You might need to use a CPU-only version or explore alternatives like using WSL2 on Windows.

  • @ORonyOficial
    @ORonyOficial 9 месяцев назад

    I'm waiting for Video-RETALKING with Gradio 😢

    • @Natlamir
      @Natlamir  9 месяцев назад

      i created a gradio UI for that one a while back: ruclips.net/video/FWptSS09I_A/видео.html

  • @ahmedmechergui8680
    @ahmedmechergui8680 9 месяцев назад

    I have an RTX 3050 GPU , when i switched from CPU to GPU it became much slower (3 mins to answer).
    anyone knows why ?

    • @vipinpg
      @vipinpg 8 месяцев назад

      There is a line to enable gpu u need to run it if u are using cpu mode already.

    • @Natlamir
      @Natlamir  3 дня назад

      That's unusual. Make sure you have the latest CUDA drivers installed. Also, check if there are any specific GPU settings in the PrivateGPT config that need adjustment.

  • @andis2595
    @andis2595 7 месяцев назад

    why is this so hard, like aint no way this cant be all done with one installer

    • @Natlamir
      @Natlamir  3 дня назад

      Haha, yeah, I understand the frustration. The complexity is due to the project's dependencies and customization options. Hopefully, future versions will simplify the process.

  • @sausev
    @sausev 4 месяца назад

    could you do one for installing audiosr?

    • @Natlamir
      @Natlamir  3 дня назад

      Thanks for the suggestion. I'll consider making a tutorial on installing AudioSR in the future.

  • @mirkostanic92
    @mirkostanic92 8 месяцев назад

    literally nothing worked after 3 days of trying

    • @Natlamir
      @Natlamir  3 дня назад +1

      I'm sorry to hear you're having difficulties.

  • @psarema_net
    @psarema_net 6 месяцев назад

    Hi there ..
    Can anyone knows how to install multilingual-e5-base??? or "small"???

    • @Natlamir
      @Natlamir  3 дня назад

      For installing multilingual-e5-base, you can use Hugging Face's transformers library. Try "pip install transformers" and then use the model's Hugging Face identifier.

  • @SaludInformada
    @SaludInformada 7 месяцев назад

    trired: poetry install --with ui
    Poetry could not find a pyproject.toml file
    poetry --version (works ok)
    (privateGPT) C:\ai>poetry --version
    Poetry (version 1.7.1)

    • @JiuJitsuTech
      @JiuJitsuTech 4 месяца назад

      Did you go back to the original directory? The narrator used private-gpt under his c:\ai root. Once I changed the dir, it worked.

    • @Natlamir
      @Natlamir  3 дня назад

      Ensure you're in the correct directory containing the pyproject.toml file. Use 'cd' to navigate to the project root before running Poetry commands.

  • @andylittlebird5402
    @andylittlebird5402 2 месяца назад

    Poetry could not find a pyproject.toml file in C:

    • @Natlamir
      @Natlamir  3 дня назад

      Make sure you're in the correct directory where the pyproject.toml file is located. Use 'cd' to navigate to the project root before running Poetry commands.

  • @user-lp4lh7ub7p
    @user-lp4lh7ub7p 7 месяцев назад

    Grate video for Windows users ! Please mention your email. I need some advice from one expert as you.

    • @Natlamir
      @Natlamir  3 дня назад

      I appreciate your interest. For professional inquiries, I haven't yet added that info, still working on that.

  • @guruleinii
    @guruleinii 8 месяцев назад

    damn, you saved my ass. hugs and kisses!

    • @Natlamir
      @Natlamir  3 дня назад +1

      Thank you! I'm glad I could help.

  • @user-ub9fy8qs7k
    @user-ub9fy8qs7k 9 месяцев назад

    you didn't pass away did you

    • @Natlamir
      @Natlamir  9 месяцев назад

      haha, been busy with stuff recently, haven't gotten a chance to do more videos.

  • @762
    @762 8 месяцев назад

    Jokes are perfect!

    • @Natlamir
      @Natlamir  3 дня назад

      Thank you! I'm glad you enjoyed them.

  • @RMHave
    @RMHave 7 месяцев назад

    Omg the narration voice is not on point yet, that model needs some fine tuning :p

    • @Natlamir
      @Natlamir  3 дня назад

      Thanks for the feedback. I'm continuously working on improving the narration quality.

  • @ROKKor-hs8tg
    @ROKKor-hs8tg 8 месяцев назад

    Stop my destop and not work

    • @Natlamir
      @Natlamir  3 дня назад

      I'm sorry to hear you're having trouble.

  • @SAVONASOTTERRANEASEGRETA
    @SAVONASOTTERRANEASEGRETA 9 месяцев назад

    To understand you need to put a super slow motion video 😡

    • @Natlamir
      @Natlamir  3 дня назад

      I appreciate the feedback. I'll consider adjusting the pacing in future videos for better clarity.

  • @vipinpg
    @vipinpg 8 месяцев назад

    It uses lamaindex is this realy private?

    • @Natlamir
      @Natlamir  3 дня назад

      PrivateGPT uses local processing, so your data should remain private. However, always review the project's privacy policy and settings for the most up-to-date information.

  • @javiermarti_author
    @javiermarti_author 9 месяцев назад

    The installation process is far too long and convoluted. I think GPT4all had a quicker install process.
    PS- She clearly wanted to be on the other side of the ocean after those jokes haha

    • @userrjlyj5760g
      @userrjlyj5760g 9 месяцев назад

      GPT4all is for the maker only, not for all. GPT4all is just a stupid tool that never help with dealing with the docs you provide to. Keeps skipping the provided docs and starts making up some random answers. Most of the time doesn't load docs you provide. Settings shows that you are using GPU but all the work done via CPU. Didn't like it at all.

    • @Natlamir
      @Natlamir  3 дня назад

      You're right, the process is quite involved. Hopefully, future versions will simplify it. And yes, those jokes might have been a bit... much! 🤣

  • @Getrocknete_Kotze_Schlabbern
    @Getrocknete_Kotze_Schlabbern 9 месяцев назад +2

    why you screaming

    • @rraul
      @rraul 9 месяцев назад +5

      lol I love his narration style. too peculiar

    • @vbridgesruiz-phd
      @vbridgesruiz-phd 9 месяцев назад +4

      TTS-AI David Attenborough voice at like a 1.5x speed. Very amusing!

    • @Natlamir
      @Natlamir  3 дня назад

      I apologize if the audio levels were too high. I'll work on balancing the audio better in future videos.

    • @Natlamir
      @Natlamir  3 дня назад

      @@rraul Thank you! I'm glad you enjoyed the narration style.

    • @Natlamir
      @Natlamir  3 дня назад

      @@vbridgesruiz-phd That's an interesting comparison! haha!

  • @khangnguyenphuc6182
    @khangnguyenphuc6182 5 месяцев назад

    too slowwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww

    • @Natlamir
      @Natlamir  3 дня назад

      I apologize for any perceived slowness. AI model performance can vary based on hardware and settings. I'll try to provide more context on expected performance in future videos.