Earlier quoted context omitted.
How about a local wikipedia dump, with precalculated embeddings? Then you can perform a similarity search first and feed the results to the LLM. It’s less likely to hallucinate this way.
It would be great to see such project implemented, I wonder how good would it perform
GPU-Accelerated LLM on an Orange Pi
11–20 of 84 posts
Re: GPU-Accelerated LLM on an Orange Pi
#12Earlier quoted context omitted.
> knows almost everything It really doesn't. It doesn't even know what it knows and what it doesn't know. Without ways to check up on whether what it told you is true or not you may well end up in more trouble than where you were before.
How about a local wikipedia dump, with precalculated embeddings? Then you can perform a similarity search first and feed the results to the LLM. It’s less likely to hallucinate this way.
Re: GPU-Accelerated LLM on an Orange Pi
#13Earlier quoted context omitted.
How about a local wikipedia dump, with precalculated embeddings? Then you can perform a similarity search first and feed the results to the LLM. It’s less likely to hallucinate this way.
That would make a lot more sense. That way at least you have a chance to check up on the output, lest your first meal of 'Hedysarum alpinum' ends up being your last.
The Wikipedia patch doesn’t make much sense to me.
What percent of the important questions being asked in this doomsday scenario actually have their answer in Wikipedia?
If 50% of the time you are left trusting raw LLaMa, then you don’t really have a decent solution.
I do appreciate the sentiment tho that future or finetuned LLMS might fit on an RPi or whatever, and be good enough.
Re: GPU-Accelerated LLM on an Orange Pi
#14Nice achievement. How many users would realistically be able to use it at the same time when running on such a device? I am interested in its scalability.
You'll get a log_2-based scaling efficiency with nearly any batchsize increase, pending some limitations (memory, etc).
That should be enough at least to roughly sketch it out.
Re: GPU-Accelerated LLM on an Orange Pi
#15Best part is that they are using TVM.
I'm crediting llama.cpp of all things for being the boost to really up the ante on open source model compilation.
Whatever it is, at least, many of these open source things feel like they just 'happen', as an eventuality, but in order for that to happen it takes a lot of work from a lot of people! Really happy to see the dream of this particular kind of democratization opening widely! :)
Re: GPU-Accelerated LLM on an Orange Pi
#16Earlier quoted context omitted.
It would be great to see such project implemented, I wonder how good would it perform
Yes, especially having fact checked output of LLMs would be a nice step in the right direction. Throwing out the hallucinated bits and keeping the good stuff would make LLMs a lot more applicable.
Re: GPU-Accelerated LLM on an Orange Pi
#17Re: GPU-Accelerated LLM on an Orange Pi
#18Orange Pi 5 has an NPU. I wonder if it'd be any faster than using GPU.
Re: GPU-Accelerated LLM on an Orange Pi
#19Earlier quoted context omitted.
Yes, especially having fact checked output of LLMs would be a nice step in the right direction. Throwing out the hallucinated bits and keeping the good stuff would make LLMs a lot more applicable.
Isn't that a bit of a holy grail though? If your software can fact check the output of LLMs and prevent hallucinations then why not use that as the AI to get the answers in the first place?
I'm not sure if this can work or not but it would be nice to see a trial, you could probably do this by hand if you wanted to by breaking up the answer from an LLM into factoids and then to check each of those individually, and to assign a score to them based on the amount of supporting evidence for the factoid. I'd love that as a plug-in to a browser too.
Re: GPU-Accelerated LLM on an Orange Pi
#20Earlier quoted context omitted.
That would make a lot more sense. That way at least you have a chance to check up on the output, lest your first meal of 'Hedysarum alpinum' ends up being your last.
The key aspect to this being a good solution is actually building a corpus representing as much possible reference knowledge needed in scenario. The idea that the answer is Wikipedia way underestimates the scope. The Wikipedia patch doesn’t make much sense to me. What percent of the important questions being asked in this doomsday scenario actually have their answer in Wikipedia? If 50% of the time you are left trust…