> ## Documentation Index
> Fetch the complete documentation index at: https://docs.platform.toloka.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# toloka training update

> Update a Training draft. Omitted hyperparameters keep their current values.

## Usage

```bash theme={null}
toloka training update [options] <name-or-id>
```

## Arguments

**name-or-id** `string` *required*

Training name or ID.

## Options

**--base-model \<id>** `string`

Catalog Base Model source.

**--model-version \<id>** `string`

Exact Model Version source.

**--dataset \<name-or-id>** `string`

Split the Dataset again and freeze a new slice named after the Training: rows added since get parts, rows that had one keep it.

**--slice \<id>** `string`

Replacement ready Dataset Slice that freezes a split column.

**--split-column \<name-or-id>** `string`

Split column to train with, when the slice freezes more than one.

**--parts \<names>** `string`

Train parts to learn on, comma-separated.

**--lora-rank \<rank>** `integer`

SFT LoRA adapter rank: 8, 16, or 32.

**--gist-tokens \<count>** `string`

Gisting soft tokens: 8, 32, or 64, or a fraction of the prompt "1/4", "1/8", "1/16", "1/32".

**--epochs \<count>** `integer`

Training epochs, 1 through 5.

**--learning-rate \<rate>** `number`

Optimizer learning rate.

**--batch-size \<count>** `integer`

Sequences per optimizer step: 8, 16, 32, or 64.

**--max-sequence-length \<tokens>** `integer`

Token budget per example, 64 through 16384.

**--prompt-file \<path>** `string`

Replacement gisting prompt text file.

**--json** `boolean` (default: false)

Print JSON.

## Inherited options

**-v, --version** `boolean`

Output the current version.

**--source-root \<directory>** `string`

Project root; otherwise search the working directory and parents; init and report use only the working directory.

**--api-key \<key>** `string`

API key override; login stores the key it verifies.

Environment fallback: [`TOLOKA_SCOPED_TOKEN`](https://docs.platform.toloka.ai/docs/cli/reference#environment-variables), [`TOLOKA_API_KEY`](https://docs.platform.toloka.ai/docs/cli/reference#environment-variables).

**--base-url \<url>** `string`

Platform base URL override; login saves the selected URL.

Environment fallback: [`TOLOKA_BASE_URL`](https://docs.platform.toloka.ai/docs/cli/reference#environment-variables).

**--project-id \<id>** `string`

Target project; overrides toloka.json.

Environment fallback: [`TOLOKA_PROJECT_ID`](https://docs.platform.toloka.ai/docs/cli/reference#environment-variables).

See the [CLI guide](https://docs.platform.toloka.ai/docs/cli.md#train) for the workflow, and [environment variables and exit codes](https://docs.platform.toloka.ai/docs/cli/reference.md#environment-variables) for shared behavior.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.