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

how to generate attention mask seperately? #52

Open
Liujingxiu23 opened this issue Mar 14, 2023 · 2 comments
Open

how to generate attention mask seperately? #52

Liujingxiu23 opened this issue Mar 14, 2023 · 2 comments

Comments

@Liujingxiu23
Copy link

I want to use my own input_embedings(or my own tokenizer system) instead of input_ids, but I do not know how to generate encoder_attention_mask and decoder_attention_mask bymyself, is there any code?

@vishugupta96
Copy link

facing the same problem not much info is provided on the inner working of this model making customization difficult.

@DamithDR
Copy link

You may refer his other repository : https://github.com/Shivanandroy/T5-Finetuning-PyTorch

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