Earlier quoted context omitted.
Interesting. I might try to get this to work on my NAS.
Good luck! The token/sec will be under your expectations or it will overheat. You really shouldn't play games with your data-storage. You could try it with an old laptop to see how bad it performs. Ruining your NAS for this is a bit over the top to show, that "it worked somehow". But i don't know, maybe your NAS has a powerful processor and is tuned to the max and you have redundancy and don't care to loose a NAS? Or…
Show HN: LlamaGPT – Self-hosted, offline, private AI chatbot, powered by Llama 2
41–50 of 78 posts
Re: Show HN: LlamaGPT – Self-hosted, offline, private AI chatbot, powered by Llama 2
#42I didn't see any info on how this is different than installing/running llamacpp or koboldcpp. New offerings are awesome of course, but what is it adding?
The main difference is setting everything up yourself manually, downloading the modal, optimizing the parameters for best performance, running an API server and a UI front-end - which is out of reach for most non-technical people. With LlamaGPT, it's just one command: `docker compose up -d` or one click install for umbrelOS home server users.
I guess ooba one-click doesn't come with a model included, but is that really enough of a hurdle to stop someone from getting it going?
Maybe I'm not seeing the value proposition of this. Glad to be enlightened!
Re: Show HN: LlamaGPT – Self-hosted, offline, private AI chatbot, powered by Llama 2
#43Ok, since is running all private, how can I add my own private data? For example I have a 20+ years of an email archive that I'd like to be ingested.
Re: Show HN: LlamaGPT – Self-hosted, offline, private AI chatbot, powered by Llama 2
#44Earlier quoted context omitted.
Ah yes, running on GPU isn't supported at the moment. But CUDA (for Nvidia GPUs) and Metal support is on the roadmap!
Ah fascinating, just curious, what's the technical blocker? I thought most of the Llama models were optimized to run on GPUs?
Re: Show HN: LlamaGPT – Self-hosted, offline, private AI chatbot, powered by Llama 2
#45Re: Show HN: LlamaGPT – Self-hosted, offline, private AI chatbot, powered by Llama 2
#46Earlier quoted context omitted.
And is that hard? Sorry if this is a newbie question, I'm really out of the loop on this tech. What would be required? Computing power and tagging? Or can you like improve the model without much human intervention? Can it be done incrementally with usage and user feedback? Would a single user even be able to generate enough feedback for this?
Yes, this would be quite hard. Fine-tuning an LLM is no simple task. The tools and guidance around it are very new, and arguably not meant for non-ML Engineers.
Re: Show HN: LlamaGPT – Self-hosted, offline, private AI chatbot, powered by Llama 2
#47Ok, since is running all private, how can I add my own private data? For example I have a 20+ years of an email archive that I'd like to be ingested.
The steps would then be: 1. Embed your private data in chunks and store the resulting embeddings in a vector database 2. In your prompting workflow, when a user queries the chat model, embed their query using the embedding model 3. Retrieve the most similar chunks of text from your vector database based on cosine similarity 4. In the chat response, provide it the context of those chunks of text
For example, if you asked "who have I discussed Ubuntu with?", it might retrieve emails that have similar content. Then the model will be able to answer informed by that context.
Re: Show HN: LlamaGPT – Self-hosted, offline, private AI chatbot, powered by Llama 2
#48Ok, since is running all private, how can I add my own private data? For example I have a 20+ years of an email archive that I'd like to be ingested.
That would require custom training. This project only does inference
Re: Show HN: LlamaGPT – Self-hosted, offline, private AI chatbot, powered by Llama 2
#49Ok, since is running all private, how can I add my own private data? For example I have a 20+ years of an email archive that I'd like to be ingested.
The simplest way, as rdedev is describing, is to do Retrieval Augmented Generation (RAG) in your prompting. This would require the addition of a vector database and a text embedding model. There are many open source / local / private options for that. The steps would then be: 1. Embed your private data in chunks and store the resulting embeddings in a vector database 2. In your prompting workflow, when a user queries…
Re: Show HN: LlamaGPT – Self-hosted, offline, private AI chatbot, powered by Llama 2
#50Ok, since is running all private, how can I add my own private data? For example I have a 20+ years of an email archive that I'd like to be ingested.
The simplest way, as rdedev is describing, is to do Retrieval Augmented Generation (RAG) in your prompting. This would require the addition of a vector database and a text embedding model. There are many open source / local / private options for that. The steps would then be: 1. Embed your private data in chunks and store the resulting embeddings in a vector database 2. In your prompting workflow, when a user queries…
How do you encode the private data into the vectors? It is a bunch of text but how do you choose the vector values in the first place? What software does that? Isn’t that basically an ML task with its own weights, that’s what classifiers do!
I was surprised everyone had been writing about that but neglecting to explain this piece. Like math textbooks that “leave it as an exercise to the reader”.
Claude with its 100k context window doesn’t need to do this vector encoding. Is there anything like that in open source AI at the moment ?