training pipeline for thot works