This is very helpful and solved my problem getting a tqdm progress bar working with an existing pipeline as well. One note:
I think the calculation of the data range based on chunk and CHUNK_SIZE is off. It should look something more like:
descr = test_df[(CHUNK_SIZE * chunk) : (CHUNK_SIZE * chunk) + CHUNK_SIZE]['description'].to_list()
Either way, thanks again @maiia-bocharova for the excellent template.