make sure train loop handles num_examples correctly when None
make sure train loop handles num_examples correctly when None

facebookresearch/ParlAI,facebookresearch/ParlAI,facebookresearch/ParlAI,facebookresearch/ParlAI,facebookresearch/ParlAI