Fine-Tuning Using The Bakery: Step-by-Step Guide

This guide will walk you through the process of fine-tuning a model using datasets in The Bakery.

Step 1: Creating Your Raw Fine-Tuning Dataset

Start by navigating to the top of your screen and selecting Create Dataset.

alt text

Next, choose a name for your dataset, assign a category and tags, and select Raw Dataset as the dataset type.

alt text

A raw dataset contains unprocessed data that will be used to train and fine-tune your model. Unlike a vector dataset, which is optimized for querying or searching, raw datasets are essential for fine-tuning because they contain detailed training data without any preprocessing.

Once the dataset is created, it will be labeled with the special identifier RAW.

alt text

Now, navigate to the newly created dataset and upload the file for the fine-tuning process. In this example, we are using a file in Parquet format.

alt text

Step 2: Fine-Tuning Your Model

While in the Files section, locate the Fine Tune option on the right-hand side of your screen.

alt text

You can now begin the fine-tuning process by filling in the required details. For this tutorial, we’ll be using a base model from the marketplace. For more information on purchasing and listing models or datasets on The Bakery, refer to the documentation.

Create a name for the fine-tuned model.

alt text

Next, select the Base Model from my models.

alt text

Next, select the Raw Dataset we created earlier, which should contain the training data.

alt text

Choose the file from the Raw Dataset that you want to use for training.

Select GPU from available options

Next, select appropriate Epochs & Learning Rate for proper fine-tuning

alt text

After you’ve submitted your inputs, click Confirm Fine Tune and proceed with the transaction for the fine-tuning process.

A progress bar will appear, allowing you to monitor the fine-tuning process.

alt text

Also, you can check check training progress logs from "Logs" option

Final Step: Downloading the Fine-Tuned Model

Once the fine-tuning is complete, you can download the fine-tuned model files by navigating to the Files section and selecting Download All.

Need extra help or just want to connect with other developers? Join our community on Discord for additional support (https://discord.gg/bagelnet) 👾

Last updated