How To Host AI Locally: Ollama and Open WebUI

Поділитися
Вставка
  • Опубліковано 25 гру 2024

КОМЕНТАРІ • 131

  • @andicee8324
    @andicee8324 Місяць тому +2

    This topic just randomly appeared in my feed, yours is the 3rd video I clicked on and its the only one that made sense to me, you explained everything so well, thank you.

  • @Saintel
    @Saintel Місяць тому +11

    I've been waiting for your take on AI and I was not disappointed. Great work as normally. Currently using Msty locally.

  • @Zane-e8b
    @Zane-e8b Місяць тому +5

    This is a HUGE. Thank You!

  • @raphaelcazenave-leveque7991
    @raphaelcazenave-leveque7991 Місяць тому +9

    I did some experimentations on the usage of differents olamma AI models, considering harddrive/SSD usage in giga octets, memory (RAM) usage, time in seconds to get the answer, using 3 LAMMAS models size (in Billions/Milliards of parameters/variables).
    CONCLUSION: I suggest to stick on the smallest model (7Billions) for User that are having an average computer laptop.
    If you have more than 16GB of RAM, you can uses the 33B Olamma model, but it take some time (a while on my old CPU) to get the answer.
    Here are the raw data I got in my experience :
    [ { "Model": "LLaMA-7B", "Time_Calculation_seconds": "5-15", "RAM_GB": "10-12", "Disk_Size_GB": 13 }, { "Model": "LLaMA-33B", "Time_Calculation_seconds": "15-30", "RAM_GB": "30-40", "Disk_Size_GB": 65 }, { "Model": "LLaMA-70B", "Time_Calculation_seconds": ">30", "RAM_GB": "70+", "Disk_Size_GB": 130 } ]

  • @terrorbilly1
    @terrorbilly1 Місяць тому +3

    I honestly can't appreciate this enough!

  • @Warframeplayer-s4l
    @Warframeplayer-s4l Місяць тому +5

    This right here can replace the internet

  • @tikishark1
    @tikishark1 Місяць тому +2

    I’ve done this with locally based AI image processing software like comfyui, can’t wait to now try chat as well. I really appreciate the background and tutorial.

  • @generated.moment
    @generated.moment 23 години тому

    They should put the naming clear with image generation models like this, i love the fact you know the size from the B thing at the end

  • @theaugur1373
    @theaugur1373 Місяць тому +3

    If you have an Apple Silicon Mac, LM Studio is another option that also has a CLI tool (lms). It supports MLX (optimized for Macs) and GGUF model formats.

    • @noanyobiseniss7462
      @noanyobiseniss7462 Місяць тому +2

      You didnt get a luv, must not be on the approved list.

  • @ninjanape
    @ninjanape Місяць тому +5

    YES! This is literally on my to-do list for next week, and now I have a great source of info to start from. You're the best Naomi :D

  • @GregBressler
    @GregBressler Місяць тому +5

    Great video! Kinda glad this was recommended by Google...wonder how Google knew I was interested.

  • @BibleOSINT
    @BibleOSINT 15 днів тому

    Really helpful! I love the privacy videos! 💪

  • @markldevine
    @markldevine Місяць тому +3

    Best content for Nov 1, 2024. You get my vote. Great job!

  • @baloo7314
    @baloo7314 27 днів тому +2

    You are doing a great job. I was surprised to see my other favorite channel. :D good luck. My other favorite IT Channels: NetworkChuck, David Bombal, The Hated One, and An0n Ali. :D

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

    Comprehensive overview, thanks. A few months back I saw a UA-cam video by Data Slayer running one of these models on an 8GB Raspberry Pi 5 with impressive results.

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

    Omg I forgot about this! Glad you made another video for it!

  • @ronm6585
    @ronm6585 Місяць тому +2

    Thank you Naomi.

  • @waynedickens-i3r
    @waynedickens-i3r Місяць тому

    love the work

  • @johnlegend1360
    @johnlegend1360 Місяць тому +5

    Love it! Using this I won't need to agree to terms that allow someone to own MY data. It is mine.

  • @raphaelcazenave-leveque7991
    @raphaelcazenave-leveque7991 Місяць тому +3

    Cool Geeky video.
    Thanks Naomi.

  • @shabadooshabadoo4918
    @shabadooshabadoo4918 16 днів тому

    Nice to see you covering this topic! I already have a few of these installed but I'm glad you are covering the topic so i stopped in to hit like.

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

    wow , you smashed it ,

  • @samo-zaposao8757
    @samo-zaposao8757 Місяць тому +1

    So helpful,thanks

  • @marcus_cole_2
    @marcus_cole_2 Місяць тому +2

    You should talk about the several.AIs worth considering for llm art and more especially those using the Pinocchio installer engine for PC. Installing on a secondary drive, like D:, is recommended.
    For Android, the 'Local AI Offline Chatbot' app is available as a fully offline option, with no internet required. Although this AI is limited to a G-rating, it offers a solid offline experience for those seeking a private, all-ages model. No offensive material allowed. for a private AI.running local"

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

    great video!

  • @karlamellow1655
    @karlamellow1655 Місяць тому +2

    I love this channel. Clear and easy instructions, even for people that aren't amazing with computers. I now have a private Ai!

  • @itchylol742
    @itchylol742 Місяць тому +4

    1:03 "a tutorial made by The Hated One" is such a hard line out of context

  • @natemarx4999
    @natemarx4999 Місяць тому +8

    Naomi makes light blue look extra elegant.

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

    very well made tutorial! :)

  • @lufeacbo8
    @lufeacbo8 Місяць тому +4

    Great video. Please do another about local LLM on Android. Do not know if it is possible at this time.

    • @berylliumdotaep
      @berylliumdotaep Місяць тому +3

      there are people doing it but kind of complex

    • @LivingLinux
      @LivingLinux Місяць тому +4

      You can install a Linux terminal with Termux. From there you can install Ollama. But there are some things that don't make it easy. I tried with Debian and the directory was not added to the path. And I needed a second session, as I needed to start the Ollama server in a separate session. But it can be done.

  • @waynedickens-i3r
    @waynedickens-i3r Місяць тому

    holy crap finally found you again

  • @ABC-je8yq
    @ABC-je8yq Місяць тому +1

    This is helpful. Thank you. Subscribed ! : )

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

    Good explanation, Naomi. However, most users (with up to 16GB of RAM and probably not a very powerful GPU) will have to stick with a single digit billion parameters LLM as stated in the video. Whereas subscribing to the cloud AI solutions will let users access much more powerful LLMs. Finally, I think that it’s also worth mentioning LM Studio as an alternative to ollama, although I also use ollama.

  • @BogDrakonov
    @BogDrakonov Місяць тому +2

    I’d love to see a tutorial on running your own StableDiffusion as well

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

    Very nice! Have a nice weekend!

  • @RarelyCorrect
    @RarelyCorrect Місяць тому +4

    I was hoping to hear more about hardware requirements. What kind of GPU do we need for 40B models?

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

      It can run from cpu too it's just slower. Ram is based on the model. Small once are fine with e.g. 2 - 5gb and relly big ones are 40gb+.

    • @PracticalPcGuide
      @PracticalPcGuide Місяць тому +2

      40B Q4_0 is going to be around 20GB. so 3090-4090 is needed, my friend!

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

      Quantization is shrinking all the models quite nicely. Kind of the only way to go w light consumer scale models

  • @embo_5787
    @embo_5787 20 днів тому

    Brilliant explanation, you sound like an Australian tech Barbie and I love it!
    (Not disparaging your technical knowledge, just saying it’s nice to see other feminine ladies in tech!)

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

    Thx`s for the video. I missed any words about the Hardware i need for the docker lxc`s or the backbone where i install the Librarys for all the stuff. Also in this context the special " NPU " which are necessary for the OP`s . ( TOPS )

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

    What is the current best main processor for AI? Are there any other processors that AI would benefit from their presence?

  • @MrSnacko
    @MrSnacko Місяць тому +2

    How do you protect your computer from viruses when you download things from the command prompt?

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

      Depends on threat model, but good start is sticking with the big name sources that have tens of thousands of dl’s

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

      immediately formatting the entire disk and profit

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

    Hi NBTV, curious how would users know if any telemetry-esque connection doesn’t happen in the background when the device connects online with the offline options? That prompts and inputs, end user info can still be collected via so?

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

      I thought the same thing, I've set up multiple instances of different AI chat and Image generation on separate machines that are in a sandbox'd VLAN that was blocked from internet access and firewall logs monitored at the gateway, so far none of them have tried to call home or off network for anything prompt/query related. For queries that needed very new information that was not available when the model was built it did not call out instead reported it didn't have the info to answer. Additionally, I didn't see it covered in this video but there are uncensored models available that you can use, other public models/engines tend to censor very useful info, quick example - in a SHTF moment how to make useful compounds, for example KNO3CS.

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

      I run little snitch so I see every connection being requested

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

    My concern is that I use LLMs to solve certain issues. However, using the arguably "not as smart" local smaller models compared to the ones hosted by those 3rd parties online will result in worse solutions, won't it?

    • @JohnFrancisShade
      @JohnFrancisShade 14 годин тому

      That was my assumption, but I’ve been pleasantly surprised by the capability of the smaller local LLMs. For example, Gemma2 9.2B Q4_0 consumes 5.4GB on my Nvidia GTX 3060 12GB card. It is competent at Linux sysadmin questions and shell scripting, even though it’s a general purpose LLM.

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

    "Timeless Naomi"

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

    what do you think about gpt4all

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

    Can we train the models and add parameters to them (forking our own model?)

  • @AliceHernandez-u1q
    @AliceHernandez-u1q Місяць тому

    I have just found you and love you. I am pretty ignorant of this and am a bit overwhelmed. I have started with what I thought was first step and opened firefox. Here is question: In firefox , I get the message to search using Google. Am I doing somthing wrong in the firefox setup. I have disabled all tracking and cookies and permissions in Google account. Thank you. I promise I will get better. You just have a lot of info . Thank you very much.

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

    You should do another Ron Paul interview...been a while.

  • @krishnanmanushresth3400
    @krishnanmanushresth3400 28 днів тому

    Can I connect my postgres with openwebUI

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

    Please review Invizible pro and Rethink dns android apps

  • @Justmylukc
    @Justmylukc Місяць тому +12

    UA-cam should be sued for all the lies in the ads.

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

      What adds? Inform yourself....but to google the solutions will most probably not work...use a different search engine

    • @noanyobiseniss7462
      @noanyobiseniss7462 Місяць тому +2

      Utube shill didnt luv your comment, you should feel special.

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

      lol you've never heard of adblocking?
      edit: your playlists explain why

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

      @@kiyoponnn so how do i block ads on my phone ?

    • @phoenixbyrd79
      @phoenixbyrd79 17 днів тому

      UA-cam has ads???

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

    Fascinating stuff, and I can see why a local model is good for privacy. However, if I've registered with an AI system (say ChatGPT) with a masked email address, I always use a VPN and I never use personally identifiable information in chats, what is my privacy risk?

    • @NaomiBrockwellTV
      @NaomiBrockwellTV  Місяць тому +3

      1) chatgpt requires an active cell number (not voip)
      2) Everything you do through your acct is tied into a single profile and kept forever. I wouldn't bet against the ability for that information to eventually be tied to you.
      3) if you don't reveal sensitive information in chat, I think using chatgpt is fine. It's just about understanding what information is collected, and making smart usage decisions accordingly.

  • @لاتشبهنفسكبإنسانوأفعالكأفعالحي

    Thanks Naomi but is their a way to jailbreak AI or ChatGPT for privacy or like if I ask AI itself to encrypt our chat?

  • @StephenKensler-j3f
    @StephenKensler-j3f Місяць тому

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

    7:50 ekhem, what is that strange website you've showed here? I have never ever seen it before.

  • @SirWolf2018
    @SirWolf2018 Місяць тому +2

    I don't really like docker, it's still not user friendly enough. It's not like a regular application that you just install, you still need the command line.

  • @Dj-Z-S
    @Dj-Z-S Місяць тому

    Is the Grass DePin Project safe?

  • @asan1050
    @asan1050 Місяць тому +3

    Naomi Brockwell Thanks for posting this video

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

    *y r we assuming everybody uses a laptop? which kinds of desktop cpus and gpus if any are capable of running, say, a 70b parameter model?*

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

    Great video. I must admit I gave up on local LLMs about 6 months ago, due to it being *so slow* to run them, even on my beefy desktop machine. I don't have an NVidia GPU, though. I was hoping to see more info on using GPUs in this video, but it's probably a bit advanced/out of scope. I've been meaning to go back and try again and this video has further encouraged me to do so. Thanks!

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

    How do you update Open Web UI? Thank you

    • @NaomiBrockwellTV
      @NaomiBrockwellTV  Місяць тому +2

      GREAT question, going to do a video about it!

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

      @@NaomiBrockwellTV Thank you

    • @IoT_
      @IoT_ 25 днів тому

      ​@@Hindsight101if you're using a docker version, just pull a new one

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

    Naomi be know that ollama LLM are not really Open Source, Meta like others (Google recently corrected this) are abusing the the Open Source definition standard (OSI), this LLM are trained by private data and none of the sources are explained or given to the users.

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

    PLEASE, DO A VIDEO on how t0 keep my house property safe.

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

    my question to anyone who wants to answer, even though I applied this llama, my internet provider will be able to see my data, it is confusing to me as I am 1000 years old help please

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

      If you are self hosting a model, you don't need internet access to use it. It's all stored locally on your machine.

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

    msty works well for the windows user.

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

    2:35 the most statistically probable responses ;)

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

    The only problem is that all these modules use a lot of resources (some even GPU)... I think that until we could run a decent AI model locally that does not require a modern CPU and RAM, this will not be feasible... I tried already and it was to slow, or the "lower" models are to bad.... :(... Let's see in the future :)

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

    Llama by Meta is not open source. It's a word play to make you think that but if you look at the legality it isn't actually open source

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

    Honestly seeing the hated one using nord or the pIrate bay undermined his credibility

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

    Can I ask my local files in this?

  • @KomradeMikhail
    @KomradeMikhail Місяць тому +5

    How about instructions on removing AI slop from our lives, instead of adding more to it ?

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

    Excellent video. I should have seen it sooner, my bad.
    Is it possible to download the AI model and install it in Ollama or Open WebUI?
    I want to know if it is possible to get it while you already have a home network cut from the internet?

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

    I love you Naomi!

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

    Always a pleasure. (Forgive my lack of originality!) 😊

  • @bravohomie
    @bravohomie Місяць тому +2

    I'd like to make an honorable mention for GPT4All. Turn key UI with CPU based models for more compatibility

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

    The piratebay was the shyt in its day.

  • @Ivan-hu7jf
    @Ivan-hu7jf Місяць тому

    Hey.
    Naomi is malwarebytes any good for virus protection on my phone? Please let me know.

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

    Bonjour gorgeous 😊
    I read a study about the crakeling voice it’s only happening in USA so far I remember 😊

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

    Inb4 rugpull

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

    The only problem I see with your tutorial is that it, like most tutorials that tell people to sue docker, is that there is no instructions on how to install docker.
    OH sure, I could do a web search like I have many times before, but they all tell me to fun a command in my prompt that my computer says; does not exist.
    My biggest frustration with techies is that they make generalized assumptions that are only true if the given computer happens to have the latest, greatest, most advanced everything, including a monitor set to the highest resolution possible, which I can not see and therefore must set mine to 1280 x 768.
    Other than that, good video.

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

    Would have been nice if you had linked the actual LLM video- couldn't find a single vid anywhere in his playlist (The hated one) about anything AI, much less LLM's. Also 99% of his content looks like it's ,ore likely to get you put on a gov list first. You also didn't even mention TechXplainator which seems to be where most of the video content is actually from, (like the Docker clips), although all 8 of his video's I clicked on have a female ai as voiceover, so I don't know where the male voice came from.

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

      What actual LLM video? This is a project we put together in collaboration, this IS the video :)

  • @Johnny-c6p
    @Johnny-c6p Місяць тому

    i still think ur really pretty. i like LLM's . but yea feel really concerned about them. but im careful what i put on there. but only academic consumer level stuff.. Local LLM is out of the reach of my Hardware because i cant afford to run it well enough. I only like Claude ai and GPT so far. i Dis-like gemini and meta Lama whatever. And open source is subjective when Meta does it. read the fine print.

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

    Bad tutorial. Almost nothing worked as you showed. Had to look it all up and figure it out on my own.

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

    You being shadowed band I barely see you videos and I like them

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

    Why are you fo focused on running it on a laptop?

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

    [Title] How To Host AI Locally ?
    OLLAMA ???

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

    ppl don't care about their data until they are caught with a crime.

  • @RS-vp8yv
    @RS-vp8yv 26 днів тому

    OpenwebUI installs open telemetry. Every single thing that can be collected is. Every word of every chat. You should take this video down. There is no opt out and no way to disable it. This video kinda what this channel is against no?

  • @Bzl-ak
    @Bzl-ak Місяць тому

    Thank christ I have a brain and don't need these tools.

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

    Was going to watch but I auto block channels with soy face intro screens.

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

    Thanks Mate Respect From Oz 🇦🇺🦘