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

About the type of gpt2 #4

Open
zjr2000 opened this issue Feb 20, 2023 · 1 comment
Open

About the type of gpt2 #4

zjr2000 opened this issue Feb 20, 2023 · 1 comment

Comments

@zjr2000
Copy link

zjr2000 commented Feb 20, 2023

Hi,

Thanks for your amazing work!
I have a question about the type of GPT2. You have mentioned that you use gpt2 large as your langauge model (In section A.1), But I found your code actually load the GPT2 base model:

self.gpt = GPT2LMHeadModel.from_pretrained('gpt2')

Is there any mistake?

@DavidHuji
Copy link
Owner

Hi, thanks for paying attention to that. It is a mistake in the paper, we used the base model.
Please let me know if you tried both and got better results.

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