Script: prodigy ner.manual SENSITIVE en_core_web_lg notes.jsonl --label Drug --patterns .\tmp\patterns_drugs-DRUG.jsonl
Server crashes.
Top of error log: Task exception was never retrieved
*future: <Task finished coro=<RequestResponseCycle.run_asgi() done, defined at C:\Users\RonT\AppData*
Local\Programs\Python\Python37\lib\site-packages\uvicorn\protocols\http\h11_impl.py:383> exception=K
eyError('meta')>
Last lines of error log: File "C:\Users\RonT\AppData\Local\Programs\Python\Python37\lib\site-packages\prodigy\recipes\ner.p
y", line 154, in
** stream = (eg for _, eg in pattern_matcher(stream))**
** File "cython_src\prodigy\models\matcher.pyx", line 200, in call**
KeyError: 'meta'
Patterns file is from prodigy-recipes/example-patterns/ patterns_drugs-DRUG.jsonl
Server launches properly WITHOUT the --patterns argument.
Happy to supply more data as you request. Hope you find it to be my cockpit error.
Thank you.