allenai / kb

KnowBert -- Knowledge Enhanced Contextual Word Representations
Apache License 2.0
371 stars 50 forks source link

Problem with evaluating tacred #36

Open Coopercoppers opened 3 years ago

Coopercoppers commented 3 years ago

Hi, I tried your code in evaluating tacred, but came back with a bizarre error saying that in kb/multitask.py line 66, the file_path need to be dict(str, str), but has str, and I checked the file_path, it's the same as the evaluation_file you outlined (in my case tacred_test.json). It should be str right? Can you help me with this?