The machine learning pipeline for image caption generation