TypeError: 'NoneType' object is not iterable

Hi,

When i tried running ner.batch-train, I’m getting the ‘TypeError: ‘NoneType’ object is not iterable’ message.

Is there any diagnostic test that I could run?

Thanks!

Hmm, so something that should be a list ends up being None – maybe you entered the wrong dataset name? If you look at the traceback in the terminal, it should show you where in the recipe the error is raised, and then you can check out the file at that position. This usually gives you a clue what the problem could be. You can also set PRODIGY_LOGGING=basic to output more logging information.