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

Investigate Expert Models Having High Perplexity #57

Open
mrcabbage972 opened this issue May 17, 2023 · 1 comment
Open

Investigate Expert Models Having High Perplexity #57

mrcabbage972 opened this issue May 17, 2023 · 1 comment
Assignees

Comments

@mrcabbage972
Copy link
Collaborator

mrcabbage972 commented May 17, 2023

Our analysis in #53 has shown that the expert models we had previously trained actually have a higher perplexity than the base model.

Here are some issues that may have caused this:

  • no warmup
  • LR too high
  • too few steps
  • mixing in pile data
  • too many gradient accumulation steps
  • measurement error

The expert models were trained with an old version of the trainer, so we don't know which wandb run they belong to and what were the pile/domain data losses during the training. Re-doing the training of one of the experts should help clarify.

@mrcabbage972 mrcabbage972 changed the title Investiage Expert Models Having High Perplexity Investigate Expert Models Having High Perplexity May 17, 2023
@mrcabbage972 mrcabbage972 added this to the Minimal Evaluation milestone May 17, 2023
@Stillerman
Copy link
Collaborator

Further investigation - train.py has a --do-eval option that also computes the perplexity. After running both the base model and the arxiv model through this on the arxiv dataset, I find the same discrepancy as in the dedicated perplexity script. This rules out any concern I had about if it was just a different data/tokenization pipeline in the perplexity script vs the train.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants