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

model and training code for the AR variant #34

Open
MikeWangWZHL opened this issue Sep 10, 2024 · 5 comments
Open

model and training code for the AR variant #34

MikeWangWZHL opened this issue Sep 10, 2024 · 5 comments

Comments

@MikeWangWZHL
Copy link

Thanks for open-sourcing this amazing project!
I wonder it is possible to also release model and training code for the AR baseline
image

Thank you in advance!

@LTH14
Copy link
Owner

LTH14 commented Sep 10, 2024

To keep this repo clean, we don't have a plan to release the AR code in this repo. However, it is very easy to reimplement it using the current repo -- almost all hyper-parameters remain the same as MAR. The only difference is the causal attention mask and the teacher-forcing loss.

@shaochenze
Copy link

shaochenze commented Sep 20, 2024

Hi @LTH14, in the AR variant, is it necessary for the attention mechanism within the MAE encoder to be causal? Alternatively, should we consider removing the MAE encoder altogether in this variant?

@LTH14
Copy link
Owner

LTH14 commented Sep 20, 2024

In the AR variant, we don't need the MAE encoder. A single causal decoder is enough (similar to GPT).

@shaochenze
Copy link

Thanks! Do you double the depth of MAE decoder?

@LTH14
Copy link
Owner

LTH14 commented Sep 20, 2024

Yes we keep the total number of parameters unchanged

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