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

Training on HuggingFace OpenWebText for GPT2 comparison #23

Open
nathanneuro opened this issue Dec 19, 2022 · 1 comment
Open

Training on HuggingFace OpenWebText for GPT2 comparison #23

nathanneuro opened this issue Dec 19, 2022 · 1 comment

Comments

@nathanneuro
Copy link

On my fork I'm attempting to add in support for HuggingFace's OpenWebText dataset and their GPT2 tokenizer so that I can do a comparison against HF's GPT2-small. If you were willing, I'd love advice on setting up model params for self-supervised autoregressive NLP. Thanks!

@cghawthorne
Copy link
Contributor

Hi @nathanneuro. You can probably use pretty normal settings. In the paper, we used some special hparams for PG-19 and Wikitext-103 to avoid overfitting, but OpenWebText is probably large enough that you don't need to worry about that. For text, rotary position encoding seems to work well. Maybe start with 8192 context and 1024 latents?

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