Closed MHDBST closed 3 years ago
Good point, I'll update the README to indicate that the label-prediction
script will only work on the dev set. To do full-pipeline prediction and evaluation, use pipeline.sh. I just updated it so that it won't attempt to do evaluation if you're making test set predictions.
Closing now, let me know if this doesn't work for you.
I'm still facing the same error. It's looking for the 'evidence'
key:
Retrieving abstracts.
Traceback (most recent call last):
File "verisci/inference/abstract_retrieval/oracle.py", line 14, in <module>
doc_ids = list(map(int, data['evidence'].keys()))
KeyError: 'evidence'
This is actually expected, you can't run oracle abstract retrieval on the test set because the oracle
setting requires being given gold documents, which you don't have. You should run in the open
setting instead. I'll update the README
to clarify.
Hi all, I have installed the package completely an downloaded the data file as well. I can do the prediction on the dev set successfully with this command:
./script/label-prediction.sh scibert scifact dev
I get the following results:
But when I run it on the test set, I get this error:
./script/label-prediction.sh scibert scifact test
Error:
When I try to skip the part that it writes the evaluation results, the prediction array is empty. How can I generate the predictions without having the actual labels?