Develop the code from [[ https://gitlab.wikimedia.org/repos/machine-learning/exploratory-notebook/-/blob/main/tone-check/training_peacock.ipynb | exploratory-notebook ]] and adjust it in order to be part of the [[ https://gitlab.wikimedia.org/repos/machine-learning/ml-pipelines/-/tree/develop_retraining_notebook_tonecheck?ref_type=heads | ml-pipelines ]] repo.
The decision is to keep the retraining code simple (for the current phase) without classes and abstractions, imitating the logic taken from the notebook.
The code needs to be adjusted in order to work with repo rules/pipelines and with both gitlab-ci/kokkuri.
The logic behind this attempt is to finilize the tone-check retraining code and develop it in such a way that it will be containerised via kokkuri.
The image needs to be slim and decoupled from the data and base_model.
The container will accept external volumes where the data and the base_model will exist.