Toloka documentation

Training | Source code

    project_id: Optional[str] = None,
    private_name: Optional[str] = None,
    may_contain_adult_content: Optional[bool] = None,
    assignment_max_duration_seconds: Optional[int] = None,
    mix_tasks_in_creation_order: Optional[bool] = None,
    shuffle_tasks_in_task_suite: Optional[bool] = None,
    training_tasks_in_task_suite_count: Optional[int] = None,
    task_suites_required_to_pass: Optional[int] = None,
    retry_training_after_days: Optional[int] = None,
    inherited_instructions: Optional[bool] = None,
    public_instructions: Optional[str] = None,
    metadata: Optional[Dict[str, List[str]]] = None,
    owner: Optional[Owner] = None,
    id: Optional[str] = None,
    status: Optional[Status] = None,
    last_close_reason: Optional[CloseReason] = None,
    created: Optional[datetime] = None,
    last_started: Optional[datetime] = None,
    last_stopped: Optional[datetime] = None

Training pool


  • Select for the main pool only those Tolokers who successfully complete the training tasks.
  • Practice Tolokers before the main pool and figure out how to respond correctly.

Parameters Description

Parameters Type Description
project_id Optional[str]

ID of the project to which the training pool belongs.

private_name Optional[str]

Training pool name (only visible to the requester).

may_contain_adult_content Optional[bool]

The presence of adult content in learning tasks.

assignment_max_duration_seconds Optional[int]

Time to complete a set of tasks in seconds. It is recommended to allocate at least 60 seconds for a set of tasks (taking into account the time for loading the page, sending responses).

mix_tasks_in_creation_order Optional[bool]

The order in which tasks are included in sets:

  • True - Default behavior. Include tasks in sets in the order they were loaded.
  • False - Include tasks in sets in random order.
shuffle_tasks_in_task_suite Optional[bool]

Order of tasks within the task set:

  • true - Random. Default behavior.
  • false - The order in which the tasks were loaded.
training_tasks_in_task_suite_count Optional[int]

The number of tasks in the set.

task_suites_required_to_pass Optional[int]

The number of task suites that must be successfully completed to assign a skill and access the main tasks.

retry_training_after_days Optional[int]

After how many days the replay will become available.

inherited_instructions Optional[bool]

Indicates whether to use a project statement. If training need their own instruction, then specify it in public_instructions. Default value - False.

public_instructions Optional[str]

Instructions for completing training tasks. May contain HTML markup.

metadata Optional[Dict[str, List[str]]]
owner Optional[Owner]

Training pool owner.

id Optional[str]

Internal ID of the training pool. Read only.

status Optional[Status]

Training pool status. Read only.

last_close_reason Optional[CloseReason]

The reason the training pool was last closed.

created Optional[datetime]

UTC date and time of creation of the training pool in ISO 8601 format. Read only.

last_started Optional[datetime]

UTC date and time of the last start of the training pool in ISO 8601 format. Read only.

last_stopped Optional[datetime]

UTC date and time of the last stop of the training pool in ISO 8601 format. Read only.

Methods Summary

Method Description
is_archived None
is_closed None
is_locked None
is_open None
set_owner A shortcut setter for owner