This is a multithreaded data_loader, which parallelizes the processing of data loading and model training