Open martiansideofthemoon opened 2 years ago
Thanks, this is helpful, and to be honest I don't remember why one version works and the other does not! I will work on trying to fix this.
For what it's worth, I have Dockerized implementations of QAEval and many other metrics in this repository if you have access to Docker. I find it far easier to run metrics with that code base instead of this one.
Hi @danieldeutsch, Thanks for the library! I am adding may question to this issue, since it may be relevant. I get this error
Error loading state dict for _QuestionGenerationModel
Missing keys: ['bart.final_logits_bias', 'bart.lm_head.weight']
Any suggestions to resolve the issue?
Thanks
Hi @danieldeutsch, Thank you for building this very useful library.
I wanted to point out a small bug that I found while using the QAEval metric. I think the URL for the question generation model here links to the older model, which is incompatible with the newer versions of HuggingFace. I fixed it by using the Google Drive link on the danieldeutsch/qaeval repository.
The
bart-large
namespace is incompatible the transformers 3.0.2 version, which needsfacebook/bart-large
.