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

eval.utils.load_validation_dataset #25

Merged
merged 1 commit into from
Feb 8, 2024

Conversation

jettjaniak
Copy link
Contributor

No description provided.

@jettjaniak jettjaniak linked an issue Feb 8, 2024 that may be closed by this pull request
@jettjaniak jettjaniak merged commit 7ae5d16 into main Feb 8, 2024
1 check passed
@jettjaniak jettjaniak deleted the 4-load-validation-dataset-only branch February 8, 2024 05:51
# regardless of the files we're actually loading
split="train",
)
return cast(Dataset, dataset)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One question: we are still add a BOS token to every sequence in tokenized = load_validation_dataset("tinystories-v2-clean-tokenized-v0") before batching, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, we don't prepend anything in the tokenized dataset. -v0 is weird and doesn't have BOS, but this is what the v0 models were trained on. Final version will have BOS

siwei-li pushed a commit that referenced this pull request Feb 9, 2024
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

Successfully merging this pull request may close these issues.

load validation dataset only
2 participants