Isolate training chunks to make caching possible.
Final version of the project.