Uploading Files to the Bakery
Sharing your files and work is a key feature of the Bakery platform. The Bakery provides several methods for uploading files, which we'll cover in this guide. You'll learn how to push files:
Using your Command Line Interface (CLI)
Through the Bakery platform interface
Before proceeding, ensure you're logged into your Bakery account. Let's start with the CLI, where you'll authenticate using your user ID and API key.
Uploading Files via CLI
First, install the Bagel Python client by running the following command in your terminal
After installing the Bagel Python Client and creating a project file, you can upload a file to your dataset using the
file_upload()
function:
Uploading Files via the Bakery Platform
Navigate to the
My Datasets
orMy Models
section on the left side of your screen, and select the model or dataset you'd like to manage.In the
Files
section, click+ Add
on the right hand side of your screen to upload your files. You can select files from your local machine.Supported file formats include
.csv
,.json
,.parquet
, and.txt
.
Here we can see an uploaded file in parquet format which can serve as training data in the finetuning process
Additionally, you can download all uploaded files by selecting the
Download all
option located in the files section.
Last updated