-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding MoverScore #11
Comments
Is this to be included in evalbase or DocAsRef? |
I think DocAsRef. |
I think MoverScore should be added into DocAsRef. Any metrics developed or benchmarked by us for the ACL 2023 submission should go to DocAsRef. To evaluate, just go to |
Refs: |
It's because MoverScore_v2 does not move variables to GPU. padded, lens, mask = padding(arr, pad_token, dtype=torch.long)
padded_idf, _, _ = padding(idf_weights, pad_token, dtype=torch.float)
padded = padded.to(device=device)
mask = mask.to(device=device)
lens = lens.to(device=device)
return padded, padded_idf, lens, mask, tokens vs. the lines below in MoverScore_v2
Maybe you can give them a PR. |
Like BertScore and BLEURT, MoverScore is another modern transformer-based reference-based summerization metric.
However, we did not include it in our pilot study. Now maybe a good time to add it.
Unfortunately, HF's
evaluate
library does not included it. But the original author seems to have provided a good package: https://pypi.org/project/moverscore/ And the Github source is here: https://github.com/AIPHES/emnlp19-moverscoreLet's add it. Note to be fair and square (#10), let's use a RoBERTa-large based model. To select a model, see here. The model name is the model name in HuggingFace. So we can simply use RoBERTa-large (generally trained).
The text was updated successfully, but these errors were encountered: