What are your thoughts on #privacy and #itsecurity regarding the #LocalLLMs you use? They seem to be an alternative to ChatGPT, MS Copilot etc. which basically are creepy privacy black boxes. How can you be sure that local LLMs do not A) “phone home” or B) create a profile on you, C) that their analysis is restricted to the scope of your terminal? As far as I can see #ollama and #lmstudio do not provide privacy statements.

21 points

I run Ollama with Open WebUI at home.

A) the containers they run in by default can’t access the Internet, but they are provided access if we turn on web search or want to download new models. Ollama and Open WebUI are fairly popular products and I haven’t seen any evidence of nefarious activity so far.

B) they create a profile on me and my family members that use them, by design. We can add sensitive documents that the models can use.

C) they are restricted by what we type and the documents we provide.

permalink
report
reply
4 points
*

To add to this, I run the same setup, but add Continue to VSCode. It makes an interface similar to Cursor that uses the Ollama instance.

One thing to be careful of, the Ollama port has no authentication (ridiculous, but it is what it is).

You’ll need either a card with 12-16GB VRAM for the recommended models for code generation and auto complete, or you may he able to get away with an 8GB card if it’s a second card in the system. You can also run on CPU, but it’s very slow that way.

@ShotDonkey@lemmy.world

permalink
report
parent
reply
1 point

Thank you. As far as I can see these models are for free. Doing data mining on users would be a tempting thing, right? Ollama does not specify this on their homepage, no payed plans, no ‘free for private use’ etc. How do they pay their staff and electricity and harware bills for model training? Do you know anything on the underlying business models?

permalink
report
parent
reply
15 points

Ollama and Open WebUI, as far as I know, are just open source software projects created to run pre-trained models, and have the same business model as many other open source projects on Github.

The models themselves come from Google, Meta and others. Have a look at all the models available on Hugging Face. The models themselves are just binary files. They’ve been trained and there are no ongoing costs to use them apart from energy your computer uses to run them.

permalink
report
parent
reply
3 points

Thank you!

permalink
report
parent
reply
6 points

The english word “free” actually carries two meanings: “free as in free food” (gratis) and “free as in free speech” (libre).

Ollama is both gratis and libre.

And about the money stuff: Ollama used to be Facebook’s proprietary model, an answer to ChatGPT and Bing Chat/Copilot. Facebook lagged behind the other players and they just said “fuck it, we’re going open-source”. That’s how and why it’s free.

Due to it being open-source, even though models are by design binary blobs, the code that interacts with them and runs them is open-source. If they were connecting to the Internet and phoning home to Facebook, chances are this would’ve been found out by the community due to the open nature of the project.

Even if it weren’t open-source, since it runs locally you could at least block (or view) Internet access.

Basically, even though this is from Facebook, one of the big bads of privacy on the Internet, it’s all good in the end.

permalink
report
parent
reply
5 points
*

Ollama used to be Facebook’s proprietary model

Just to be clear, llama is the facebook model, ollama is the software that lets you run llama, along with many other models.

Ollama has internet access (otherwise how could it download models?), the only true privacy solution is to run in a container with no internet access after downloading models, or air gap your computer.

permalink
report
parent
reply
2 points

Great, thanks for this background!

permalink
report
parent
reply
4 points

Did you do any research at all?

It’s fbs model. They made it free as a PR move. If youre actually worried about it phoning home, you could easily monitor the traffic leaving your PC and see if it’s collecting data.

It’s facebook, they pay their staff with the astronomical amount of money they have. This is a simpler model, and their goal is to look like the good guy by making this one free, and selling later ones like all the other AI companies are doing. Except FB has fuck you money.

permalink
report
parent
reply
0 points

How fast are response times and how useful are the answers of these open source models that you can run on a low end GPU? I know this will be a “depends” answer, but maybe you can share more of your experience. I often use Claude sonnet newest model and for my use cases it is a real efficiency boost if used right. I once mid of last year tested briefly an open source model from meta and it just wasn’t it. Or do we rather have to conclude that we’ll have to wait for another year until smaller open source models are more proficient?

permalink
report
parent
reply
1 point

I’m still trying out combinations of hardware and models, but even my old Intel 8500T CPU will run around reading speed with a stock version of Meta’s Llama 3.2 3b (maybe the one you tried) with mostly good output—fine for rewriting content, answering questions about uploaded document stores etc.

There are thousands of models tuned for various purposes, so one of the key questions is your purpose. If you want to use your setup for something specific (e.g., coding SQL) you are going to be able to find a much more efficient model.

permalink
report
parent
reply
9 points

D) what is AMD support like or is the Python fan boys still focusing on Nvidia exclusively?

permalink
report
reply
5 points

I’m running gpt4all on AMD. Had to figure out which packages to install, which took a while, but since then it runs fine just fine

permalink
report
parent
reply
3 points

Good to know. Is there a particular guide that you followed to get it running on AMD?

permalink
report
parent
reply
2 points
*

arch wiki and gpt4all github & issues

permalink
report
parent
reply
4 points

Ollama works with AMD.

permalink
report
parent
reply
0 points

Just curious. What do you have against Python?

permalink
report
parent
reply
2 points

It is slow. Syntax & community idioms suck. The package ecosystem is a giant mess—constant dependency breakage, many supply-side attacks, quality is all over the place with many packages with failing tests or build that isn’t reproducible—& can largely be an effect of too many places saying this is the first language you should learn first. When it comes to running Python software on my machine, it always is the buggiest, breaks the most shipping new software, & uses more resources than other things.

When I used to program in it, I thought Python was so versatile that it was the 2nd best language at everything. I learned more languages & thought it was 3rd best… then 4th… then realized it isn’t good at anything. The only reason it has things going for it is all the effort put into the big C libraries powering the math, AI, etc. libraries.

permalink
report
parent
reply
1 point

that’s an oversimplification.

python is slow because it’s meant as glue; all the important parts of the ml libraries are written in other languages.

all the dependency stuff is due to running outside of a managed environment, which has been the norm for 10 years now. yes venv/bin/activate is clunky, but it solves the problem.

also, what supply-side attacks?

lua is probably a better first language though.

permalink
report
parent
reply
8 points

From my privacy trials on ollama - any model downloaded does not know the date or time and cannot access the internet.

If you are still sceptical you could download something like alpaca on flathub and once youve acquired a model, remove internet access etc through flatseal.

permalink
report
reply
5 points
*

As far as I can see #ollama and #lmstudio do not provide privacy statements.

That’s because they are not online services (which is a good thing!). Online services like ChatGPT and desktop applications like LM Studio are not in the same product category.

LM Studio is more akin to, say, VLC or Notepad++ (which also do not have privacy policies). These are desktop applications that have some limited network functions (like autoupdates).

LM Studio does offer details of which features require internet access and which are fully offline here: https://lmstudio.ai/docs/offline . In short: everything important is offline. It has built-in search features so you can find and download models from Huggingface, and it also has an autoupdate feature to find and download new versions. You could run it on an airgapped system (or more likely, set it up in a container/VM without network access), and simply load in model files manually if you prefer.

Personally I recommend LM Studio, because it’s super easy to set up and use but still quite powerful.

permalink
report
reply
4 points

Since you ask, here are my thoughts https://fabien.benetou.fr/Content/SelfHostingArtificialIntelligence with numerous examples. To clarify your points :

  • rely on open-source repository where the code is auditable, hopefully audited, and try offline
  • see previous point
  • LLMs don’t “analyze” anything, they just spit out human looking text

To clarify on the first point, as the other 2 unfold from there, such project would instantly lose credibility if they were to sneak in telemetry. Some FLOSS projects tried that in the past and it always led to uproars, reverts and often forks of the exact same codebase but without telemetry.

permalink
report
reply
-7 points

“They just spit out human looking text” is so incredibly regressive and asinine.

permalink
report
parent
reply
2 points

But it’s accurate? Doesn’t mean that human looking text can’t be helpful to some, but it’ll also help keep us grounded to the reality of the tech.

permalink
report
parent
reply
0 points
*

It’s not a room of monkeys typing on keyboards. Calculators don’t just spit out random numbers. They use the input to estimate the best solution it can.

I know being anti-AI is popular right now, but y’all are being dishonest about its capabilities to backup your point.

permalink
report
parent
reply

Privacy

!privacy@lemmy.ml

Create post

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

  • Posting a link to a website containing tracking isn’t great, if contents of the website are behind a paywall maybe copy them into the post
  • Don’t promote proprietary software
  • Try to keep things on topic
  • If you have a question, please try searching for previous discussions, maybe it has already been answered
  • Reposts are fine, but should have at least a couple of weeks in between so that the post can reach a new audience
  • Be nice :)

Related communities

much thanks to @gary_host_laptop for the logo design :)

Community stats

  • 7K

    Monthly active users

  • 3.2K

    Posts

  • 86K

    Comments