Skip to main content
This quickstart demonstrates how to build a custom model that can outperform a leading large model in just a few steps. You’ll be using:
  • Large model (for benchmarking): gpt-6-sol
  • Judge model (for scoring): claude-sonnet-5.5
  • Small model (for fine-tuning): Qwen/Qwen3-4B-Instruct-2507
By the end, you’ll have a fine-tuned small model that outperforms the larger model, validated through Oumi’s evaluations, which you’ll set up as part of the workflow.

TASK DEFINITION

You will develop an AI model for a bank that classifies customer support queries by intent, enabling accurate routing in a banking context.

WORKFLOW STEPS

Oumi provides a fully automated, end-to-end workflow. For this use case, the process includes:
  • Uploading your datasets and having Oumi automatically analyze them for potential issues
  • Defining evaluators (judges) to assess accuracy and ensure proper output formatting
  • Benchmarking both the large and small models on a test dataset to establish performance baselines
  • Fine-tuning the small model using your training data to create a custom version
  • Re-run the evaluations to see your custom model outperform the larger model’s baseline
You’ll complete this quickstart with FAiE (Frontier AI Engineer Agent), Oumi’s AI engineering assistant. You set up the project and datasets yourself, then ask FAiE to run the evaluations and the fine-tuning.
1

Project setup

Start by creating a new project in your workspace:
  1. Click on New Project.
  2. Give your project a Project Name.
  3. Provide a description in Project Context. You can also invite your team members to your project by clicking the Invite team members button and selecting their usernames.
  4. Click Create Project.

2

Set up your datasets

You can use the following datasets for this quickstart. Download them to your local machine by right-clicking each link and selecting Save Link As...:
Oumi requires that datasets follow a specific format. Please see Datasets to learn more.
From your project’s Overview page:
  1. Click the Create button and select Dataset from the menu.
  2. Select Upload a Dataset (to the right of Create Dataset)
  3. Enter banking77_test_basic.jsonl as the Dataset Name, and select the banking77_test_basic.jsonl file you downloaded in the previous step. Each dataset holds one file.
  4. Click Create Dataset. Oumi will start uploading your dataset and automatically run a series of quality checks.
  5. Repeat these steps for banking77_train_basic.jsonl, and name the dataset banking77_train_basic.jsonl, so you can select both datasets by name later.

3

Create your evaluators & baselines

Open Ask FAiE from the sidebar and give FAiE the following prompt:
FAiE will:
  • Read your project’s datasets to find the ground-truth fields.
  • Create an intent accuracy evaluator and an output validity evaluator, both judged by claude-sonnet-5.5.
  • Set up one evaluation for gpt-6-sol and one for Qwen/Qwen3-4B-Instruct-2507 on banking77_test_basic.jsonl, with failure-mode analysis turned off.
  • Submit both evaluations to run in parallel.
The prompt names the models, the dataset, and the scoring criteria, so FAiE needs no other input to plan the work. If Auto-approve is checked below the message box, FAiE starts the evaluations without asking. If it is cleared, FAiE asks you to approve each evaluation before it starts.When both evaluations finish, FAiE summarizes the scores in the chat. The strong model should outperform the small model. To review the details, open the Artifacts panel at the top right and click an evaluation.
4

Fine-tune & evaluate your custom model

Next, fine-tune the small model to close the gap. In the same conversation, give FAiE the following prompt:
FAiE will:
  • Create a training recipe that uses supervised fine-tuning with LoRA, the default for a 4B model, with preset hyperparameters on banking77_train_basic.jsonl.
  • Submit the training job and monitor its progress.
  • When training finishes, evaluate the fine-tuned model with the same two evaluators and compare it with the gpt-6-sol baseline.
When training finishes, FAiE evaluates the fine-tuned model and summarizes how it compares with both baselines.The new model and its evaluation also appear in the Artifacts panel. To compare the scores side by side, open the Evaluations page, click Compare..., and select the two evaluations.

NEXT STEPS

You fine-tuned Qwen/Qwen3-4B-Instruct-2507 into a custom model that outperforms gpt-6-sol on intent classification. Along the way, you created two datasets, two evaluators, and baseline evaluations for both models. From here, you can apply the same workflow to your own use cases and deploy your model for production use. Explore the Oumi Workflow and dive deeper into the available options and configurations for building custom AI models in Oumi.