Skip to content
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

mt5-base model (unicamp-dl/mt5-base-en-msmarco) throws 'nan' outputs #20

Open
cramraj8 opened this issue May 31, 2024 · 2 comments
Open

Comments

@cramraj8
Copy link

Hi,

I was running unicamp-dl/mt5-base-en-msmarco: ['▁no' , '▁yes'] model for both English and other My.TyDi languages, but the output scores are nan. When I switched to unicamp-dl/mt5-13b-mmarco-100k: ['▁', '▁true'] model, I get actual logits. I wonder if there's any issues with underlying unicamp-dl/mt5-base-en-msmarco model.

Thanks.

@rodrigonogueira4
Copy link
Contributor

Hi @vjeronymo2 @lhbonifacio any ideas of what could be the problem here?

@lhbonifacio
Copy link
Collaborator

Hey @cramraj8,
Thank you for your interest in our work.
Regarding unicamp-dl/mt5-13b-mmarco-100k, the prediction tokens are indeed ['▁', '▁true'] (as reported here).
Maybe @vjeronymo2 can give us more details about that, but as you already mentioned, it is working fine.

For the unicamp-dl/mt5-base-en-msmarco model, I just tested it using the reranking implementation from InPars and it seems to be working fine with the prediction tokens ['▁no' , '▁yes'].
Maybe you could try to use your reranking code that is available here: https://github.com/zetaalphavector/InPars/blob/master/inpars/rerank.py

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants