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

prefix_allowed_tokens_fn #10

Open
zhaozhuoyang-six opened this issue Oct 27, 2023 · 0 comments
Open

prefix_allowed_tokens_fn #10

zhaozhuoyang-six opened this issue Oct 27, 2023 · 0 comments

Comments

@zhaozhuoyang-six
Copy link

您好,请问这里的def prefix_allowed_tokens_fn(self, task, data_name, source_ids, batch_id,input_ids):这一步是什么意思,是加入到T5的每一层中吗,还是只是embeding部分

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

1 participant