h2ogpt
serge
h2ogpt | serge | |
---|---|---|
28 | 40 | |
10,458 | 5,543 | |
2.4% | 0.7% | |
10.0 | 9.8 | |
2 days ago | 2 days ago | |
Python | Svelte | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
h2ogpt
-
Ask HN: How do I train a custom LLM/ChatGPT on my own documents in Dec 2023?
As others have said you want RAG.
The most feature complete implementation I've seen is h2ogpt[0] (not affiliated).
The code is kind of a mess (most of the logic is in an ~8000 line python file) but it supports ingestion of everything from YouTube videos to docx, pdf, etc - either offline or from the web interface. It uses langchain and a ton of additional open source libraries under the hood. It can run directly on Linux, via docker, or with one-click installers for Mac and Windows.
It has various model hosting implementations built in - transformers, exllama, llama.cpp as well as support for model serving frameworks like vLLM, HF TGI, etc or just OpenAI.
You can also define your preferred embedding model along with various other parameters but I've found the out of box defaults to be pretty sane and usable.
[0] - https://github.com/h2oai/h2ogpt
-
chatgpt alternative
Here's the links: https://github.com/h2oai/h2ogpt/blob https://github.com/h2oai/h2ogpt/blob/main/docs/README_LangChain.md
-
Went down the rabbit hole of 100% local RAG, it works but are there better options?
Take a look at h2ogpt. It's open and local with API (incoming and outgoing) and impressive feature set, including RAG from docs, images, and web search.
-
[SEEKING ADVICE] Looking for Existing Repos (Open-Source, VM-Hosted, & GPU-Compatible)
I've stumbled upon h2ogptas a potential starting point. Are there better solutions or repositories that can meet these requirements?
- H2Oai GPT CPU
-
Open source Q&A chatbot UI Recommendation?
Any recommendations for an open source repos that support web based chat ui where you can upload docs,pds,links,etc? So far i found https://github.com/openchatai/OpenChat but it doesnt support llama, claude, etc. Theres also https://github.com/h2oai/h2ogpt but their gradio UI is overly complicated (meant for technical people) and not user friendly.
-
My experience on starting with fine tuning LLMs with custom data
I'm also working on the finetuning of models for Q&A and I've finetuned llama-7b, falcon-40b, and oasst-pythia-12b using HuggingFace's SFT, H2OGPT's finetuning script and lit-gpt.
-
H2O.ai Introduces h2oGPT: A Suite of Open-Source Code Repositories for Democratizing Large Language Models (LLMs)
Github link: https://github.com/h2oai/h2ogpt
-
tokenizers error is driving me nuts
quite a number of AI tools written in Python do not work for me and usually because of the same error: RuntimeError: Failed to import transformers.models.auto because of the following error (look up to see its traceback): No module named 'tokenizers.tokenizers' This time it's https://github.com/h2oai/h2ogpt
-
LLM for PDFs
privateGPT or h2ogpt
serge
- Show HN: I made an app to use local AI as daily driver
- chatgpt alternative
-
Show HN: LlamaGPT – Self-hosted, offline, private AI chatbot, powered by Llama 2
Very cool, this looks like a combination of chatbot-ui and llama-cpp-python? A similar project I've been using is https://github.com/serge-chat/serge. Nous-Hermes-Llama2-13b is my daily driver and scores high on coding evaluations (https://huggingface.co/spaces/mike-ravkine/can-ai-code-resul...).
-
LeCun: Qualcomm working with Meta to run Llama-2 on mobile devices
You might be pleased to hear that nothing really stops you from doing this today. If you ran Serge[0] on a Mac with Tailscale, you could hack together a decently-accelerated Llama chatbot.
[0] https://github.com/serge-chat/serge
-
Chatbot frontend library in Svelte?
Cannot help you with libraries specifically but both Serge and ChatUI are built using SvelteKit, so the code might be of some use to you.
- We’re back and…
-
Best way to use AMD CPU and GPU
Serge made it really easy for me to get started, but it all CPU-based.
-
Need Help
All that said this project probably solves your problem: https://github.com/serge-chat/serge
- Are you selfhosting a ChatGPT alternative?
-
What the hell??
You can play a little bit with more straightforward local models (the simplest to setup is https://github.com/nsarrazin/serge ), to see that any LLM is basically a party trick.
What are some alternatives?
private-gpt - Interact with your documents using the power of GPT, 100% privately, no data leaks
gpt4all - gpt4all: run open-source LLMs anywhere
privateGPT - Interact with your documents using the power of GPT, 100% privately, no data leaks [Moved to: https://github.com/zylon-ai/private-gpt]
langflow - ⛓️ Langflow is a dynamic graph where each node is an executable unit. Its modular and interactive design fosters rapid experimentation and prototyping, pushing hard on the limits of creativity.
llama_index - LlamaIndex is a data framework for your LLM applications
llama.cpp - LLM inference in C/C++
localGPT - Chat with your documents on your local device using GPT models. No data leaves your device and 100% private.
text-generation-webui - A Gradio web UI for Large Language Models. Supports transformers, GPTQ, AWQ, EXL2, llama.cpp (GGUF), Llama models.
local_llama - This repo is to showcase how you can run a model locally and offline, free of OpenAI dependencies.
FastChat - An open platform for training, serving, and evaluating large language models. Release repo for Vicuna and Chatbot Arena.
h2o-llmstudio - H2O LLM Studio - a framework and no-code GUI for fine-tuning LLMs. Documentation: https://h2oai.github.io/h2o-llmstudio/
llama-gpt - A self-hosted, offline, ChatGPT-like chatbot. Powered by Llama 2. 100% private, with no data leaving your device. New: Code Llama support!