News for hackers. Stuff that matters.
Re:Ask HN: What is the current (Apr. 2024) gold standard of ... by aantix on Monday April 01, 2024 @08:18AM (#39893328)
Ollama is really easy.

brew install ollama

brew services start ollama

ollama pull mistral

Ollama you can query via http. It provides a consistent interface for prompting, regardless of model.

https://github.com/ollama/ollama/blob/main/docs/api.md#reque...

Re:Ask HN: What is the current (Apr. 2024) gold standard of ... by brushfoot on Monday April 01, 2024 @09:09AM (#39893765)
For Windows users without brew, there's a Windows installer:

https://ollama.com/download/windows

WinGet and Scoop apparently also have it. Chocolatey doesn't seem to.

Re:Ask HN: What is the current (Apr. 2024) gold standard of ... by ActorNightly on Tuesday April 02, 2024 @03:59PM (#39910227)
Works very well in WSL2 as well. I prefer that as you have to start the server manually, so it doesn't sit in the background.
Re:Ask HN: What is the current (Apr. 2024) gold standard of ... by brushfoot on Monday April 01, 2024 @09:28AM (#39893970)
How does Ollama distribute these models? The downloads page on the Llama website, https://llama.meta.com/llama-downloads/, has a heading that reads:

> Request access to Llama

Which to me gives the impression that access is gated and by application only. But Ollama downloaded it without so much as a "y".

Is that just Meta's website UI? Registration isn't actually required?

Re:Ask HN: What is the current (Apr. 2024) gold standard of ... by whimsicalism on Monday April 01, 2024 @11:38AM (#39895316)
because this field is a baby, noncompliance is rampant
Re:Ask HN: What is the current (Apr. 2024) gold standard of ... by cymor on Monday April 01, 2024 @09:49AM (#39894162)
It doesn't distribute. The app pulls from hugging face.
Re:Ask HN: What is the current (Apr. 2024) gold standard of ... by brushfoot on Monday April 01, 2024 @10:06AM (#39894323)
Hugging Face's Llama 2 page says, "You need to share contact information with Meta to access this model":

https://huggingface.co/meta-llama/Llama-2-7b

Ollama's installer didn't ask me for any contact info.

Re:Ask HN: What is the current (Apr. 2024) gold standard of ... by michaelt on Monday April 01, 2024 @12:06PM (#39895678)
Huggingface has many, many fine tunes of Llama from different people, which don't ask that.

The requirement has always been more of a fig leaf than anything else. It allows Facebook to say everyone who downloaded from them agreed to some legal/ethics nonsense. Like all click-through license agreements nobody reads it; it's there so Facebook can pretend to be shocked when misuse of the model comes to light.

Re:Ask HN: What is the current (Apr. 2024) gold standard of ... by brushfoot on Monday April 01, 2024 @12:20PM (#39895838)
I mean Llama itself, not a fine tune. Ollama seemed to download and run Llama 2 with no agreement.
Re:Ask HN: What is the current (Apr. 2024) gold standard of ... by eatonphil on Monday April 01, 2024 @09:59AM (#39894263)
This repo doesn't seem to say anything about what it does with anything you pass it. There's no privacy policy or anything? It being open source doesn't necessarily mean it isn't passing all my data somewhere. I didn't see anything about this in the repo that everything definitely stays local.
Re:Ask HN: What is the current (Apr. 2024) gold standard of ... by Zambyte on Monday April 01, 2024 @10:47AM (#39894695)
I would be much more concerned if it had a privacy policy, to the point where just having one means I probably wouldn't use it. That is not common practice for Free Software that runs on your machine. The only network operations that Ollama has is managing LLMs (ie: download Mistral from their server).
Re:Ask HN: What is the current (Apr. 2024) gold standard of ... by joenot443 on Monday April 01, 2024 @11:09AM (#39894945)
> I didn't see anything about this in the repo that everything definitely stays local.

If this is your concern, I'd encourage you to read the code yourself. If you find it meets the bar you're expecting, then I'd suggest you submit a PR which updates the README to answer your question.

Re:Ask HN: What is the current (Apr. 2024) gold standard of ... by okwhateverdude on Monday April 01, 2024 @10:08AM (#39894339)
I run the docker container locally. As far as I can tell, it doesn't call home or anything (from reading the source and from opensnitch). It is just a cgo wrapped llama.cpp that provides an HTTP API. It CAN fetch models from their library, but you can just as easily load in your own GGUF formatted llama models. They implement a docker-like layers mechanism for model configuration that is pretty useful.
Re:Ask HN: What is the current (Apr. 2024) gold standard of ... by aantix on Monday April 01, 2024 @10:09AM (#39894349)
It is free.. So why not just audit the source personally to put your mind at ease and build locally if that’s a major concern of yours?
Re:Ask HN: What is the current (Apr. 2024) gold standard of ... by aantix on Monday April 01, 2024 @10:11AM (#39894369)
And since you did the audit yourself, you could help out the maintainers by adding a privacy policy.
Re:Ask HN: What is the current (Apr. 2024) gold standard of ... by jhugo on Monday April 01, 2024 @06:58PM (#39900386)
A privacy policy isn't typical for code that you build and run yourself on your own machine; it's something that services publish to explain what they will do with the data you send them.
Re:Ask HN: What is the current (Apr. 2024) gold standard of ... by joshspankit on Monday April 01, 2024 @10:15PM (#39901708)
This.

Some will do it anyway for PR/marketing, but if the creator does not interact with, have access to, or collect your data they have no obligation to have a privacy policy.

Re:Ask HN: What is the current (Apr. 2024) gold standard of ... by crazypython on Monday April 01, 2024 @08:20AM (#39893340)
It lacks batching support (n>1), unfortunately, which is necessary for Loom-like applications
Re:Ask HN: What is the current (Apr. 2024) gold standard of ... by aantix on Monday April 01, 2024 @08:33AM (#39893463)
Re:Ask HN: What is the current (Apr. 2024) gold standard of ... by m463 on Monday April 01, 2024 @04:05PM (#39898549)
I associate brew with macos (where a 3090 would not venture)

But it seems like there's a linux brew.