How to build a Local AI like ChatGPT using Deepseek R1 and Open WebUI (Windows 11 Version)

Поділитися
Вставка
  • Опубліковано 7 лют 2025
  • For macOS/Linux users, please check out this tutorial: • How to build a Local A...
    Deepseek: www.deepseek.com
    Ollama: ollama.com
    Open WebUI: openwebui.com
    Command lines for Linux:
    1. Download and install ollama: ollama.com/dow...
    2. Run ollama models: ollama run deepseek-r1:1.5b
    3. Pull ollama models: ollama pull deepseek-r1:7b
    4. Install uv: powershell -ExecutionPolicy ByPass -c "irm astral.sh/uv/i... | iex"
    5. Install Open WebUI: $env:DATA_DIR="C:\open-webui\data"; uvx --python 3.11 open-webui@latest serve
    6. Open WebUI: localhost:8080
    For more Deepseek tutorials, check out this playlist: • Deepseek and Open WebU...

КОМЕНТАРІ • 66

  • @giswqs
    @giswqs  11 днів тому +2

    For macOS/Linux users, please check out this tutorial: ua-cam.com/video/Ajm057ChUqw/v-deo.html

    • @rayrwyr
      @rayrwyr 7 днів тому

      Thanks for your video. Full of useful knowledge. How to enable support for web browsing for local installation of DeepSeek R1? I am not worried about my DeepSeek R1 local installation accessing the internet. I asked what is today's date and it answered "The date today is October 29, 2023.". It says it does not have access to web browsing. I am running it via ollama and chatbox.

  • @himaya-relaxsleep1410
    @himaya-relaxsleep1410 11 днів тому +5

    I was watching your geospatial analysis tutorials for my thesis. Now I have graduated and working as a Data Analyst, back here again.

    • @giswqs
      @giswqs  10 днів тому

      Welcome back!

  • @akibjavedr
    @akibjavedr 6 днів тому

    I also face the localhost problem. Thanks for the tutorial, professor.

  • @ONYXELIZER
    @ONYXELIZER 10 днів тому +2

    THANK YOUUUUUUU YOU’RE THE BOSS

  • @Bittermandl
    @Bittermandl 11 днів тому +1

    Thx a lot for the video, works great!

  • @zhaokane
    @zhaokane 10 днів тому +2

    but when I upload local files when I chat with model, get an error like "HTTP Error 403: Forbidden", the file is already upload in the data folder, but ollama model just can't read it : (

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

    great video does gpu tdp should be considered while selecting the models?

  • @TousiqWiqarTH3xTr3MiST
    @TousiqWiqarTH3xTr3MiST 2 години тому

    is it possible to downlaod the models outside CMD? or maybe like in parts?

  • @storytime_adventures_lsp
    @storytime_adventures_lsp 11 днів тому +1

    Great video tutorial thank you sir

  • @XD-cr3du
    @XD-cr3du 10 днів тому +1

    Amazing tutorial, thank you! One thing I'm missing, after I've installed everything, and I restart my computer, what is the fastest way to then open up the deepseek model with open web ui again? Do I need to go to powershell everytime and initiate the model and open web ui from there and the manualy go to the localhost location? Or is there a faster way? Like a bookmark on the local host?

    • @KjelldonMoore
      @KjelldonMoore 10 днів тому

      wait, isnt the open web ui is under construction?

    • @giswqs
      @giswqs  8 днів тому

      See this new tutorial on how to autostart webui: ua-cam.com/video/jTddxpxCAJw/v-deo.html

    • @XD-cr3du
      @XD-cr3du 8 днів тому

      @@giswqs Great! Thank you!

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

    All this lama models are downloaded n installed in drive C ....is there any way to store it in another drive

  • @onemoment7368
    @onemoment7368 10 днів тому

    Can we train the AI? if so how? thanks

  • @MohamedAshik-t3l
    @MohamedAshik-t3l 10 днів тому

    I have run successfully thank you for.

  • @emanuelv5934
    @emanuelv5934 10 днів тому

    Thank you!

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

    Thanks for the video. However if I try to use webui without an internet connection I get an error. How can I solve it?

    • @giswqs
      @giswqs  8 днів тому +1

      I just uploaded a new tutorial on how to use open-webui and deepseek without Internet connection. Check it out: ua-cam.com/video/wdHRud-e9vY/v-deo.html

  • @MohamedAshik-t3l
    @MohamedAshik-t3l 10 днів тому

    Good explained

  • @zhenlu6611
    @zhenlu6611 10 днів тому

    Many thanks for your contribution... DeepSeek Janus Pro just out... Is it possible to make a video to guide us to install and test it locally?

    • @giswqs
      @giswqs  10 днів тому +2

      Will look into it

    • @zhenlu6611
      @zhenlu6611 10 днів тому

      @@giswqs appreciate and happy new year

  • @v3nkattrader684
    @v3nkattrader684 10 днів тому

    Awesome ....

  • @UMERFAROOQ-cl2nd
    @UMERFAROOQ-cl2nd 10 днів тому

    how to open next time do i need to run the command again and again on windows ?

    • @giswqs
      @giswqs  8 днів тому

      See this new tutorial on how to autostart webui: ua-cam.com/video/jTddxpxCAJw/v-deo.html

  • @endbeginner5520
    @endbeginner5520 10 днів тому

    if i close the powershell and i want to reopen again then i have to wait again this much time to run the model?

    • @giswqs
      @giswqs  10 днів тому +1

      The package installation is one time only. It should take a few seconds to reopen the web UI

    • @giswqs
      @giswqs  8 днів тому +1

      See this new tutorial on how to autostart webui: ua-cam.com/video/jTddxpxCAJw/v-deo.html

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

    do I need change setting in the firefox?is it because the proxy setting? my setting right now is USING SYSTEM PROXY SETTING. I also tried chrome , same problem...should I change to no proxy? I already setup a admin account when I first enter the webui. Many thanks

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

      It runs locally. No need to use proxy

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

      It runs locally. No need to use proxy

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

      @@giswqs i keep on getting: firefox can’t establish a connection to the server at localhost:8080. I just had luck once when first install and setup an admin account, then after close website, the problem began when I tried to reopen...any idea what I should do? do i need open a terminal and run ollama deepseek?

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

      @@giswqs this is the rejection when using chrome: This site can’t be reached
      localhost refused to connect.
      Try:
      Checking the connection
      Checking the proxy and the firewall
      ERR_CONNECTION_REFUSED

  • @gurjotgrewal007
    @gurjotgrewal007 11 днів тому

    can you please make a video of how we can use deepseek locally and use it as a notebook lm for our private files and folders

    • @giswqs
      @giswqs  6 днів тому

      See this new tutorial: How to set up an API endpoint for local Deepseek R1 and use it with Python
      ua-cam.com/video/u4KHemHvmPc/v-deo.html

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

    Can we use Geforce RTX 3070 Ti 8GB for this?

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

      Yes, you should be able to use the 1.5b and 7b models

  • @ThereIsProbablyNoGod
    @ThereIsProbablyNoGod 10 днів тому

    Is there an easy way, to uninstall everything again? I want to remove OpenwebUI from a windows 11 PC so that nothing is left on the PC.

    • @giswqs
      @giswqs  10 днів тому +2

      See the instructions here to remove uv from your computer: docs.astral.sh/uv/getting-started/installation/#uninstallation

  • @onemoment7368
    @onemoment7368 10 днів тому

    hi i have everything set up as per your instruction, however i noticed the response time is very slow even just for a simple hello. Do you know why is that? I have amd ryzen 5950x cpu and amd 6800XT gpu. for 8b model it took 17 seconds to respond, and for 32b model, its not even responding and it has been more then a minute. .

    • @giswqs
      @giswqs  10 днів тому

      Open the performance tab from the task manager. Look at if the GPU is being utilized when running the model

    • @onemoment7368
      @onemoment7368 10 днів тому

      @@giswqs Shared GPU memory goes up to 8gb, dedicated less then that, and Memory usage is 31/32, almost 100%

    • @onemoment7368
      @onemoment7368 10 днів тому

      @@giswqs I have downloaded llama3.2, and its using 8gb of Dedicated GPU and its faster then deepseek. I wonder why deekseek is using RAM instead of GPU.

  • @akkir6707
    @akkir6707 11 днів тому

    Thanks sir

  • @lahtin3n
    @lahtin3n 11 днів тому

    Each time I start Open WebUI after closing it, it's asking me to go through the admin creation again. Am I doing something wrong? Should I not launch it using "uvx --python 3.11 open-webui@latest serve"?

    • @giswqs
      @giswqs  11 днів тому +2

      You need to use the following command. The user info is saved in the DATA_DIR.
      $env:DATA_DIR="C:\open-webui\data"; uvx --python 3.11 open-webui@latest serve

    • @lahtin3n
      @lahtin3n 11 днів тому

      @@giswqs Thank you! And thank you for this video!

    • @giswqs
      @giswqs  11 днів тому +1

      My pleasure

  • @johnnydeeep
    @johnnydeeep 11 днів тому

    web access to deepseek

  •  11 днів тому +3

    The only model equivalent to ChatGPT is the 671B, so you are not running a local AI like ChatGPT going for a subpar version, and the smaller models are way less performant

    • @lahtin3n
      @lahtin3n 11 днів тому +2

      Nothing is preventing you from using the 671b model.

    •  11 днів тому +1

      @@lahtin3n the 404Gb of required memory are

    • @himaya-relaxsleep1410
      @himaya-relaxsleep1410 10 днів тому

      you are right. but that qwen coder 2.5 at 3B sure is useful.

    •  10 днів тому +1

      ​@@himaya-relaxsleep1410 Not really, to be honest; the other models are not good. Deepseek R1 claims to provide access to an open-source ChatGPT like model, which this title plays on, but even the 32B model falls far short of this promise and only the 671B will do. Otherwise, we already had plenty of models to use locally.

    • @himaya-relaxsleep1410
      @himaya-relaxsleep1410 10 днів тому +1

      i dont care really which equals which. im looking for useful tools i can run locally. And as I said a model at 3B that is fast and useful that can run on gtx 1660 is useful for me. Besides what do you expect? What do you hope? imitate openAI's power on a cheap pc? tose beasts run on data centers.. not some budget gaming pc you have.