WEBVTT

00:00:10.800 --> 00:00:11.680
<v Simon>Here we go.

00:00:18.155 --> 00:00:19.755
Money printer go brr.

00:00:20.715 --> 00:00:21.435
The

00:00:21.755 --> 00:00:23.035
fake money printers.

00:00:23.275 --> 00:00:24.475
What's up, everyone? This is Simon.

00:00:25.090 --> 00:00:28.050
Close network privacy podcast.

00:00:28.130 --> 00:00:29.490
Dispatch

00:00:29.490 --> 00:00:30.450
number four.

00:00:31.890 --> 00:00:34.450
I took a poll. I posted a poll

00:00:34.690 --> 00:00:41.625
in the matrix chat asking if I should maintain a separate feed for the dispatches, are the mini pods.

00:00:42.105 --> 00:00:45.065
Usually, the under twenty minutes single

00:00:45.625 --> 00:00:48.185
topic, single subject episodes.

00:00:50.105 --> 00:00:55.200
And all the votes came back so far as yeah. Just put it in the main feed. So

00:00:55.680 --> 00:01:00.720
Here we go. Okay. That's what I'm gonna do. So this is actually the fourth mini

00:01:00.720 --> 00:01:01.840
pod I'm making.

00:01:02.480 --> 00:01:09.040
But it will be the first one that you're hearing if it's If you're only subscribed to the main podcast feed. So

00:01:10.135 --> 00:01:12.295
that may be why this is little bit different format.

00:01:12.775 --> 00:01:16.695
So it's just kinda more of the quick quick and dirty, quick and fast.

00:01:17.415 --> 00:01:19.415
Okay. I'll stop the innuendos.

00:01:19.735 --> 00:01:24.935
It's gonna be just a single topic. So on episode 61, which I put out yesterday.

00:01:26.120 --> 00:01:27.960
Was it yesterday? I think it was yesterday,

00:01:28.600 --> 00:01:29.480
about

00:01:29.960 --> 00:01:35.240
local LLMs. I kinda wanted to deep dive into that just a little bit more because I did create

00:01:35.560 --> 00:01:36.680
a resource

00:01:37.000 --> 00:01:39.800
hub on closednetwork.io

00:01:40.505 --> 00:01:43.145
under the links page at the bottom.

00:01:43.545 --> 00:01:46.825
Actually, I'll pull it up because I forget what I called it exactly.

00:01:48.185 --> 00:01:52.665
Closed. Where's my website? Where's my website? Closednetwork.io.

00:01:52.985 --> 00:02:07.130
Alright. So if you go to links down at the bottom, I have a field directories. And I have these links set up as cards, so it's really easy to find things like matrix channels and Armada Noster is now up there, the forum and show notes. But now we have field directories.

00:02:07.690 --> 00:02:15.845
I might call it something else. I'll call it that. But there's a link to run it local, LLM downloads. And I have a resource page there, which I will keep updated

00:02:16.485 --> 00:02:19.045
of all the different places online where you can,

00:02:19.845 --> 00:02:20.645
download

00:02:21.685 --> 00:02:23.125
large language models

00:02:23.440 --> 00:02:24.880
as well as

00:02:25.360 --> 00:02:26.080
other

00:02:27.440 --> 00:02:29.040
other resources.

00:02:29.040 --> 00:02:30.400
So I have,

00:02:30.880 --> 00:02:31.440
like,

00:02:32.000 --> 00:02:36.400
mirrors and stuff for, like, peer to peer. I have direct downloads for things like Olama libraries,

00:02:37.275 --> 00:02:38.395
LM Studio,

00:02:38.475 --> 00:02:43.035
all the different places you can get models like Model Registry, LLM Adorb,

00:02:43.035 --> 00:02:44.395
Pirateface.

00:02:45.195 --> 00:02:59.170
You know, some some of these are gonna be direct downloads. Some of them are gonna be Torrent or peer to peer. It's really important that we keep copies of those. And then we have some primary sources as well as mirrors and regional hubs. And then one command pulls for, like,

00:02:59.570 --> 00:03:08.755
Rama Lama, Docker Hub, Olama Library, so on and so forth. G g p t for all. So the reason I I wanted this out first and then also to some trusted,

00:03:09.155 --> 00:03:10.515
quantizers as well

00:03:11.235 --> 00:03:11.955
and

00:03:12.035 --> 00:03:14.035
links to all of that and kinda just some,

00:03:14.675 --> 00:03:16.195
offset downloads. So,

00:03:17.155 --> 00:03:24.240
I just kinda wanted to put this out because I think it's pretty important that we work together to preserve LLM

00:03:24.240 --> 00:03:35.175
models as much as we can because I do think that at some point or or we're already starting to see it, but I think it's gonna be even harder to find. I think they're gonna get suppressed. I think there's gonna be a war on

00:03:35.575 --> 00:03:42.295
individuals being able to have access to local models because they want to control everything,

00:03:43.415 --> 00:03:45.015
where these run. So

00:03:46.960 --> 00:03:56.400
just think about like and the reason why they're so important is because I I you know, yes, the frontier models are awesome. They work quite well for a lot of different things. So that's OpenAI's Codex,

00:03:56.560 --> 00:03:57.600
Anthropix,

00:03:57.600 --> 00:03:58.560
Cloud Code,

00:03:59.280 --> 00:03:59.920
GrokBot,

00:04:00.855 --> 00:04:05.255
as well as some of the metal ones I haven't used, but I know a lot of people are big on Muse.

00:04:05.575 --> 00:04:08.535
So the reason why I want to

00:04:09.175 --> 00:04:10.215
emphasize

00:04:10.855 --> 00:04:11.815
using

00:04:11.895 --> 00:04:15.815
an open source harness that you control, like OpenCode,

00:04:16.880 --> 00:04:17.920
OpenClaw,

00:04:18.160 --> 00:04:19.040
Hermes,

00:04:19.040 --> 00:04:26.720
things of that nature. And then, yes, use frontier models when you want to, but also utilize local models for things that you want to be private.

00:04:28.240 --> 00:04:31.120
Because think about the last thing you typed into a chatbot.

00:04:31.585 --> 00:04:33.025
Like, the recipe,

00:04:33.825 --> 00:04:35.745
not the email you wanted cleaned up.

00:04:36.465 --> 00:04:39.505
The other one. The question about the rash,

00:04:40.305 --> 00:04:42.225
the contract you didn't understand,

00:04:43.105 --> 00:04:49.640
the message you might have wanted to send to an ex and ask the machine to make it sound less angry. Right?

00:04:50.040 --> 00:04:54.200
So people tell AI things that they don't even tell their doctor.

00:04:55.160 --> 00:04:57.000
And every one of those prompts

00:04:57.480 --> 00:05:02.120
went somewhere. It crossed the internet. It landed on a server you don't control.

00:05:02.695 --> 00:05:06.695
It got written down. It got recorded. It got saved. So in episode 61,

00:05:06.695 --> 00:05:08.775
the one I just put out, I said,

00:05:09.015 --> 00:05:15.895
almost in passing that you can run one of these things on your own computer. No account, no cloud, no log,

00:05:16.615 --> 00:05:17.895
not on somebody else's server.

00:05:19.140 --> 00:05:23.940
And some of you have already been hitting me up on signal and some, on,

00:05:24.260 --> 00:05:25.060
email

00:05:25.060 --> 00:05:28.180
just in the last twenty four hours. Like, okay, how how do I do that?

00:05:29.780 --> 00:05:33.635
And, yeah, I think I think that that's probably warranted.

00:05:33.635 --> 00:05:37.075
So this is the how and why it matters,

00:05:37.555 --> 00:05:39.395
more than it sounds like it should. Right?

00:05:40.115 --> 00:05:42.355
So on the hub page for,

00:05:42.950 --> 00:05:52.310
you know, this episode, there's a there's a line I wanna start with. And every prompt you send to to Cloud AI is a log entry on someone else's server.

00:05:52.710 --> 00:05:57.110
So that's not a slogan. That's that's the architecture. When you use a hosted chatbot,

00:05:57.455 --> 00:06:02.895
your words are processed on their machines. And what happens to them after

00:06:03.375 --> 00:06:06.575
that is governed by a privacy policy that you didn't read,

00:06:07.135 --> 00:06:08.415
it could that can change

00:06:09.135 --> 00:06:15.740
in a country whose courts can't reach it. Right? And and why we've already watched those courts, you know,

00:06:16.540 --> 00:06:26.220
react reach it and react. Right? So in May of last year, the copyright fight between the New York Times and OpenAI, a federal judge ordered OpenAI to preserve chat gbt conversations,

00:06:26.845 --> 00:06:29.085
including ones users had deleted.

00:06:29.405 --> 00:06:31.085
So users who thought,

00:06:31.565 --> 00:06:34.205
air quotes, delete meant delete found.

00:06:35.005 --> 00:06:41.400
Right? They that what they thought meant delete found out it was, like, deleting it from from their chats. Right?

00:06:42.200 --> 00:06:46.600
The judge also said, no. This is about preservation, not surveillance,

00:06:47.320 --> 00:06:49.080
and it's relevant to the case.

00:06:49.960 --> 00:06:53.560
Because one user went to court arguing his private medical chats

00:06:54.545 --> 00:06:57.825
shouldn't have been swept up, and the judge disagreed.

00:06:58.625 --> 00:07:00.385
And that order was eventually

00:07:00.545 --> 00:07:02.385
wound back in October.

00:07:02.385 --> 00:07:07.665
But in December, the same court ordered OpenAI to hand over roughly 20,000,000 d

00:07:07.825 --> 00:07:09.585
identified chat logs

00:07:09.800 --> 00:07:12.520
to the plaintiffs. OpenAI fought it

00:07:13.400 --> 00:07:15.880
and called it, you know, disproportionate.

00:07:16.280 --> 00:07:21.800
And it you know, I wanna be fair here. OpenAI was on the user's side of that argument.

00:07:23.005 --> 00:07:23.645
But

00:07:23.885 --> 00:07:25.165
but the point,

00:07:25.565 --> 00:07:30.925
it wasn't their call. Like, once your words are on their server, the company's,

00:07:31.165 --> 00:07:32.605
like, good intentions

00:07:33.645 --> 00:07:35.965
are just one input among several.

00:07:37.210 --> 00:07:37.850
So

00:07:41.930 --> 00:07:44.890
sorry. I had something pop up on my screen here.

00:07:45.290 --> 00:07:45.930
So,

00:07:48.010 --> 00:07:53.370
so a judge is another. A subpoena is another. A breach is another. So Sam Altman himself

00:07:53.025 --> 00:07:57.025
said it out loud last summer. If you talk to ChatGPT

00:07:57.185 --> 00:07:58.865
about your most sensitive stuff

00:07:59.185 --> 00:08:00.625
and there's a lawsuit,

00:08:01.105 --> 00:08:03.105
they could be required to produce it.

00:08:03.905 --> 00:08:09.780
So there's no doctor patient privilege for a chatbot. There's no lawyer client privilege. It's just data.

00:08:11.460 --> 00:08:15.700
And it's it's not only courts. In the summer of last year, people discovered

00:08:15.860 --> 00:08:20.020
that shared chat GPT conversations were showing up in Google search results.

00:08:20.675 --> 00:08:22.355
This has also happened with Claude.

00:08:22.515 --> 00:08:27.875
There there was a little checkbox when you shared a chat that said make it discoverable.

00:08:27.875 --> 00:08:28.835
Right? People

00:08:29.075 --> 00:08:37.130
ticked it without really understanding what it meant, and personal conversations ended up an index, you know, on the web. And OpenAI called

00:08:37.370 --> 00:08:39.610
called it a short lived experiment

00:08:39.690 --> 00:08:44.090
and and killed the feature within within a day or so. But the search engines

00:08:44.250 --> 00:08:58.625
cached things and some of it stuck around. So nobody was hacked. Nothing was breached. Just a product team shipped a feature and private things became public. And once it become public, they oftentimes get indexed, which means they get cached around

00:08:58.790 --> 00:09:01.190
the globe on multiple servers. And no matter

00:09:01.990 --> 00:09:06.150
even if the even if the service provider removes that feature or removes,

00:09:06.390 --> 00:09:10.070
the the accessibility of that message, it's kind of out there forever.

00:09:10.725 --> 00:09:14.965
And that's the threat model I want you to kind of sit with. With Cloud AI,

00:09:15.285 --> 00:09:23.765
you're not just trusting the company's security. You're trusting every future product decision, every policy update, every terms of service

00:09:24.350 --> 00:09:25.230
email,

00:09:25.230 --> 00:09:39.550
you'll archive without reading. And a model running on your own machine doesn't get a product road map. It doesn't get a new privacy policy. It doesn't get subpoenaed because there's nobody to serve the subpoena on but you.

00:09:40.965 --> 00:09:43.845
So what does, like, local actually

00:09:44.005 --> 00:09:49.685
mean? Right? So what we're actually talking about is a large language model.

00:09:50.645 --> 00:09:53.445
At the end of the day, it's just a big ass file.

00:09:53.900 --> 00:09:54.620
K?

00:09:55.020 --> 00:09:58.780
Usually, somewhere between two and forty gigabytes.

00:09:59.790 --> 00:10:01.310
It's the weights,

00:10:02.430 --> 00:10:04.990
billions of numbers that encode

00:10:04.990 --> 00:10:09.630
everything the model learned. So companies like Meta, Google,

00:10:10.510 --> 00:10:11.390
Mistral,

00:10:11.390 --> 00:10:12.830
you know, Alibaba,

00:10:13.630 --> 00:10:14.510
and others

00:10:16.885 --> 00:10:17.765
release

00:10:17.765 --> 00:10:19.605
these files publicly.

00:10:20.405 --> 00:10:22.965
They're called open weight models.

00:10:23.845 --> 00:10:27.685
So if you have the file and the program that can run it,

00:10:28.005 --> 00:10:30.085
you have a chatbot on your desk.

00:10:31.710 --> 00:10:34.510
So pull the network cable and it still works.

00:10:34.990 --> 00:10:35.630
Now,

00:10:36.270 --> 00:10:46.510
it's time time to get a little honest and truthful about how all this is because this show doesn't just just do hype. We're not here just to, you know, yeah, man, do this, you know. So a model that fits on your laptop

00:10:47.045 --> 00:10:52.405
is not going to match the biggest frontier models running on a on a data center full of GPUs.

00:10:52.645 --> 00:10:54.485
So for deep research,

00:10:54.885 --> 00:10:56.565
long complex coding,

00:10:57.365 --> 00:10:58.565
the hardest reasoning,

00:10:58.805 --> 00:11:05.100
the cloud models are still ahead. And local models make things up just just like the cloud ones do. Right?

00:11:05.580 --> 00:11:09.820
And check, you know, just check anything that matters. But for the for the stuff most

00:11:10.220 --> 00:11:14.220
of us actually do, summarizing documents, drafting an email,

00:11:14.380 --> 00:11:16.220
explaining a concept, rewording something,

00:11:16.885 --> 00:11:18.805
asking the embarrassing questions.

00:11:18.885 --> 00:11:21.925
A good small model is more than enough.

00:11:22.165 --> 00:11:24.645
And for the air quote sensitive stuff,

00:11:25.445 --> 00:11:29.925
you know, good enough and private beats brilliant and locked every single time.

00:11:30.970 --> 00:11:34.330
And so I'll kinda go over some like hardware

00:11:34.490 --> 00:11:36.090
kinda requirements.

00:11:36.090 --> 00:11:38.890
So that's kinda the rough the rough hardware role.

00:11:40.490 --> 00:11:41.130
Eight

00:11:41.290 --> 00:11:42.650
gigabytes of memory,

00:11:43.450 --> 00:11:44.970
you can run small models.

00:11:45.815 --> 00:11:47.735
Three to 4,000,000,000 parameters.

00:11:47.895 --> 00:11:48.695
Useful,

00:11:48.695 --> 00:11:50.215
a bit limited. Right?

00:11:50.455 --> 00:11:52.055
With 16 gigabytes,

00:11:52.535 --> 00:11:54.935
this this is kinda like a good sweet spot.

00:11:55.575 --> 00:11:58.455
There's like seven to 14,000,000,000 parameter models,

00:11:59.590 --> 00:12:03.670
which is where local AI starts kinda feeling more, like, genuine

00:12:03.830 --> 00:12:07.030
and, like like, it's actually genuinely capable of helping you out.

00:12:07.510 --> 00:12:09.670
So at 32 gigs and up,

00:12:09.990 --> 00:12:14.950
you're kind of, like, able to run some of the bigger stuff. And a and a special note for Mac people,

00:12:15.965 --> 00:12:16.765
especially,

00:12:16.765 --> 00:12:22.365
you know, if you've got Apple Silicon Mac. So Mac, like, these are the m one through m five processors.

00:12:23.485 --> 00:12:28.525
You're in a great position. Right? Even though we tell everyone to move to Linux and open hardware,

00:12:28.990 --> 00:12:33.070
for the context of local l l like, running a local LLMs,

00:12:33.070 --> 00:12:35.150
like Macs are actually

00:12:35.630 --> 00:12:37.950
quite good at running them. They're not

00:12:38.270 --> 00:12:40.030
the best necessarily.

00:12:40.030 --> 00:12:45.765
Like, it depends on your budget. But, like, they're really good because not only do you get a usable computer,

00:12:46.485 --> 00:12:50.965
you also have unified memory with a lot of cores on those GPUs

00:12:51.125 --> 00:12:53.285
that can actually load

00:12:53.445 --> 00:12:58.485
the LLM models into that memory and utilize them and kind of it it will be much more responsive.

00:12:59.680 --> 00:13:02.160
Otherwise, you're gonna want some pretty beefy graphics,

00:13:02.400 --> 00:13:04.480
graphic processors, some GPUs.

00:13:05.040 --> 00:13:05.600
So,

00:13:06.640 --> 00:13:09.840
anyways, this is kind of like an area where Mac is actually,

00:13:10.080 --> 00:13:15.885
like, especially like Mac Studios, Mac minis, anything with the m processors, MacBook Pros are actually

00:13:15.965 --> 00:13:17.805
kind of great,

00:13:18.285 --> 00:13:19.565
for for this.

00:13:20.045 --> 00:13:20.605
So

00:13:21.325 --> 00:13:40.790
the way those chips, like, share memory between the processor and the graphics cards, the GPUs makes the kind of, like, unusually good at this. So now you also have to plan for disk space too. So these files are big, and you'll end up with more than one. Right? Because each model can vary anywhere from two to 40 gigabytes, like I said.

00:13:41.110 --> 00:13:47.075
So let me kinda give you a little bit of a setup. So the first one I'm gonna talk about is an application called LM

00:13:47.075 --> 00:13:47.955
Studio.

00:13:48.355 --> 00:13:53.555
And if you've never opened a terminal in your life, you can start here. It's a normal desktop app.

00:13:53.875 --> 00:14:03.130
You download it. It's on Linux, it's on Windows, it's on Mac. So you just download it, you open it, there's a search box and you pick a model. You click download and then you start chatting.

00:14:03.450 --> 00:14:09.770
It looks and feels like chatbots that you've already used, whether it's ChimeGPT or Claude or whatever.

00:14:11.130 --> 00:14:20.325
The second one that I would then experiment with is Olama, o l l a m a. It's a little more under the hood,

00:14:20.725 --> 00:14:22.245
but it's become

00:14:22.245 --> 00:14:25.685
kind of the standard engine for running local models

00:14:26.165 --> 00:14:28.805
and lots of other apps plug right into it.

00:14:29.750 --> 00:14:34.950
So especially these days, it also has its own simple chat window on Mac and Windows.

00:14:35.510 --> 00:14:40.230
Both are free. LM Studio and Olama are free. Both

00:14:40.550 --> 00:14:46.305
are on the hub page, like the resource that I have on the website. And I'll have that link down in the show notes as well.

00:14:46.945 --> 00:14:57.585
And here's I'm gonna kinda just break down how to get each going on each platform, specifically Mac and Windows at the moment. And and I'll do, and I'll talk about Linux. So on a Mac, you'll need Apple Silicon Mac, m one or later,

00:14:58.270 --> 00:15:02.110
and a recent version of Mac OS. And then for LM Studio,

00:15:02.190 --> 00:15:08.110
you'll just download it, drag it to your applications, and you're done. For Olama, same thing. Download it from olama.com,

00:15:08.110 --> 00:15:13.265
drag it to your applications folder, open it, and it'll set up in your menu bar.

00:15:14.225 --> 00:15:17.665
If you're a homebrew person, it's just brew install

00:15:17.745 --> 00:15:26.800
llama. And then on Windows, Windows 10 or 11, you're just gonna download llama studio installer or the llama setup, run it like any other program, puts an icon on your system tray,

00:15:27.120 --> 00:15:32.320
runs it quietly in the background. Right? So if you have an NVIDIA graphics card, update your drivers first.

00:15:32.640 --> 00:15:43.415
And that's the, like, pretty much the single thing that makes the biggest difference to speed, you know, 16 gigs of of RAM recommended, but that's kinda recommended to speed things up. And a graphics card with at least

00:15:43.815 --> 00:15:46.295
four gigs of memory will will help a lot,

00:15:46.615 --> 00:15:51.975
to run a smaller model. And then on Linux, LM Studio ships as an app image. It's in a lot of repositories.

00:15:52.055 --> 00:15:54.855
You can just run it, search for it, run it, install it.

00:15:56.190 --> 00:15:59.710
Okay. So once you've got a llama installed on any platform,

00:16:00.590 --> 00:16:11.845
it's just two words in a terminal. A llama space run followed by the name of the model. And it downloads it and drops you straight into a chat. You just start typing a question.

00:16:12.405 --> 00:16:18.005
And then you're talking to AI which is living on that system only. And then for,

00:16:18.485 --> 00:16:19.685
like a first model,

00:16:19.925 --> 00:16:21.925
I would like on a eight gig machine,

00:16:22.085 --> 00:16:25.790
I'd pick a small one, like maybe a three to four billion range.

00:16:26.030 --> 00:16:29.310
On a 16 gig, go for something like $88,000,000,000.

00:16:29.310 --> 00:16:34.270
And then the big the bigger ones, you know, look for, like, Llama, Gemma, Quinn,

00:16:34.510 --> 00:16:45.785
and Mistral. Like, they're they're, you know, really good, especially for running, like if you wanna use a harness like a like a Hermes or something like that, use that as your default because then you can still hook in other providers later.

00:16:46.665 --> 00:16:49.545
And everything changes month to month. So you're gonna be changing

00:16:50.265 --> 00:16:56.720
you're gonna be changing your providers and models around, you know, once you get more familiar. So I wanna talk about the hub page because,

00:16:57.120 --> 00:16:57.920
you know,

00:16:58.160 --> 00:17:02.080
downloading a 40 gig file from the Internet is, you know, it's kinda,

00:17:03.920 --> 00:17:06.240
you know, it it can be

00:17:07.535 --> 00:17:17.775
a lot. So the page let's see. I'm oh, actually, sorry. Just got confused. I was looking at the page. So I the the page at closednetwork.ao/local-llm-download

00:17:17.775 --> 00:17:42.265
is a directory. So I don't host anything there. Right? It points you to places where the models actually live, and it's organized by how paranoid you wanna be. So there's the primary hubs, which are like Hugging Face is the big one. This is kind of the default. There's model scope where a lot of the Quinn models land first, and then, Kaggle and Nvidia's catalog for specific families of models. And there's one,

00:17:42.985 --> 00:17:43.705
command

00:17:45.065 --> 00:17:50.505
runtime, I think, for a llama and LM Studio, which, we just covered. It's, plus

00:17:52.050 --> 00:17:59.170
JAN and GTP for all, which are both offline first desktop apps and a couple of container based options,

00:17:59.330 --> 00:18:00.930
like for the HomeLab people.

00:18:02.050 --> 00:18:04.370
And then there's a section on trusted quantizers.

00:18:04.835 --> 00:18:05.955
Quick explanation,

00:18:05.955 --> 00:18:08.835
most people don't run the full sized

00:18:09.395 --> 00:18:15.075
original model. They run a quantized version. A comp it's compressed. Right? So it fits

00:18:15.475 --> 00:18:25.640
in a normal amount of memory with a small hit to the quality. Right? So those versions are made by third parties. So who made your copy matters,

00:18:25.640 --> 00:18:29.080
and the page lists ones with a good track record.

00:18:29.400 --> 00:18:40.445
And there's a section on the torrent and peer to peer section for models that have been pulled from the main hubs. Or if you'd rather not have an account log every download you make,

00:18:40.925 --> 00:18:44.365
you know, you can use that, which brings us to the, like, the most important part of the page.

00:18:45.325 --> 00:18:47.885
The op sec checklist. So there are six things.

00:18:48.620 --> 00:18:51.100
I'm gonna hit hit the ones that matter most.

00:18:51.820 --> 00:18:53.580
One, if you torrent,

00:18:53.900 --> 00:19:01.180
okay, your IP address is visible to everyone in the swarm. So definitely use a VPN that you trust.

00:19:01.660 --> 00:19:02.860
And and and,

00:19:03.100 --> 00:19:04.300
you know, do it

00:19:05.235 --> 00:19:07.635
do it from a server that you trust. Okay?

00:19:08.275 --> 00:19:14.995
And the second is check the hash. Compare the files SHA two fifty six hash against

00:19:14.995 --> 00:19:17.075
what the original publisher posted.

00:19:17.235 --> 00:19:18.435
And a magnet link,

00:19:19.790 --> 00:19:28.350
you know, proves you got the same file as everyone else, but it does not prove that the file is what it claims to be.

00:19:28.750 --> 00:19:31.710
So the magnet links, you know, it's kind of like a good

00:19:32.385 --> 00:19:33.185
baseline,

00:19:33.185 --> 00:19:37.345
but compare that SHA two fifty six against the publisher's file.

00:19:37.905 --> 00:19:39.185
And the third one is,

00:19:40.145 --> 00:19:41.825
and this one's pretty important.

00:19:41.825 --> 00:19:43.425
So you want to,

00:19:45.105 --> 00:19:45.585
prefer,

00:19:46.340 --> 00:19:49.220
like, safe tensors and g g u f

00:19:50.180 --> 00:19:50.820
files.

00:19:51.060 --> 00:19:53.060
So older model formats,

00:19:53.620 --> 00:19:58.420
alright, those are the dot bin and dot p t files, use something called pickle.

00:19:58.900 --> 00:20:03.860
And pickled file can run code on your machine the moment you load it.

00:20:05.140 --> 00:20:07.780
A model file can be malware.

00:20:09.060 --> 00:20:12.580
So the the the safe tensors and g guf are designed

00:20:13.485 --> 00:20:15.165
so they can't.

00:20:15.325 --> 00:20:19.565
So if you use a Llama or LM Studio, you're already getting

00:20:19.885 --> 00:20:21.005
the g guf.

00:20:22.365 --> 00:20:38.500
But if you kinda go off the beaten path, this matters. Like, if you kinda just go and you download some of the original older ones, the formats are dot bin and dot p t, that could be problematic for you. So I would if you're first starting out and you're brand new, I would stick with the llama and LM Studio

00:20:38.945 --> 00:20:43.345
because by default, they're already gonna be giving you the g gov, models

00:20:43.345 --> 00:20:44.065
and

00:20:44.465 --> 00:20:50.225
kinda keeps you in a in a safe starting place. The more familiar you get, the more advanced you get,

00:20:50.545 --> 00:20:56.160
the more, you know, you you'll branch out. But this is kind of just an intro to running local LLMs,

00:20:56.160 --> 00:20:57.440
so you can listen to this.

00:20:57.840 --> 00:20:58.320
And,

00:20:59.280 --> 00:21:14.685
I will have a a an article as well on the website, which kinda has a lot of these resources and kinda talks through, but you're gonna find your way. You're gonna end up on YouTube videos and listening to stuff. This is just kind of me explaining some of the, nomenclature, terminology, and safeguards.

00:21:14.685 --> 00:21:15.165
So,

00:21:15.565 --> 00:21:16.605
the fourth thing,

00:21:17.485 --> 00:21:22.300
is to look at who uploaded the model. Like brand new accounts with popular

00:21:22.300 --> 00:21:24.860
models and no history, that's a red flag.

00:21:25.180 --> 00:21:26.220
And lastly,

00:21:27.660 --> 00:21:29.660
once the model is downloaded,

00:21:29.980 --> 00:21:31.340
right, it does not

00:21:31.980 --> 00:21:35.020
need the Internet to work. So test that.

00:21:36.035 --> 00:21:38.755
Get your model loaded, turn off your Wi Fi,

00:21:39.235 --> 00:21:46.515
unplug it, you know, from the network, and then ask us something. And if it answers, you've just proved to yourself that you've, you know, your conversation isn't going anywhere.

00:21:47.315 --> 00:21:57.400
So the two things that can quietly undo all of this. First is the local app. Doesn't automatically means local model. Olama now offers cloud models as well.

00:21:58.120 --> 00:22:02.840
They're marked with a cloud tag, and they run on Olama's

00:22:02.840 --> 00:22:09.535
servers, not yours. So Olama says it doesn't train on those prompts, but the point of this

00:22:09.695 --> 00:22:15.455
whole exercise is that your prompt doesn't have like, leave your your your house, your apartment, your condo,

00:22:15.695 --> 00:22:24.020
wherever you're at, your office. Right? It doesn't leave the building. If you want to be sure there's a setting that switches cloud features off entirely,

00:22:24.820 --> 00:22:26.260
and I'll put that,

00:22:26.580 --> 00:22:28.900
in the article. So the second,

00:22:29.540 --> 00:22:31.700
Olama out of the box only

00:22:31.860 --> 00:22:36.975
listens to your own machine. And that's a good thing. So every so often a tutorial,

00:22:37.855 --> 00:22:42.815
will tell you to open up your whole network so you can use it from your phone.

00:22:43.535 --> 00:22:51.950
Researchers keep finding Olama servers sitting open on the, you know, public Internet because people did exactly that and forgot about, like, their router.

00:22:52.350 --> 00:22:57.710
So if you wanna reach your local AI from your phone, do it over something like Tailscale or WireGuard.

00:22:57.710 --> 00:23:02.025
Don't just just don't just open up ports. Right? Don't follow some YouTube tutorial

00:23:02.105 --> 00:23:07.065
that has you opening up ports on your router. You never you never wanna expose

00:23:07.145 --> 00:23:07.865
your

00:23:08.665 --> 00:23:09.465
network

00:23:09.465 --> 00:23:10.905
to the public Internet.

00:23:11.945 --> 00:23:14.665
So Tailscale is free. I love Tailscale.

00:23:15.550 --> 00:23:18.590
You can use your GitHub account to log in or whatever.

00:23:18.910 --> 00:23:20.190
You put your computer

00:23:20.430 --> 00:23:23.230
that has a llama on that Tailscale network,

00:23:24.030 --> 00:23:30.505
and you put Tailscale on your phone. So if you want to access it from outside your home, that's how you're gonna do that.

00:23:31.465 --> 00:23:33.385
And then kind of the last thing,

00:23:35.145 --> 00:23:44.920
you know, coming down from all of this is you don't have to give up on Cloud AI. I don't want I don't wanna make it sound like local AI only. I mean, that would be ideal.

00:23:45.320 --> 00:23:49.400
But you're going to need some significant hardware depending upon the tasks that you wanna run.

00:23:49.880 --> 00:23:55.400
I myself run all of it. I have run Cloud AI. I run local AI.

00:23:55.560 --> 00:24:06.725
It depends on the task. Depends on what I'm asking from it. If I'm doing some work projects and it requires some development, or I'm doing some personal projects and it and it requires some development, I'm using frontier

00:24:06.805 --> 00:24:09.845
models like Opus five five from Claude.

00:24:09.925 --> 00:24:12.565
I'm using Codex, you know, as well,

00:24:14.140 --> 00:24:15.500
which is ChatGPT's

00:24:15.500 --> 00:24:16.140
models.

00:24:16.540 --> 00:24:17.100
So

00:24:17.500 --> 00:24:26.060
I don't want you to say like, I'm not gonna pretend that I don't use Cloud AI and only local. But you should get to choose

00:24:26.685 --> 00:24:32.525
what goes to the cloud. And right now, most people don't have that choice because they don't have

00:24:33.085 --> 00:24:35.005
an alternative installed.

00:24:35.005 --> 00:24:37.725
They don't even understand about alternatives.

00:24:38.045 --> 00:24:44.900
And that's the whole point of this dispatch. That's the whole point of me talking about local AI because it's not going anywhere.

00:24:45.140 --> 00:24:50.580
And I know there's a lot of pushback. I don't want anything to do with AI. Cool. I get it. I really do.

00:24:50.900 --> 00:24:51.380
But

00:24:51.860 --> 00:25:04.235
at some point, you're probably gonna be interacting with it. You probably already are and just don't know it. So this is just for the people that want to kind of get a better grasp of using AI, but using it in a way where, again, you decide

00:25:04.795 --> 00:25:10.860
what you what what you send to whom and where it goes. Right? So install the alternative.

00:25:11.100 --> 00:25:15.260
Take take some time. It'll take about fifteen minutes. LM Studio,

00:25:15.500 --> 00:25:17.100
if you want the easy road.

00:25:17.260 --> 00:25:27.475
Olama, if you want the engine. Okay? Olama would be great if you wanna get a little more advanced install OpenClaw or Hermes. You're gonna want Olama running in the background so it can run

00:25:27.875 --> 00:25:30.115
a connection to that as a provider.

00:25:30.435 --> 00:25:31.075
Right?

00:25:31.555 --> 00:25:40.600
If you just wanna run it one single desktop app and have your own. And the cool thing about LM Studio is it can also recommend models based on your hardware of your machine that you're running it on.

00:25:41.320 --> 00:25:41.880
So

00:25:42.280 --> 00:25:44.280
a simple rule for yourself is anything

00:25:44.600 --> 00:25:46.600
you wouldn't wanna read

00:25:47.000 --> 00:25:52.015
aloud in a courtroom, health, money, legal stuff, relationships, work,

00:25:52.735 --> 00:25:54.095
you're under NDA.

00:25:54.815 --> 00:25:55.375
So,

00:25:56.335 --> 00:26:05.230
you know, goes to the model on your machine. Everything else, use whatever you like. Right? And there's one more reason, which ties back to something

00:26:05.390 --> 00:26:08.510
we talked about recently. If the Internet goes down

00:26:09.070 --> 00:26:11.790
for an afternoon, for a week, and with all the,

00:26:13.390 --> 00:26:14.510
security certificates

00:26:15.905 --> 00:26:17.105
being exposed

00:26:17.265 --> 00:26:17.905
with,

00:26:18.305 --> 00:26:20.065
PHP vulnerabilities.

00:26:20.065 --> 00:26:24.785
I mean, it seems like half the Internet's down anyways. Like, this is not a far off reality

00:26:24.865 --> 00:26:28.145
that things are just no longer accessible or systems have to shut down.

00:26:29.250 --> 00:26:29.970
Right?

00:26:30.770 --> 00:26:32.610
For an afternoon, for a week,

00:26:32.850 --> 00:26:34.850
a local model still works.

00:26:35.250 --> 00:26:36.530
It's a reference

00:26:36.690 --> 00:26:37.650
librarian

00:26:37.650 --> 00:26:39.890
that doesn't need an Internet connection.

00:26:40.770 --> 00:26:43.970
And that's that's not a privacy argument. It's just a resilience argument.

00:26:45.195 --> 00:26:46.795
But it's the same conclusion.

00:26:47.275 --> 00:26:48.475
Own the stack.

00:26:48.955 --> 00:26:52.155
So all the links I mentioned, the runtimes,

00:26:52.155 --> 00:26:55.115
the hubs, the quantizers, the full offset checklist,

00:26:55.115 --> 00:27:00.610
it's at closednetwork.io/local-llm-downloads.

00:27:01.330 --> 00:27:03.650
And also links will be in the episode. So,

00:27:04.770 --> 00:27:11.090
yeah, that's that's kind of it. I just wanted to just go a little bit further down into the local AI

00:27:11.195 --> 00:27:11.995
conversation

00:27:11.995 --> 00:27:13.115
or the topic

00:27:13.355 --> 00:27:18.395
and expand on that from the episode I put out yesterday. Because I think that a lot of people,

00:27:18.715 --> 00:27:25.050
and I know a lot of people, some of you have been reaching out to me just since I dropped that because it's it's kind of like a,

00:27:25.690 --> 00:27:28.330
sounds like a complicated topic, but it really isn't.

00:27:28.890 --> 00:27:41.095
And the more you learn, the more you kinda get started, the more you kind of understanding, like, what different models and quantizers are, what apps to run. Should I run a server that's dedicated with, like, a dedicated GPU?

00:27:41.575 --> 00:27:44.055
Should I buy a Mac Studio or a used one?

00:27:44.455 --> 00:27:50.295
Those are questions that you'll have to decide for yourself. Right? The the the hardware will definitely dictate what kind of models you can run.

00:27:51.110 --> 00:28:01.270
But most machines can run small models decently well. And small models are great for everything that I had mentioned before, especially the simple tasks as your basic assistant,

00:28:01.670 --> 00:28:06.310
being able to answer questions without Internet, without sending anything, summarizing documents,

00:28:06.925 --> 00:28:18.925
doing computation on your budget docs and financial documents and things like that. You don't need a big frontier model to do that. These these small local models are actually quite smart to be able to do those types of things. They're not gonna build applications

00:28:19.485 --> 00:28:27.930
in TypeScript and Rust and everything like that. But, you know, then maybe you go to a different model unless you have the hardware. So this was just kind of like a quick,

00:28:28.730 --> 00:28:32.490
deep dive or a quick deep dive, quick medium dive medium dive,

00:28:32.970 --> 00:28:33.850
into

00:28:33.850 --> 00:28:42.575
local AI because that term gets thrown around a lot around a lot, but people don't really understand like how do I do how do I use that? How do where do I get started?

00:28:42.895 --> 00:28:50.095
So if you really just wanna check it out, anyone, doesn't matter what operating system you're on, go download LM Studio

00:28:50.730 --> 00:28:58.090
and try it out. Pick a model and just start chatting with it. Like, it's it's all running locally, like I said, with unless it has that cloud tag. So

00:28:58.570 --> 00:29:02.330
it's pretty much it, y'all. Hope you all have a fantastic day.

00:29:02.890 --> 00:29:04.810
Today is Thursday, October 22,

00:29:05.385 --> 00:29:06.665
and I'll catch you in the next one.

