Closed caufieldjh closed 1 year ago
For reference, this happened because the raw text reponse from the LLM looked like:
chemicals:
artesunate
diseases:
delayed hemolytic anemia; severe malaria
entities:
Democratic Republic of the Congo; World Health Organization; hospitals; health centers; hemoglobin (Hb)
so it didn't get parsed properly.
On a run of the
EvalCTDNER
:The
predicted_obj
is None, which means nothing got predicted...or it wasn't assigned, which shouldn't happen. Luckily this is rare, but unluckily the error isn't caught.