GUI 默认监听 10101 端口,需用 Chrome 访问 http://localhost:10101/;用非 uv 环境启动需手动设置 H2O_WAVE_MAX_REQUEST_SIZE 等环境变量;云主机上可能需设 H2O_WAVE_ALLOWED_ORIGINS="*" 才能通过代理访问。
h2o-llmstudio
h2oaiApache-2.0活跃维护无需写代码就能微调大语言模型的可视化界面,从数据准备到训练评估一站式完成,适合不想碰命令行直接调模型的团队。
H2O LLM Studio - a framework and no-code GUI for fine-tuning LLMs. Documentation: https://docs.h2o.ai/h2o-llmstudio/
make setup
make llmstudio需要 Ubuntu 16.04+ 和至少一块较新的 NVIDIA GPU,驱动版本 >= 580(PyTorch 跑在 CUDA 13 上);较大模型建议至少 24GB 显存;多卡 DeepSpeed 训练需要 NVLink 和系统安装 CUDA Toolkit(推荐 12.1)。
无需写代码就能微调大语言模型的框架与图形界面,适合快速做实验和对比
无需写代码就能微调大语言模型的可视化界面,从数据准备到训练评估一站式完成,适合不想碰命令行直接调模型的团队。
核心能力
- 提供专为 LLM 设计的无代码 GUI 微调流程
- 支持 LoRA 与 8-bit 低显存训练
- 支持 DPO/IPO/KTO 偏好优化替代 RLHF
- 可视化跟踪并对比多次实验结果
- 可将模型导出到 Hugging Face Hub 分享
容易踩的坑
- v1.15.4最新正式版2026-11-04 · 2026-11-04 16:02 UTC
What's Changed
- Limit uv resolution to Linux x86_64 and require uv >=0.13.5 by @pascal-pfeiffer in https://github.com/h2oai/h2o-llmstudio/pull/1128
- Bump filelock, msgpack and mako to fix CVEs by @pascal-pfeiffer in https://github.com/h2oai/h2o-llmstudio/pull/1130
- Bump h2o-wave to 1.8.17 to fix go-jose CVEs by @pascal-pfeiffer in https://github.com/h2oai/h2o-llmstudio/pull/1131
- Remove W&B logging and the Logger setting by @pascal-pfeiffer in https://github.com/h2oai/h2o-llmstudio/pull/1132
- Fix flaky slider handling in the UI test by @pascal-pfeiffer in https://github.com/h2oai/h2o-llmstudio/pull/1133
- Bump tornado, setuptools and uv to fix CVEs by @pascal-pfeiffer in https://github.com/h2oai/h2o-llmstudio/pull/1134
- Fix Hugging Face push with transformers 5 by @stanleys12 in https://github.com/h2oai/h2o-llmstudio/pull/1129
- Move to NumPy 2 and bump pyarrow to 26.0.1 to fix CVE-2026-111497 by @pascal-pfeiffer in https://github.com/h2oai/h2o-llmstudio/pull/1135
- Remove pillow freetype by @pascal-pfeiffer in https://github.com/h2oai/h2o-llmstudio/pull/1136
New Contributors
- @stanleys12 made their first contribution in https://github.com/h2oai/h2o-llmstudio/pull/1129
Full Changelog: https://github.com/h2oai/h2o-llmstudio/compare/v1.15.3...v1.15.4
- v1.15.32026-10-24 · 2026-10-24 12:02 UTC
查看更新说明
What's Changed
- Bump handlebars from 4.7.9 to 4.7.10 in /documentation in the npm_and_yarn group across 1 directory by @dependabot[bot] in https://github.com/h2oai/h2o-llmstudio/pull/1121
- Bump dependencies to fix CVEs by @pascal-pfeiffer in https://github.com/h2oai/h2o-llmstudio/pull/1123
- Bump pillow and uv to fix CVEs by @pascal-pfeiffer in https://github.com/h2oai/h2o-llmstudio/pull/1124
- Bump h2o-wave and wandb to fix Go CVEs by @pascal-pfeiffer in https://github.com/h2oai/h2o-llmstudio/pull/1125
Full Changelog: https://github.com/h2oai/h2o-llmstudio/compare/v1.15.2...v1.15.3
- v1.15.22026-09-26 · 2026-09-26 10:50 UTC
查看更新说明
What's Changed
- Bump the uv group across 1 directory with 2 updates by @dependabot[bot] in https://github.com/h2oai/h2o-llmstudio/pull/1117
Full Changelog: https://github.com/h2oai/h2o-llmstudio/compare/v1.15.1...v1.15.2
- v1.15.12026-09-17 · 2026-09-17 09:41 UTC
查看更新说明
What's Changed
- Bump tornado from 6.5.7 to 6.5.8 in the uv group across 1 directory by @dependabot[bot] in https://github.com/h2oai/h2o-llmstudio/pull/1108
- docs: fix incorrect PR reference for KTOPairLoss by @jv-ransika in https://github.com/h2oai/h2o-llmstudio/pull/1109
- fix: do not send an empty HF_TOKEN as bearer header by @pascal-pfeiffer in https://github.com/h2oai/h2o-llmstudio/pull/1111
- update h2o-wave 1.8.11 -> 1.8.14 by @pascal-pfeiffer in https://github.com/h2oai/h2o-llmstudio/pull/1113
- update wandb 0.28.2 -> 0.30.0 by @pascal-pfeiffer in https://github.com/h2oai/h2o-llmstudio/pull/1114
New Contributors
- @jv-ransika made their first contribution in https://github.com/h2oai/h2o-llmstudio/pull/1109
Full Changelog: https://github.com/h2oai/h2o-llmstudio/compare/v1.15.0...v1.15.1
- v1.15.02026-08-18 · 2026-08-18 12:39 UTC
查看更新说明
What's Changed
- Updated h2o-llmstudio v1.14.16 -> v1.15.0.dev0 by @pascal-pfeiffer in https://github.com/h2oai/h2o-llmstudio/pull/1102
- Upgrade Transformers for CVE remediation by @pascal-pfeiffer in https://github.com/h2oai/h2o-llmstudio/pull/1103
- Upgrade to Torch 2.13 by @pascal-pfeiffer in https://github.com/h2oai/h2o-llmstudio/pull/1104
- Persist rewritten chart paths when renaming an experiment (#1088) by @pascal-pfeiffer in https://github.com/h2oai/h2o-llmstudio/pull/1089
- Updated h2o-llmstudio v1.15.0.dev0 -> v1.15.0 by @pascal-pfeiffer in https://github.com/h2oai/h2o-llmstudio/pull/1105
Full Changelog: https://github.com/h2oai/h2o-llmstudio/compare/v1.14.16...v1.15.0
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
Jump to
- With H2O LLM Studio, you can
- Quickstart
- What's New
- Setup
- Run H2O LLM Studio GUI
- Run H2O LLM Studio GUI using Docker
- Run H2O LLM Studio with command line interface (CLI)
- Troubleshooting
- Data format and example data
- Training your model
- Example: Run on OASST data via CLI
- Model checkpoints
- Documentation
- Contributing
- License
With H2O LLM Studio, you can
- easily and effectively fine-tune LLMs without the need for any coding experience.
- use a graphical user interface (GUI) specially designed for large language models.
- fine-tune any LLM using a large variety of hyperparameters.
- use recent fine-tuning techniques such as Low-Rank Adaptation (LoRA) and 8-bit model training with a low memory footprint.
- use Reinforcement Learning (RL) to fine-tune your model (experimental).
- use advanced evaluation metrics to judge generated answers by the model.
- track and compare your model performance visually.
- chat with your model and get instant feedback on your model performance.
- easily export your model to the Hugging Face Hub and share it with the community.
Quickstart
For questions, discussing, or just hanging out, come and join our Discord!
Use cloud-based runpod.io instance to run the latest version of H2O LLM Studio with GUI.
Using CLI for fine-tuning LLMs:
What's New
- PR 788 New problem type for Causal Regression Modeling allows to train single target regression data using LLMs.
- PR 747 Fully removed RLHF in favor of DPO/IPO/KTO optimization.
- PR 741 Removing separate max length settings for prompt and answer in favor of a single
max_lengthsettings better resemblingchat_templatefunctionality fromtransformers. - PR 599 Added
KTOPairLossfor DPO modeling allowing to train models with simple preference data. Data currently needs to be manually prepared by randomly matching positive and negative examples as pairs. - PR 592 Starting to deprecate RLHF in favor of DPO/IPO optimization. Training is disabled, but old experiments are still viewable. RLHF will be fully removed in a future release.
- PR 530 Introduced a new problem type for DPO/IPO optimization. This optimization technique can be used as an alternative to RLHF.
- PR 288 Introduced DeepSpeed for sharded training allowing to train larger models on machines with multiple GPUs. Requires NVLink. This feature replaces FSDP and offers more flexibility. DeepSpeed requires a system installation of CUDA Toolkit and we recommend using version 12.1. See Recommended Install.
- PR 449 New problem type for Causal Classification Modeling allows to train binary and multiclass models using LLMs.
- PR 364 User secrets are now handled more securely and flexible. Support for handling secrets using the 'keyring' library was added. User settings are tried to be migrated automatically.
Please note that due to current rapid development we cannot guarantee full backwards compatibility of new functionality. We thus recommend to pin the version of the framework to the one you used for your experiments. For resetting, please delete/backup your data and output folders.
Setup
H2O LLM Studio requires a machine with Ubuntu 16.04+ and at least one recent NVIDIA GPU with NVIDIA drivers version >= 580 (PyTorch runs on CUDA 13). For larger models, we recommend at least 24GB of GPU memory.
For more information about installation prerequisites, see the Set up H2O LLM Studio guide in the documentation.
For a performance comparison of different GPUs, see the H2O LLM Studio performance guide in the documentation.
Recommended Install
The recommended way to install H2O LLM Studio is using uv with Python 3.12. To install Python 3.12 on Ubuntu 20.04+, execute the following commands:
Installing NVIDIA Drivers (if required)
If deploying on a 'bare metal' machine running Ubuntu, one may need to install the required NVIDIA drivers and CUDA. The following commands show how to retrieve the latest drivers and CUDA 13.0 for a machine running Ubuntu 22.04 as an example. One can update the following based on their OS.
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb
sudo dpkg -i cuda-keyring_1.1-1_all.deb
sudo apt-get update
sudo apt-get -y install cuda-toolkit-13-0
sudo apt-get -y install cuda-drivers
Virtual environments
We offer various ways of setting up the necessary python environment.
UV virtual environment
The following command will create a virtual environment using uv and will install the dependencies:
make setup
Run H2O LLM Studio GUI
You can start H2O LLM Studio using the following command:
make llmstudio
This command will start the H2O Wave server and app. Navigate to http://localhost:10101/ (we recommend using Chrome) to access H2O LLM Studio and start fine-tuning your models!
If you are running H2O LLM Studio with a custom environment other than uv, you need to start the app as follows:
H2O_WAVE_MAX_REQUEST_SIZE=25MB \
H2O_WAVE_NO_LOG=true \
H2O_WAVE_PRIVATE_DIR="/download/@output/download" \
wave run llm_studio.app
Run H2O LLM Studio GUI using Docker
Install Docker first by following instructions from NVIDIA Containers. Make sure to have nvidia-container-toolkit installed on your machine as outlined in the instructions.
H2O LLM Studio images are stored in the h2oai Docker Hub container repository.
mkdir -p `pwd`/llmstudio_mnt
chmod 777 `pwd`/llmstudio_mnt
# make sure to pull latest image if you still have a prior version cached
docker pull h2oairelease/h2oai-llmstudio-app:latest
# run the container
docker run \
--runtime=nvidia \
--shm-size=64g \
--init \
--rm \
-it \
-u `id -u`:`id -g` \
-p 10101:10101 \
-v `pwd`/llmstudio_mnt:/mount \
h2oairelease/h2oai-llmstudio-app:latest
Navigate to http://localhost:10101/ (we recommend using Chrome) to access H2O LLM Studio and start fine-tuning your models!
(Note other helpful docker commands are docker ps and docker kill.)
Run H2O LLM Studio with command line interface (CLI)
You can also use H2O LLM Studio with the command line interface (CLI) and specify the configuration .yaml file that contains all the experiment parameters. To fine-tune using H2O LLM Studio with CLI use the following command:
uv run python llm_studio/train.py -Y {path_to_config_yaml_file}
To run on multiple GPUs in DDP mode, run the following command:
bash distributed_train.sh {NR_OF_GPUS} -Y {path_to_config_yaml_file}
By default, the framework will run on the first k GPUs. If you want to specify specific GPUs to run on, use the CUDA_VISIBLE_DEVICES environment variable before the command.
To start an interactive chat with your trained model, use the following command:
uv run python llm_studio/prompt.py -e {experiment_name}
where experiment_name is the output folder of the experiment you want to chat with (see configuration).
The interactive chat will also work with model that were fine-tuned using the UI.
To publish the model to Hugging Face, use the following command:
uv run python llm_studio/publish_to_hugging_face.py -p {path_to_experiment} -d {device} -a {api_key} -u {user_id} -m {model_name}
path_to_experiment is the output folder of the experiment.
device is the target device for running the model, either 'cpu' or 'cuda:0'. Default is 'cuda:0'.
api_key is the Hugging Face API Key. If the user is logged in, it can be omitted.
user_id is the Hugging Face user ID. If the user is logged in, it can be omitted.
model_name is the name of the model to be published on Hugging Face. It can be omitted.
Troubleshooting
If running on cloud-based machines such as runpod, you may need to set the following environment variable to allow the H2O Wave server to accept connections from the proxy:
H2O_WAVE_ALLOWED_ORIGINS="*"
If you are experiencing timeouts when running the H2O Wave server remotely, you can increase the timeout by setting the following environment variables:
H2O_WAVE_APP_CONNECT_TIMEOUT="15"
H2O_WAVE_APP_WRITE_TIMEOUT="15"
H2O_WAVE_APP_READ_TIMEOUT="15"
H2O_WAVE_APP_POOL_TIMEOUT="15"
All default to 5 (seconds). Increase them if you are experiencing timeouts. Use -1 to disable the timeout.
Data format and example data
For details on the data format required when importing your data or example data that you can use to try out H2O LLM Studio, see Data format in the H2O LLM Studio documentation.
Training your model
With H2O LLM Studio, training your large language model is easy and intuitive. First, upload your dataset and then start training your model. Start by creating an experiment. You can then monitor and manage your experiment, compare experiments, or push the model to Hugging Face to share it with the community.
Example: Run on OASST data via CLI
As an example, you can run an experiment on the OASST data via CLI. For instructions, see Run an experiment on the OASST data guide in the H2O LLM Studio documentation.
Model checkpoints
All open-source datasets and models are posted on H2O.ai's Hugging Face page and our H2OGPT repository.
Documentation
Detailed documentation and frequently asked questions (FAQs) for H2O LLM Studio can be found at https://docs.h2o.ai/h2o-llmstudio/. If you wish to contribute to the docs, navigate to the /documentation folder of this repo and refer to the README.md for more information.
Contributing
We are happy to accept contributions to the H2O LLM Studio project. Please refer to the CONTRIBUTING.md file for more information.
License
H2O LLM Studio is licensed under the Apache 2.0 license. Please see the LICENSE file for more information.