1.11.0 terms.teach Invalid Task format for view ID 'text'

I'm using terms.teach and am receiving the following error.

prodigy terms.teach state_terms_money en_core_web_lg --seeds Funds,Grants,Appropriations

:information_source: Initializing with 3 seed terms
Grants, Appropriations, Funds

:sparkles: Starting the web server at http://localhost:8080 ...
Open the app in your browser and start annotating!

✘ Invalid task format for view ID 'text'

_input_hash field required
_task_hash field required

{'text': 'funds', 'meta': {'score': 0.8113134831514935}}

I was using Prodigy nightly (which was working fine) but have uninstalled it and reinstalled with the new stable release 1.11.0. I also redownloaded the en_core_web_lg model. Any ideas?

Update I uninstalled and downgraded to the latest nightly and it seems to be working again. I've tried to upgrade back to 1.11.0 and continue to have this issue.

Hi! Thanks for the report – I just had a look and it seems like we accidentally introduced this problem by validating the stream before setting the hashes (if no hashes are present in the data). I've already fixed this and will include this in the next release.

In the meantime, you can work around this by setting "validate": false in your prodigy.json, or via PRODIGY_CONFIG_OVERRIDES='{"validate": false}' on the CLI.

Edit: Just released v1.11.1, which should fix this under the hood!

1 Like

Thanks @ines !