-
Notifications
You must be signed in to change notification settings - Fork 482
Fix context overflow #131
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
Merged
Merged
Fix context overflow #131
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
dc6acb7
feat(ppo_models): context truncating generation
maxreciprocate ed4f6f3
feat(base_model): segragate prompts and responses in logging
maxreciprocate 4674e3e
fix(ppo_model): truncate left padded tokens
maxreciprocate 3b886df
revert(ppo_models): remove context overflowing generate()
maxreciprocate a8b6eaf
feat(configs): add max_new_tokens
maxreciprocate 31e5bb5
fix(pipeline): truncate prompts
maxreciprocate 59176ac
chore(base_model): remove whole samples from logging
maxreciprocate 48899e0
chore(configs): update the rest of configs
maxreciprocate 27bd892
fix(configs): update program synthesis config
maxreciprocate d6be611
fix(base_model): prompts sizes
maxreciprocate 74e758a
revert(config): emulate old ppo_sentiments behavior
maxreciprocate 7366ab6
fix(ppo): unequal generation lengths
maxreciprocate 1b4d5db
chore(ppo): put indexing on cpu
maxreciprocate dd8b21a
revert(configl): old ilql_sentiments behavior
maxreciprocate d1a9c38
fix(ppo): unzero clipfrac
maxreciprocate 97bdd72
Merge branch 'main' into fix-context-overflow
maxreciprocate f394897
merge(configs): delete old options
maxreciprocate a960ada
revert(config): old ppo_sentiment behavior
maxreciprocate a290dd8
refactor(ppo_orchestrator): remove unused ref_logprobs
maxreciprocate 441dd23
fix(base_model): pin rewards to single precision
maxreciprocate 330dde3
refactor(ppo): rename padding percentage
maxreciprocate 6df0195
feat(wandb): add git branch name to tags
maxreciprocate 005b348
refactor(wandb): logging name hierarchy
maxreciprocate cacebc3
revert(wandb): merge tags into a single string
maxreciprocate File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure but shouldn't n be vector valued where each component is the size of the ith generation? (Before endoftext)
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is used only in reductions to scalars so no