h2ogpt
LocalAI
h2ogpt | LocalAI | |
---|---|---|
28 | 82 | |
10,458 | 19,593 | |
2.4% | 7.1% | |
10.0 | 9.9 | |
about 16 hours ago | 7 days ago | |
Python | C++ | |
Apache License 2.0 | MIT License |
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
LocalAI
- Drop-In Replacement for ChatGPT API
- Voxos.ai – An Open-Source Desktop Voice Assistant
- Ask HN: Set Up Local LLM
- FLaNK Stack Weekly 11 Dec 2023
- Is there any open source app to load a model and expose API like OpenAI?
-
What do you use to run your models?
If you're running this as a server, I would recommend LocalAI https://github.com/mudler/LocalAI
-
OpenAI Switch Kit: Swap OpenAI with any open-source model
LocalAI can do that: https://github.com/mudler/LocalAI
https://localai.io/features/openai-functions/
-
"ChatGPT romanesc"
De inspirație, LocalAI, un replacement la OpenAI. E deja hot pe GitHub.
-
Local LLM's to run on old iMac / Hardware
Your hardware should be fine for inferencing, as long as you don't bother trying to get the GPU working.
My $0.02 would be to try getting LocalAI running on your machine with OpenCL/CLBlas acceleration for your CPU. If you're running other things, you could limit the inferencing process to 2 or 3 threads. That should get it working; I've been able to inference even 13b models on cheap Rockchip SOCs. Your CPU should be fine, even if it's a little outdated.
LocalAI: https://github.com/mudler/LocalAI
Some decent models to start with:
TinyLlama (extremely small/fast): https://huggingface.co/TheBloke/TinyLlama-1.1B-Chat-v0.3-GGU...
Dolphin Mistral (larger size, better responses: https://huggingface.co/TheBloke/dolphin-2.1-mistral-7B-GGUF
-
Retrieval Augmented Generation in Go
Neither of this really requires OpenAI. You can do it with locally-running models via something like https://github.com/mudler/LocalAI
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]
ollama - Get up and running with Llama 3, Mistral, Gemma, and other large language models.
llama_index - LlamaIndex is a data framework for your LLM applications
llama-cpp-python - Python bindings for llama.cpp
localGPT - Chat with your documents on your local device using GPT models. No data leaves your device and 100% private.
local_llama - This repo is to showcase how you can run a model locally and offline, free of OpenAI dependencies.
text-generation-webui - A Gradio web UI for Large Language Models. Supports transformers, GPTQ, AWQ, EXL2, llama.cpp (GGUF), Llama models.
h2o-llmstudio - H2O LLM Studio - a framework and no-code GUI for fine-tuning LLMs. Documentation: https://h2oai.github.io/h2o-llmstudio/
FastChat - An open platform for training, serving, and evaluating large language models. Release repo for Vicuna and Chatbot Arena.