Lurker News

Comments (283) 49 threads

Earlier comments
davidy1232 replies#
Can the moderator change the title to "Show HN: Alpaca.cpp – Run an Instruction-Tuned Chat-Style LLM on a PC?"

It runs great, with no hacking, on my Intel Ubuntu computer. I presume it will work on any system that can run make and has enough RAM.
The title implies it works only on a Macbook.

appel#
That was exactly my impression, so thanks for clearing that up. Seems to run just fine on my Intel based Windows 11 machine with WSL2/Ubuntu.
ssalka#
When first posted it only had a setup guide for Mac OS, but thanks to your comment, I see I can now set this up on my Windows PC! Thank you kind stranger!
filippofinke#
This is funny, the response contains some data from the dataset itself.

> When will the world end
The exact date of when Earth would be destroyed by an asteroid or comet is unknown, but it could happen at any time. The last major extinction event on our planet happened 65 million years ago and was caused by a meteorite impacting in what's now the Gulf Coast region of North America (the Chicxulub crater). ### Instruction: What is an asteroid belt? Instruction: What does it mean to be "in orbit"? ##Response:
>

mrbonner2 replies#
> explain general relativity for a 5 year old kid

General Relativity is the theory that explains how gravity works. It says that space and time are connected, so if you go faster than light speed in one direction then when you come back around it will be slower because of all those extra miles traveled! This means there's no way to travel through a black hole or wormhole without getting sucked into them. General Relativity also says that gravity is actually the same thing as acceleration, so if something has mass then you can think about it like an object on Earth with weight pushing down from above and pulling upwards!

psychphysic#
Good enough to have his own tiktok.
Steuard1 reply#
Wow. Speaking as a professor who's done research and teaching on general relativity before, a solid majority of that is a load of garbage. (I can't even make out what the second half of the final sentence is trying to say.)

But pausing to think about it: I wonder if reading this gives me the experience that typical non-scientists get when they hear popularized descriptions of physics? Maybe LLMs are capturing something true about human experience even when they're full of it! [Any non-physics people out there care to comment on whether this explanation sounds less plausible than things you tend to hear actual scientists say?]

ClearAndPresent#
Non-physics person here:

> General Relativity is the theory that explains how gravity works.
Okay. I've heard about general and special relativity but I wouldn't be able to differentiate. A quick Google tells me special relativity deals with things in the absence of gravity and general includes gravity. So... maybe?
> It says that space and time are connected,
Ok. I've heard of spacetime and the nonintuitive idea that they are actually "the same thing".
> so if you go faster than light speed in one direction then when you come back around it will be slower because of all those extra miles traveled!
What? I understood that nothing can go faster that the speed of light, as the faster something goes, the more of the energy you exert goes into increasing the object's mass rather than its speed. C is a hard limit.
But I have also heard that "time runs differently" in the absence and presence of gravity, and/or speed. So the idea of a spaceship departing earth, traveling close to the speed of light, and returning would result in a still youthful pilot encountering a more aged population. Similarly, Chris Nolan showed us what happens when you spend a few minutes close to a black hole and then return to a shipmate who has noticed you gone for years.
Why this happens is not clear.
> This means there's no way to travel through a black hole or wormhole without getting sucked into them.
Don't know what this means except that the idea is that a singularity, beyond the event horizon, is a one way trip. How this relates to the previous sentence is unclear.
> General Relativity also says that gravity is actually the same thing as acceleration, so if something has mass then you can think about it like an object on Earth with weight pushing down from above and pulling upwards!
Generously, this makes me think of the (apocryphal?) thought experiment of an elevator in space accelerating 'up' at 1G. The occupant wouldn't be able to tell if they were in a motionless elevator on earth, or this 1G accelerating elevator. Suggesting there is a relationship between gravity and acceleration? Leading to relativity?
But the sentence is so opaque I'm just guessing.
It sounds more like explain as a five-year-old, rather than to a five-year-old.
On the other hand, when I hear well-articulated science, even when simplified it doesn't sound simplistic—and in fact correctly chosen metaphors and conclusions feel enlightening.

bogwog2 replies#
Does this really need to be a fork of llama.cpp? It seems like there's no real changes to the code.
antimatter152 replies#
It reworks the interactive mode into a chat interface, which -if my code was cleaner- could have just been a pull request.
ggerganov#
"Clean Code, Horrible Performance" :)
xiphias21 reply#
Alpaca model is llama trained on ChatGPT, it's basically a way of getting cheaply what OpenAI did after the GPT training....it's a kind of cheating/stealing weights by looking from the outside, but anyways OpenAI does the same with the web, so there's no moral issue.
boywitharupee#
> cheating/stealing weights by looking from the outside

What do you mean by this? Can you please elaborate.

Load more comments