Skip to main content
QUICK REVIEW

[Paper Review] h2oGPT: Democratizing Large Language Models

A. Candel, Jon McKinney|arXiv (Cornell University)|Jun 13, 2023
Topic ModelingComputer Science8 citations
TL;DR

h2oGPT provides open-source, commercially usable fine-tuned LLMs (7–40B params) with tools for private document search, no-code fine-tuning, and a full open ecosystem.

ABSTRACT

Applications built on top of Large Language Models (LLMs) such as GPT-4 represent a revolution in AI due to their human-level capabilities in natural language processing. However, they also pose many significant risks such as the presence of biased, private, or harmful text, and the unauthorized inclusion of copyrighted material. We introduce h2oGPT, a suite of open-source code repositories for the creation and use of LLMs based on Generative Pretrained Transformers (GPTs). The goal of this project is to create the world's best truly open-source alternative to closed-source approaches. In collaboration with and as part of the incredible and unstoppable open-source community, we open-source several fine-tuned h2oGPT models from 7 to 40 Billion parameters, ready for commercial use under fully permissive Apache 2.0 licenses. Included in our release is 100\% private document search using natural language. Open-source language models help boost AI development and make it more accessible and trustworthy. They lower entry hurdles, allowing people and groups to tailor these models to their needs. This openness increases innovation, transparency, and fairness. An open-source strategy is needed to share AI benefits fairly, and H2O.ai will continue to democratize AI and LLMs.

Motivation & Objective

  • Motivate open-source LLMs to address privacy, customization, cost, and availability concerns with proprietary offerings.
  • Describe the h2oGPT ecosystem, data preparation, and fine-tuning pipelines enabling commercial use.
  • Showcase model releases (7–40B params) and private document chat capabilities.
  • Explain data pipelines, evaluation, and tooling that support transparent and reproducible AI development.

Proposed method

  • Review and assemble foundation models and permissively licensed datasets suitable for open LLMs.
  • Describe data preparation, fine-tuning with LoRA and 8/16-bit techniques to reduce memory use and speed up training.
  • Introduce H2O LLM Data Studio for dataset preparation and quality control.
  • Present no-code fine-tuning with H2O LLM Studio and the vector DB-based private document chat system.
  • Provide open-source releases on HuggingFace and GitHub with commercial-use licenses.

Experimental results

Research questions

  • RQ1How do open-source LLMs with LoRA-based fine-tuning compare to closed-source models on standard reasoning benchmarks?
  • RQ2Can private document chat and vector database grounding enable reliable, offline, privacy-preserving QA?
  • RQ3What are the practical hardware and data requirements to fine-tune 7–40B parameter models on commodity infrastructure?
  • RQ4What is the impact of 8-bit/4-bit training on performance and accessibility for developers?
  • RQ5How effective is the end-to-end open-source stack (data studio, Studio, and chat) for rapid iteration and deployment?

Key findings

  • h2oGPT releases include models on Hugging Face ranging from 6.9B to 40B parameters suitable for commercial use.
  • Fine-tuning uses LoRA with a small fraction of trainable parameters (~0.13% of total) and supports 16/8/4-bit training to reduce memory by up to ~2× or more.
  • LoRA adapters enable efficient training with minimal memory footprint and reduced optimizer state (≈20 MB vs 20 GB).
  • 8-bit/4-bit training enables training LLMs on commodity GPUs with lower VRAM, expanding accessibility.
  • H2O LLM Studio provides no-code finetuning and evaluation, and private document chat with vector DB grounding supports offline, private deployments.
  • Evaluation against common open benchmarks shows varying performance across model sizes, with open models showing gaps relative to large closed models, but improving with fine-tuning.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.