- 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
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
1
Project setup
Start by creating a new project in your workspace:
- Click on
New Project. - Give your project a
Project Name. - Provide a description in
Project Context. You can also invite your team members to your project by clicking theInvite team membersbutton and selecting their usernames. - 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 From your project’s Overview page:
Save Link As...:Oumi requires that datasets follow a specific format. Please see Datasets to learn more.
-
Click the
Createbutton and selectDatasetfrom the menu. -
Select
Upload a Dataset(to the right of Create Dataset) -
Enter
banking77_test_basic.jsonlas theDataset Name, and select thebanking77_test_basic.jsonlfile you downloaded in the previous step. Each dataset holds one file. -
Click
Create Dataset. Oumi will start uploading your dataset and automatically run a series of quality checks. -
Repeat these steps for
banking77_train_basic.jsonl, and name the datasetbanking77_train_basic.jsonl, so you can select both datasets by name later.
3
Create your evaluators & baselines
Open FAiE will:
Ask FAiE from the sidebar and give FAiE the following prompt:- 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-soland one forQwen/Qwen3-4B-Instruct-2507onbanking77_test_basic.jsonl, with failure-mode analysis turned off. - Submit both evaluations to run in parallel.
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-solbaseline.
Compare..., and select the two evaluations.NEXT STEPS
You fine-tunedQwen/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.