s103321048

Results comments of s103321048

Add the following line at 191 in model_generator.py ``` tracks = list(tracks) ```

I'm also facing the same issue. I've also tried multiple version (from 2.8.0 - 3.2.0) of transformers but it seems like changing version won't help. Found a relate issue [here](https://github.com/huggingface/transformers/issues/4356)...

Add `strict=False` in line 39 of model_generator.py ``` def reload(self, from_file): print(self.model.load_state_dict(torch.load(from_file),strict=False)) ``` Since there are no such keys in state_dict, just let the model ignore it.

The problem is caused by the empty documents in wikinews.db You can ignore those empty files by modifying `train_summary_loop.py` in line 127 ``` bodies = [" ".join(doc.split(" ")[:300]) for doc...