-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
RobertaModel.fill_mask() missing space #1306
Comments
facebook-github-bot
pushed a commit
that referenced
this issue
Nov 10, 2019
Summary: Check locally that everything works fine. Model is uploaded to fbaipublicfiles. I fixed a few inconsistencies in the bpe encoding along the way, e.g. related to #1306.. Pull Request resolved: fairinternal/fairseq-py#904 Reviewed By: ngoyal2707 Differential Revision: D18418345 Pulled By: louismartin fbshipit-source-id: 53acb4d021581968d70430ee9babee07d6573c17
This seems fixed in your Camembert model code? Please reopen if this is still an issue. |
moussaKam
pushed a commit
to moussaKam/language-adaptive-pretraining
that referenced
this issue
Sep 29, 2020
Summary: Check locally that everything works fine. Model is uploaded to fbaipublicfiles. I fixed a few inconsistencies in the bpe encoding along the way, e.g. related to facebookresearch#1306.. Pull Request resolved: fairinternal/fairseq-py#904 Reviewed By: ngoyal2707 Differential Revision: D18418345 Pulled By: louismartin fbshipit-source-id: 53acb4d021581968d70430ee9babee07d6573c17
yzpang
pushed a commit
to yzpang/gold-off-policy-text-gen-iclr21
that referenced
this issue
Feb 19, 2021
Summary: Check locally that everything works fine. Model is uploaded to fbaipublicfiles. I fixed a few inconsistencies in the bpe encoding along the way, e.g. related to facebookresearch/fairseq#1306.. Pull Request resolved: fairinternal/fairseq-py#904 Reviewed By: ngoyal2707 Differential Revision: D18418345 Pulled By: louismartin fbshipit-source-id: 53acb4d021581968d70430ee9babee07d6573c17
yzpang
pushed a commit
to yzpang/gold-off-policy-text-gen-iclr21
that referenced
this issue
Feb 19, 2021
Summary: Check locally that everything works fine. Model is uploaded to fbaipublicfiles. I fixed a few inconsistencies in the bpe encoding along the way, e.g. related to facebookresearch/fairseq#1306.. Pull Request resolved: fairinternal/fairseq-py#904 Reviewed By: ngoyal2707 Differential Revision: D18418345 Pulled By: louismartin fbshipit-source-id: 53acb4d021581968d70430ee9babee07d6573c17
yfyeung
pushed a commit
to yfyeung/fairseq
that referenced
this issue
Dec 6, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/pytorch/fairseq/blob/5b086a0c17a16ed84285ce78017637d47fa50caa/fairseq/models/roberta/hub_interface.py#L174
When using sentencepiece, it seems that there is a missing space before the masked word in the output of fill_mask().
I don't know how to fixing without breaking other stuff.
The sentencepiece encoded sentence is:
▁My ▁n ame ▁is <mask> ▁ .
The text was updated successfully, but these errors were encountered: