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

Training and inference issue #31

Closed
qtli opened this issue Sep 8, 2022 · 3 comments
Closed

Training and inference issue #31

qtli opened this issue Sep 8, 2022 · 3 comments

Comments

@qtli
Copy link

qtli commented Sep 8, 2022

Dear authors, thanks for your great work.

I have a little question. The paper says that the spans are shuffled in the training time.
I was wondering whether the predicted spans are in order when inference, and how to make them orderly?

Look forward to hearing from you.

@qtli
Copy link
Author

qtli commented Sep 8, 2022

Does this is implemented due to the position representations?

@duzx16
Copy link
Member

duzx16 commented Sep 8, 2022

In most downstream tasks the model only needs to predict one span. In the blank infilling task, for simplicity we always predict the missing spans in a left-to-right order.
Note that you can specify which span to predict by specifying the position id of [SOP] token.

@qtli
Copy link
Author

qtli commented Sep 8, 2022

In most downstream tasks the model only needs to predict one span. In the blank infilling task, for simplicity we always predict the missing spans in a left-to-right order. Note that you can specify which span to predict by specifying the position id of [SOP] token.

Get it! Thanks for your prompt reply!! :)

@qtli qtli closed this as completed Sep 8, 2022
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

2 participants