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

[prompt] add MaskedLMVerbalizer #3889

Merged
merged 4 commits into from
Nov 28, 2022
Merged

Conversation

LemonNoel
Copy link
Contributor

PR types

New Features

PR changes

APIs

Description

  • Add MaskedLMVerbalizer for the PET version under examples/few-shot and update the doc.
  • Add keyword constraint in PromptDataCollatorWithPadding for options and redundant keywords in examples.

@LemonNoel LemonNoel self-assigned this Nov 24, 2022
@LemonNoel LemonNoel marked this pull request as ready for review November 25, 2022 05:34
@LemonNoel LemonNoel requested a review from wawltor November 25, 2022 05:34
@LemonNoel LemonNoel requested a review from ZHUI November 25, 2022 07:18
Copy link
Collaborator

@wawltor wawltor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@LemonNoel LemonNoel merged commit 6308169 into PaddlePaddle:develop Nov 28, 2022
@LemonNoel LemonNoel deleted the prompt branch November 28, 2022 02:36
@LemonNoel LemonNoel restored the prompt branch November 28, 2022 02:36
@LemonNoel LemonNoel deleted the prompt branch November 28, 2022 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants