Repository navigation
Conversation
[evals]: zero-shot multiple-choice tasks in cloze form (HellaSwag, ARC-Easy/Challenge, PIQA, WinoGrande, OpenBookQA, SciQ, LAMBADA), formatted as in lm-evaluation-harness and scored inside the trainer. Each task logs acc, acc_norm and bits per byte of the gold continuation. They run after the optimizer update, like the perplexity evals.
Collaborator
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #4062 (pretrain-core); merge after it.
Log-likelihood evals (
[evals]) foruv run pretrain: HellaSwag, ARC-Easy/Challenge, PIQA, WinoGrande, OpenBookQA, SciQ and LAMBADA in cloze form, formatted as in lm-evaluation-harness and scored inside the trainer (trainer/pretrain/evals/{tasks,loglik}.py). Each task logsacc,acc_norm(length-normalized by the answer without its leading space, as the harness does) andbpbof the gold continuation, a smooth signal while accuracy is still at chance; LAMBADA logs onlybpb.evals.limitcaps items per task. They run after the optimizer update, like the perplexity evals, and the launcher prefetches the task datasets.Validation
1-GPU (RTX PRO 6000) and 8-GPU (H200) bpb agree to the fourth decimal; accuracies differ by up to 0.4 points (near-tie choices).
tests/unit/train/pretrain/test_evals.py).