Тёмный

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

Natlamir
Подписаться 2,6 тыс.
Просмотров 20 тыс.
50% 1

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

 

5 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 149   
@srinub523
@srinub523 10 месяцев назад
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 10 месяцев назад
thank you! 🙏
@Tubby-oq3uu
@Tubby-oq3uu 9 месяцев назад
@@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 9 месяцев назад
@@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 8 месяцев назад
The voiceover made me suspicius but your video helped me a LOT!! Thanks!
@Natlamir
@Natlamir 27 дней назад
Thank you! I'm glad the content was helpful despite any reservations about the voiceover.
@tehjoe1
@tehjoe1 7 месяцев назад
Why is the only video that actually gets you a working solution in Windows this one... Great job.
@Natlamir
@Natlamir 27 дней назад
Thank you! I'm happy to hear the tutorial was helpful for Windows users.
@su7113
@su7113 9 месяцев назад
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 8 месяцев назад
Same!!! This grandpa is a privateHero!!!
@su7113
@su7113 8 месяцев назад
@@piezoelectric627 exactly 💯
@Natlamir
@Natlamir 27 дней назад
Thank you so much! I'm glad the tutorial was helpful.
@nashbuster2952
@nashbuster2952 10 месяцев назад
Thank you SO much for this video. I was struggling with the error messages but thanks to your help, I now have this running 💖💖
@Natlamir
@Natlamir 10 месяцев назад
great!
@nullifier_
@nullifier_ 9 месяцев назад
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 27 дней назад
You're welcome! I'm glad the tutorial was helpful in navigating the complex installation process.
@SaludInformada
@SaludInformada 8 месяцев назад
the only video that allowed me to use this stuff. Kudos!
@Natlamir
@Natlamir 27 дней назад
Thanks! Glad the information was helpful.
@seyedalirezaei1026
@seyedalirezaei1026 6 месяцев назад
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 27 дней назад
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.
@rodrigodifederico
@rodrigodifederico 10 месяцев назад
Love the narration, specially at 1.5x or 1.75x speed. Great content 👍👍
@Musicassette
@Musicassette 10 месяцев назад
im still unable to follow his instructions because of his narration
@Natlamir
@Natlamir 27 дней назад
Thank you! I'm glad you enjoyed the narration style.
@MikeBom-ce1jk
@MikeBom-ce1jk 6 месяцев назад
Appreciate your effort man 😂 Thanks alot eventho I didnt try it yet, but I was just enjoying your video
@Natlamir
@Natlamir 27 дней назад
Thank you for your kind words! I'm glad you enjoyed the video.
@userrjlyj5760g
@userrjlyj5760g 10 месяцев назад
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 🤣 .... RU-vid 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 10 месяцев назад
haha aww thank you! that is great that it worked! thank you for the kind words. 🙏
@huyho7362
@huyho7362 6 месяцев назад
Thanks for great video. You have saved me a lot of time on how to make privateGPT work locally
@Natlamir
@Natlamir 27 дней назад
You're welcome! I'm happy I could save you some time and frustration.
@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 27 дней назад
Glad you appreciated the real-world troubleshooting! I believe it's important to show the challenges along with the solutions.
@DominicWolf-q8n
@DominicWolf-q8n 6 месяцев назад
Thanks. Got this to work successfully compared to the Ubuntu based instuctions
@Natlamir
@Natlamir 27 дней назад
Great to hear it worked for you! Windows setup can be tricky, so I'm glad the instructions were helpful.
@nadanimestousant1500
@nadanimestousant1500 10 месяцев назад
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 10 месяцев назад
great, thanks! 🙏
@ryanhall7225
@ryanhall7225 7 месяцев назад
instead of "poetry install --with ui" try "poetry install --extras "ui llms-llama-cpp vector-stores-qdrant embeddings-huggingface"
@Natlamir
@Natlamir 27 дней назад
Thank you for sharing that alternative command. It's helpful to have different options for troubleshooting.
@miaolin2310
@miaolin2310 9 месяцев назад
thank you grandpa!!!! important for other student: download visual studio 2022 with C++ CMake integrated component, or u cant build wheel (error)
@Natlamir
@Natlamir 27 дней назад
haha! :D Thank you for the additional tip about Visual Studio components. It's very helpful for others to know.
@crobinso2010
@crobinso2010 10 месяцев назад
3:00 possible Inception moment if in a future video you refer to this one referring to the first one.
@Natlamir
@Natlamir 10 месяцев назад
i like this idea, i may have to do that! 😂
@Arewethereyet69
@Arewethereyet69 10 месяцев назад
Great video, will wait for the 1 click install lol 🤣
@Natlamir
@Natlamir 10 месяцев назад
😂
@pauliussutkus526
@pauliussutkus526 9 месяцев назад
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 27 дней назад
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.
@terekrasamo
@terekrasamo 10 месяцев назад
Thanks! It has been helpful. 🙂
@Natlamir
@Natlamir 27 дней назад
You're welcome! Glad it was helpful.
@hash1825
@hash1825 7 месяцев назад
After Sooooooooo many videos and tries, this method worked. Thank you @Natlamir
@Natlamir
@Natlamir 27 дней назад
I'm so glad it worked for you! Thank you for the feedback.
@squarecircle2347
@squarecircle2347 14 дней назад
make not installed. An error occurred during installation: Unable to obtain lock file access on 'C:\ProgramData\chocolatey\lib\995c915eb7cf3c8b25f2235e513ef8ca0c75c3e7' for operations on 'C:\ProgramData\chocolatey\lib\make'. This may mean that a different user or administrator is holding this lock and that this process does not have permission to access it. If no other process is currently performing an operation on this file it may mean that an earlier NuGet process crashed and left an inaccessible lock file, in this case removing the file 'C:\ProgramData\chocolatey\lib\995c915eb7cf3c8b25f2235e513ef8ca0c75c3e7' will allow NuGet to continue.
@Natlamir
@Natlamir 13 дней назад
This error suggests a file permission issue or a locked file. Try running the installation as an administrator. If that doesn't work, manually delete the lock file mentioned in the error message, then attempt the installation again.
@betterlifeexe4378
@betterlifeexe4378 5 месяцев назад
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 27 дней назад
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 27 дней назад
@@Natlamir sorry for my tone, but yes. it would be simpler.
@squarecircle2347
@squarecircle2347 13 дней назад
It keeps saying ImportError: Local dependencies not found, install with `poetry install --extras llms-llama-cpp` and even after running that line and doing make run, it then complains with: ImportError: UI dependencies not found, install with `poetry install --extras ui` And then if I install that and try make run, it then goes back to the same first error! ImportError: Local dependencies not found, install with `poetry install --extras llms-llama-cpp It's a cycle. They seem to be uninstalling each other. What to do?!
@Natlamir
@Natlamir 13 дней назад
That is interesting, I wonder if you try running poetry install --extras "llms-llama-cpp ui" to install both dependencies simultaneously to see if it resolves the cycle of conflicting installations.
@DonStrenz
@DonStrenz 5 месяцев назад
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 27 дней назад
😂 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.
@v.r.7726
@v.r.7726 9 месяцев назад
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 27 дней назад
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 10 месяцев назад
Muy bueno tu video me gusto mucho gracias
@Natlamir
@Natlamir 27 дней назад
¡Gracias! Me alegra que te haya gustado el video.
@bradcasper4823
@bradcasper4823 6 месяцев назад
7:27 Everything is working till this, I've got an error saying: from tomlkit import array ModuleNotFoundError: No module named 'tomlkit'
@bradcasper4823
@bradcasper4823 6 месяцев назад
pip install tomlkit doesn't help
@Natlamir
@Natlamir 27 дней назад
@@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.
@nicklasdincer6720
@nicklasdincer6720 Месяц назад
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 27 дней назад
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.
@SaludInformada
@SaludInformada 8 месяцев назад
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 5 месяцев назад
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 27 дней назад
Ensure you're in the correct directory containing the pyproject.toml file. Use 'cd' to navigate to the project root before running Poetry commands.
@Wickedesign_
@Wickedesign_ 9 месяцев назад
You made my day dude :D :D :D
@Natlamir
@Natlamir 27 дней назад
I'm happy to hear that! Thank you for the feedback.
@ecenterru
@ecenterru 7 месяцев назад
And second question - can we make query to this PrivateGPT installation from outside applications? I can't find any information about this.
@Natlamir
@Natlamir 27 дней назад
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.
@tiagooliveira12358
@tiagooliveira12358 7 месяцев назад
great
@Natlamir
@Natlamir 27 дней назад
Thank you!
@arvindelayappan3266
@arvindelayappan3266 8 месяцев назад
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 8 месяцев назад
I anyway have to run "poetry install" and it got resolved
@Natlamir
@Natlamir 27 дней назад
@@arvindelayappan3266 Great! Glad you were able to get it resolved.
@guile3d
@guile3d 10 месяцев назад
@natlamir, I’d like to share some ideas with you. Which is the best way to reach you?
@Natlamir
@Natlamir 10 месяцев назад
i am working on getting contact information created
@ecenterru
@ecenterru 7 месяцев назад
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 27 дней назад
I haven't tried that before, I wonder if there is something documented on how to do that on their github?
@italosoares69
@italosoares69 8 месяцев назад
Is visual studio really required? not just the compiling tools?
@Natlamir
@Natlamir 27 дней назад
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.
@arvindelayappan3266
@arvindelayappan3266 8 месяцев назад
@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 27 дней назад
I don't remember receiving those errors.
@ORonyOficial
@ORonyOficial 10 месяцев назад
I'm waiting for Video-RETALKING with Gradio 😢
@Natlamir
@Natlamir 10 месяцев назад
i created a gradio UI for that one a while back: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-FWptSS09I_A.html
@andis2595
@andis2595 8 месяцев назад
why is this so hard, like aint no way this cant be all done with one installer
@Natlamir
@Natlamir 27 дней назад
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.
@sol20051
@sol20051 10 месяцев назад
Why cannot this be easier
@Natlamir
@Natlamir 27 дней назад
I understand your frustration. The complexity often comes from the project's dependencies and customization options. Hopefully, future versions will simplify the process.
@TraianFlorea-u4r
@TraianFlorea-u4r 8 месяцев назад
Grate video for Windows users ! Please mention your email. I need some advice from one expert as you.
@Natlamir
@Natlamir 27 дней назад
I appreciate your interest. For professional inquiries, I haven't yet added that info, still working on that.
@Musicassette
@Musicassette 10 месяцев назад
Ok, i tried all the stuff... and then... i have a AMD GPU...
@Natlamir
@Natlamir 27 дней назад
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.
@andylittlebird5402
@andylittlebird5402 3 месяца назад
Poetry could not find a pyproject.toml file in C:
@Natlamir
@Natlamir 27 дней назад
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.
@RMHave
@RMHave 8 месяцев назад
Omg the narration voice is not on point yet, that model needs some fine tuning :p
@Natlamir
@Natlamir 27 дней назад
Thanks for the feedback. I'm continuously working on improving the narration quality.
@sausev
@sausev 4 месяца назад
could you do one for installing audiosr?
@Natlamir
@Natlamir 27 дней назад
Thanks for the suggestion. I'll consider making a tutorial on installing AudioSR in the future.
@MattJonesYT
@MattJonesYT 9 месяцев назад
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 27 дней назад
Thank you for sharing your experience. It's helpful to know about compatibility issues with different versions.
@Reality_Check_1984
@Reality_Check_1984 7 месяцев назад
For some reason I cannot get the wheel to build for llama-cpp-python
@Natlamir
@Natlamir 27 дней назад
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
@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 9 месяцев назад
There is a line to enable gpu u need to run it if u are using cpu mode already.
@Natlamir
@Natlamir 27 дней назад
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.
@nickolaygr3371
@nickolaygr3371 9 месяцев назад
Do you think there is something similar for reading documents for oogabooga?
@Natlamir
@Natlamir 27 дней назад
Oobabooga has some document reading capabilities. You might want to look into extensions or plugins that enhance its document processing abilities.
@squarecircle2347
@squarecircle2347 13 дней назад
The CPU run worked but i'm facing trouble running the following command for running with GPU: $env:CMAKE_ARGS='-DLLAMA_CUBLAS=on'; poetry run pip install --force-reinstall --no-cache-dir llama-cpp-python numpy==1.26.0 I ran it in the anaconda powershell after cding to the repo and activating the environment but I get an error when it's building wheels: ERROR: Failed building wheel for llama-cpp-python Failed to build llama-cpp-python ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (llama-cpp-python)
@Natlamir
@Natlamir 13 дней назад
Are you running from powershell or command prompt? Have you installed the CUDA toolkit? Maybe try running the commands separately for each thing with multiple pip installs. May need to post it as an issue on the project github's Issues.
@psarema_net
@psarema_net 7 месяцев назад
Hi there .. Can anyone knows how to install multilingual-e5-base??? or "small"???
@Natlamir
@Natlamir 27 дней назад
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.
@mirkostanic92
@mirkostanic92 9 месяцев назад
literally nothing worked after 3 days of trying
@Natlamir
@Natlamir 27 дней назад
I'm sorry to hear you're having difficulties.
@arvindelayappan3266
@arvindelayappan3266 8 месяцев назад
@natlamir do you have config steps for CMAKE
@Natlamir
@Natlamir 27 дней назад
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.
@sergioglez97
@sergioglez97 8 месяцев назад
its normal the latency when the model its rendering o writing?
@Natlamir
@Natlamir 27 дней назад
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.
@thrisighsty
@thrisighsty 9 месяцев назад
Is there a way to make it work on an AMD card?
@Natlamir
@Natlamir 27 дней назад
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.
@762
@762 8 месяцев назад
Jokes are perfect!
@Natlamir
@Natlamir 27 дней назад
Thank you! I'm glad you enjoyed them.
@SAVONASOTTERRANEASEGRETA
@SAVONASOTTERRANEASEGRETA 10 месяцев назад
To understand you need to put a super slow motion video 😡
@Natlamir
@Natlamir 27 дней назад
I appreciate the feedback. I'll consider adjusting the pacing in future videos for better clarity.
@AshtonBrown-r9x
@AshtonBrown-r9x 10 месяцев назад
you didn't pass away did you
@Natlamir
@Natlamir 10 месяцев назад
haha, been busy with stuff recently, haven't gotten a chance to do more videos.
@ROKKor-hs8tg
@ROKKor-hs8tg 9 месяцев назад
Stop my destop and not work
@Natlamir
@Natlamir 27 дней назад
I'm sorry to hear you're having trouble.
@guruleinii
@guruleinii 9 месяцев назад
damn, you saved my ass. hugs and kisses!
@Natlamir
@Natlamir 27 дней назад
Thank you! I'm glad I could help.
@javiermarti_author
@javiermarti_author 10 месяцев назад
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 10 месяцев назад
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 27 дней назад
You're right, the process is quite involved. Hopefully, future versions will simplify it. And yes, those jokes might have been a bit... much! 🤣
@vipinpg
@vipinpg 9 месяцев назад
It uses lamaindex is this realy private?
@Natlamir
@Natlamir 27 дней назад
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.
@Getrocknete_Kotze_Schlabbern
@Getrocknete_Kotze_Schlabbern 10 месяцев назад
why you screaming
@rraul
@rraul 10 месяцев назад
lol I love his narration style. too peculiar
@vbridgesruiz-phd
@vbridgesruiz-phd 10 месяцев назад
TTS-AI David Attenborough voice at like a 1.5x speed. Very amusing!
@Natlamir
@Natlamir 27 дней назад
I apologize if the audio levels were too high. I'll work on balancing the audio better in future videos.
@Natlamir
@Natlamir 27 дней назад
@@rraul Thank you! I'm glad you enjoyed the narration style.
@Natlamir
@Natlamir 27 дней назад
@@vbridgesruiz-phd That's an interesting comparison! haha!
@khangnguyenphuc6182
@khangnguyenphuc6182 5 месяцев назад
too slowwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
@Natlamir
@Natlamir 27 дней назад
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.
Далее
ЛЮБИТЕ ШКОЛУ?😁​⁠​⁠@osssadchiy
00:20
NVIDIA REFUSED To Send Us This - NVIDIA A100
23:46
Просмотров 10 млн
Train / Finetune Custom Voice With Piper TTS
13:38
Просмотров 8 тыс.
Getting Started with Ollama and Web UI
13:35
Просмотров 31 тыс.
ЛЮБИТЕ ШКОЛУ?😁​⁠​⁠@osssadchiy
00:20