Starting the Ch
Fine
On-siteOn-siteFull-time$140k – $220k / year
About this role
---
title: Starting the Chat Fine-Tuning Run
slug: v2/docs/chat-starting-the-training
hidden: false
description: Learn how to fine-tune a Command model for chat with the Cohere Web UI or Python SDK, including data requirements, pricing, and calling your model.
keywords: fine-tuning, fine-tuning language models
createdAt: Fri Nov 10 2023 18:22:10 GMT+0000 (Coordinated Universal Time)
updatedAt: Wed Jun 12 2024 00:17:37 GMT+0000 (Coordinated Universal Time)
For clean Markdown of any page, append .md to the page URL. For a complete documentation index, see https://docs.cohere.com/docs/llms.txt. For full documentation content, see https://docs.cohere.com/docs/llms-full.txt.
In this section, we will walk through how you can start training a fine-tuning model for Chat on both the Web UI and the Python SDK.
Cohere Dashboard
Fine-tuning of the Command family of models for Chat with the Web UI consists of a few simple steps, which we'll walk through now.
Choose the Chat Option
Go to the fine-tuning page and click on 'Create a Chat model'.
Upload Your Data
Upload your custom dataset data by going to 'Training data' and clicking on the upload file button. Your data should be in `jsonl` format.
Upload your training data by clicking on the `TRAINING SET` button at the bottom of the page, and if you want to upload a validation set you can do that with the `VALIDATION SET` button.
Your data has to be in a `.jsonl` file, where each `json` object is a conversation with the following structure:
```json
{
"messages":
{
"role": "system",
"content": "You are a chatbot trained to answer to my every question."
},
{
"role": "user",
"content": "Hello"
},
{
"role": "chatbot",
"content": "Greetings! How can I help you?"
}, ...
}
```
We require a minimum of two valid conversations to begin training. Currently, users are allowed to upload either a single train file, or a train file along with an eval
Related opportunities
Machine Learning Engineer @ Gray Swan AI
Gray Swan AI
On-site$140k – $220k
View →
Hadrian Automation
Machine Learning Engineer
On-site$140k – $220k
View →
AI & Machine Learning Engineer @ Lightspeed
Lightspeed
On-site$140k – $220k
View →
Machine Learning Engineer (Video Understanding & Segmentation) @ Maxinsights Corporation
Maxinsights Corporation
On-site$140k – $220k
View →