Skip to main content
Version: v0.24.x

Quick start: fine-tune your first model

This guide walks you through the basic flow of using H2O Cascade to fine-tune a large language model (LLM) on your own data — from dataset upload all the way to deployment.

You can get started in just a few steps:


Step 1: Upload or select a dataset​

Every experiment begins with data. From the Datasets tab in your project, click New Dataset to upload your own file (CSV, JSON, or Parquet), or select one of the built-in demo datasets.

On the Upload Dataset page, select the Problem Type that matches your use case:

  • Causal LM
  • Classification LM
  • Image Classification
  • Object Detection
  • Multimodal Causal LM
  • Causal LM (Reinforcement Learning)

If you're just exploring, the built-in demo datasets are a great way to quickly test these different problem types.

Upload Dataset page with the Problem Type dropdown open


Step 2: (Optional) Generate synthetic data​

If your dataset is missing labels or you want to create a brand-new dataset, use the Data Generation tab. You can either:

  • Generate Rows (create new synthetic examples using a prompt), or
  • Generate Columns (label or annotate existing data)

Configure a prompt and select a large hosted model to do the generation work. The output becomes a new dataset ready for training.

New Data Generation page showing the Data Generation Details section with the Select Recipe, Problem Type, Number of samples, and Output Problem Type fields


Step 3: Create and configure an experiment​

From the Experiments tab, click New Experiment to start training a model.

You'll choose:

  • A dataset (either one you uploaded or generated)
  • A backbone model to fine-tune (like Llama, Qwen, or Danube)
  • Hyperparameters — or just leave them at their defaults for now

Advanced users can configure things like learning rate, number of epochs, and LoRA settings.

New Experiment page with the Dataset Selection, Training Configuration, and Advanced Configuration sections highlighted


Step 4: Use AutoML or Ask KGM to improve performance​

To guide your experiment, you have two interactive helpers:

  • AutoML: To try several configurations automatically, click New AutoML on the AutoML tab. An AI assistant picks the configuration for each next experiment.
  • Ask KGM: Instead of AutoML, you can use Ask KGM (an AI assistant) to recommend a single new backbone or set of hyperparameters at a time.

Both help you quickly find the best settings and models for your data — great for iterating or if you're unsure how to tune.

Settings section of the New AutoML Run page with the Train Dataset, column, validation, Training Mode, Metrics, Optimization Metric, and Number of Experiments fields


Step 5: Deploy your model​

Once you're happy with the model's performance, go to the Deployments tab and click New Deployment.

You can:

  • Deploy a model you trained in H2O Cascade
  • Deploy a publicly available model from Hugging Face

Once deployed, you'll get:

  • An API endpoint for integration into downstream apps
  • A chat interface to test your model directly in the UI

Running deployment with the Status Overview, the Uptime, and an empty Chat with the endpoint section ready for a message

Not all problem types support deployment. You can't deploy Multimodal Causal LM, Image Classification, or Object Detection models yet, because the vLLM inference engine used for deployments doesn't support them. See Image classification and Object detection in Experiments for problem-type-specific details.

You can deploy Classification and Regression models only if they use a decoder backbone or a BERT, RoBERTa, XLM-RoBERTa, or ModernBERT encoder. A DeBERTa deployment fails to start, and a DistilBERT deployment returns wrong scores. See Text classification.

You also can't deploy Token Classification models. Instead, download the MLflow-compatible MLOps package from the experiment page. See Token classification.


That's it! You've fine-tuned and deployed your first LLM in just a few clicks. For deeper customization or advanced workflows, explore the other sections in the docs.


Feedback