Create a training process
We need a new page that allows a user to configure a training process on a given corpus.
The action would be available from a corpus actions, below "create process", as "Train a model" (under route /process/train/:corpusId
)
The display would be a long form with the following options:
- a required text input for the process name
- a button to open a modal listing all existing workers and allowing to pick a given version (the component already exists and is used to create inference processes)
- a select listing all existing models and allowing to pick a model (and not one of the versions), this component does not exist (we have a more complete component with versions and details, but here we just need an alphabetically sorted list of models).
- a required folder (from a folder picker), for train data
- an optional folder (from a folder picker), for validation data
- an optional folder (from a folder picker), for test data
- a button to open a modal with all worker configurations available for the selected model worker version above (should be disabled until a worker version is selected). This component already exists
- a boolean flag to enable/disable GPU usage (disabled by default)
We do not need support for model_version_id
here.
A simple button "Start process" calls CreateTrainingProcess
and redirects the user towards the created process