llm-foundry VS chat-ui

Compare llm-foundry vs chat-ui and see what are their differences.

llm-foundry

LLM training code for Databricks foundation models (by mosaicml)

chat-ui

Open source codebase powering the HuggingChat app (by huggingface)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
llm-foundry chat-ui
37 40
3,730 6,314
4.0% 10.0%
9.7 9.7
4 days ago 5 days ago
Python TypeScript
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

llm-foundry

Posts with mentions or reviews of llm-foundry. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-05.
  • Fine Tuning Mistral 7B on Magic the Gathering Draft
    4 projects | news.ycombinator.com | 5 Dec 2023
    Related comment from gwern: https://news.ycombinator.com/item?id=38438859

    Also - why qlora rather than a full finetune? Using LambdaLabs, It'd cost roughly the same as your quote. Cheaper I think if you're willing to gamble with fp8: https://github.com/mosaicml/llm-foundry/tree/main/scripts/tr.... And fewer hyperparameters to tune as well

  • Consortium launched to build the largest open LLM
    1 project | news.ycombinator.com | 18 Oct 2023
    Traditionally, training runs can "explode" and fail, but there are methods to incrementally back them up and resume when that happens, see https://www.mosaicml.com/blog/mpt-7b
  • Applying All Recent Innovations To Train a Code Model
    2 projects | dev.to | 11 Aug 2023
    MosaicML released the MPT-7B model, which has a context of 60k tokens, thanks to the ALiBi position encoding.
  • Fine Tuning Language Models
    1 project | news.ycombinator.com | 3 Jul 2023
    Most AI runners just ignore licensing and run LLaMA finetunes.

    But if you want to avoid the non commercial LLaMA license, you have 3 good options for a base model.

    - OpenLlama 13B

    - MPT 30B

    - Falcon 40B

    Of these, Falcon 40B is very difficult to run (slow in 4 bit, basically requires a professional GPU, no good cpu offloading yet).

    OpenLLaMA 13B only supports a context size of 2048 as of today... But that could change soon.

    So you probably want MPT instruct 30B, specifically this one:

    https://huggingface.co/TheBloke/mpt-30B-instruct-GGML

    As the page says, you can try it out on a decent PC of your own with the OpenCL build of KoboldCPP. Change it to "instruct" mode, use the template on the page, offload as many layers as you can to your PC's dGPU, and run it in instruct mode. It may already work for your summarization needs.

    If not, you can finetune it with MPT's code and summarization d

    https://github.com/mosaicml/llm-foundry

    Or train OpenLLaMA 13B with SuperHOT + summarization data using QLORA.

  • Finetune MPT-30B using QLORA
    2 projects | /r/LocalLLaMA | 3 Jul 2023
    BTW. they finally merged a MPT patch to work with lora: https://github.com/mosaicml/llm-foundry/issues/304
  • [N] Meet MPT-30B: A Fully OpenSouce LLM that Outperforms GPT-3 - Dr. Mandar Karhade, MD. PhD.
    2 projects | /r/MachineLearning | 1 Jul 2023
  • MPT-30B QLoRA on 24 GB VRAM
    2 projects | /r/LocalLLaMA | 30 Jun 2023
    Did you run into this error while using qlora on MPT30b?: https://github.com/mosaicml/llm-foundry/issues/413
  • MosaicML Agrees to Join Databricks to Power Generative AI for All
    3 projects | /r/LocalLLaMA | 26 Jun 2023
    Yes? Their github is under Apache, their base model is under apache, the training data is not theirs, and they provide scripts how to convert it for the pretrain step. They have scripts for pretraining and finetuning as well. Basically for everything.
  • Best model for commercial use?
    1 project | /r/LocalLLaMA | 26 Jun 2023
    mosaicml/llm-foundry: LLM training code for MosaicML foundation models (github.com)
  • MosaicML launches MPT-30B: A new open-source model that outperforms GPT-3
    1 project | /r/mlwires | 25 Jun 2023
    MosaicML, a company that provides a platform for training and deploying large language models (LLMs), has recently released its second open-source foundation model called MPT-30B. The model is part of the MosaicML Foundation Series and comes after the smaller MPT-7B model that was launched in May 2023.

chat-ui

Posts with mentions or reviews of chat-ui. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-12.
  • Zephyr 141B, a Mixtral 8x22B fine-tune, is now available in Hugging Chat
    3 projects | news.ycombinator.com | 12 Apr 2024
    Zephyr 141B is a Mixtral 8x22B fine-tune. Here are some interesting details

    - Base model: Mixtral 8x22B, 8 experts, 141B total params, 35B activated params

    - Fine-tuned with ORPO, a new alignment algorithm with no SFT step (hence much faster than DPO/PPO)

    - Trained with 7K open data instances -> high-quality, synthetic, multi-turn

    - Apache 2

    Everything is open:

    - Final Model: https://huggingface.co/HuggingFaceH4/zephyr-orpo-141b-A35b-v...

    - Base Model: https://huggingface.co/mistral-community/Mixtral-8x22B-v0.1

    - Fine-tune data: https://huggingface.co/datasets/argilla/distilabel-capybara-...

    - Recipe/code to train the model: https://huggingface.co/datasets/argilla/distilabel-capybara-...

    - Open-source inference engine: https://github.com/huggingface/text-generation-inference

    - Open-source UI code https://github.com/huggingface/chat-ui

    Have fun!

  • AI enthusiasm - episode #2🚀
    2 projects | dev.to | 11 Apr 2024
    As long as you have a free Hugging Face account, you can sign up and exploit HuggingChat, a web-based chat interface where you will find 5 large language models to play with (Mixtral-7B-it v0.1 and v0.2, Command R plus, Gemma 1.1-7B-it, Dolphin). You will also have the possibility to exploit several assistants made by the Hugging Face community, or even create your own!
  • OpenAI Startup Fund: GP Hallucination
    1 project | news.ycombinator.com | 1 Apr 2024
    I submitted something about this the other day (and it got flagged)- poked around a little bit and the only interesting thing I could find is this: https://github.com/huggingface/chat-ui/issues/254 and I don't really even understand what it is, it references the stuff the dude who wrote this is discussing. I had kinda written the whole thing off as someone with too much time on their hands and is just f'ing around with stuff for whatever reason.

    I think they made this as well: https://chat.openai.com/g/g-KT4gusP3Y-a-l-i-s-t-a-i-r-e-earl... - it doesn't seem very useful.

    *¯\_(ツ)_/¯ to me after spending an hr or so poking around, it seemed like a bored modern tech savvy young person playing around.

  • ⚔️ Embeddings, Chatbots RAG Arena et forfaits Telecom OPT-NC
    1 project | dev.to | 18 Mar 2024
  • Show HN: I made an app to use local AI as daily driver
    31 projects | news.ycombinator.com | 27 Feb 2024
    - https://github.com/huggingface/chat-ui
  • Deconstructing Hugging Face Chat: Explore open-source chat UI/UX for generative AI
    1 project | dev.to | 12 Feb 2024
    Hugging Face Chat - open-source repo powering Hugging Chat!
  • What are you guys using local LLMs for?
    1 project | /r/LocalLLaMA | 10 Dec 2023
    If you don't want to do coding, I think HuggingFace's chat-ui can come in handy with web retrieval RAG and llama-cpp running as a server. Please check their documentation on how to setup( See "Running your own models using a custom endpoint" section on their Github).
  • The founder of OpenAI/ChatGPT is a Zionist calling people that are against Israeli genocide “antisemitist”, how dare the American left speak against genocide!?
    1 project | /r/Palestine | 9 Dec 2023
    yes! it's proprietary, invasive, and harvests your data and use it for improving the AI, Ultman went to Israel weeks after Chatgpt was introduced, Israel like any other tech-giant-country needs to make sure that it has control over that data and/or use it to achieve its goals, so it's better to find offline FOSS alternatives (if you have a decent enough PC) or use HuggingChat as an online FOSS alternative, I find it better than GPT 3.5 in many aspects
  • Smartphone Brands Sorted Out, So You Don't Have To
    2 projects | /r/Tech_Philippines | 8 Dec 2023
    I have categorized some of the smartphone brands by their parent company using HuggingChat based on RLHF, Google's Bard, ChatGPT, and Perplexity. All of them are powered by LLMs, and both ChatGPT and Perplexity use GPT-3.5.
  • Accessing ChatGPT in non-official UI
    1 project | /r/OpenAI | 18 Oct 2023
    I'm looking for something like https://huggingface.co/chat/ or OpenAssistant, but it should target OpenAI's api.

What are some alternatives?

When comparing llm-foundry and chat-ui you can also consider the following projects:

qlora - QLoRA: Efficient Finetuning of Quantized LLMs

promptfoo - Test your prompts, models, and RAGs. Catch regressions and improve prompt quality. LLM evals for OpenAI, Azure, Anthropic, Gemini, Mistral, Llama, Bedrock, Ollama, and other local & private models with CI/CD integration.

basaran - Basaran is an open-source alternative to the OpenAI text completion API. It provides a compatible streaming API for your Hugging Face Transformers-based text generation models.

DiscordChatExporter-frontend - Browse json files exported by Tyrrrz/DiscordChatExporter in familiar discord like user interface

RasaGPT - 💬 RasaGPT is the first headless LLM chatbot platform built on top of Rasa and Langchain. Built w/ Rasa, FastAPI, Langchain, LlamaIndex, SQLModel, pgvector, ngrok, telegram

WizardLM - Family of instruction-following LLMs powered by Evol-Instruct: WizardLM, WizardCoder and WizardMath

LMFlow - An Extensible Toolkit for Finetuning and Inference of Large Foundation Models. Large Models for All.

prompt-engineering - ChatGPT Prompt Engineering for Developers - deeplearning.ai

Open-Assistant - OpenAssistant is a chat-based assistant that understands tasks, can interact with third-party systems, and retrieve information dynamically to do so.

llm-numbers - Numbers every LLM developer should know

AgileRL - Streamlining reinforcement learning with RLOps. State-of-the-art RL algorithms and tools.