-
Notifications
You must be signed in to change notification settings - Fork 3.9k
feat: openai wandb sync #64
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
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
9a6d168
feat: log fine_tune with wandb
borisdayma a246785
feat: ensure we are logged in
borisdayma b24d1b6
feat: cli wandb namespace
borisdayma dfb67fa
feat: add fine_tuned_model to summary
borisdayma 1036d6d
feat: log training & validation files
borisdayma bb3def6
feat: re-log if was not successful or force
borisdayma 2d34eb2
doc: add docstring
borisdayma 0b0f456
feat: set wandb api only when needed
borisdayma c948a2e
fix: train/validation files are inputs
borisdayma 1d10235
feat: rename artifact type
borisdayma 146cdaa
feat: improve config logging
borisdayma ce7352e
feat: log all jobs by default
borisdayma 5e6dbe9
feat: log job details
borisdayma 00111ba
feat: log -> sync
borisdayma 9a3edcb
feat: cli wandb log -> sync
borisdayma 2c151f3
fix: validation_files not always present
borisdayma 9eccf84
feat: format created_at + style
borisdayma 84c2cbd
feat: log number of training/validation samples
borisdayma 6650b39
Merge branch 'main' of https://github.com/openai/openai-python
borisdayma 8ac09d3
feat(wandb): avoid download if file already synced
borisdayma 08ef4de
feat(wandb): add number of items to metadata
borisdayma 9c3738c
fix(wandb): allow force sync
borisdayma 39e747c
feat(wandb): job -> fine-tune
borisdayma 0b1751d
refactor(wandb): use show_individual_warnings
borisdayma 81db437
feat(wandb): Logger -> WandbLogger
borisdayma e6f154f
feat(wandb): retrive number of items from artifact
borisdayma 6c57ef5
Merge branch 'main' of https://github.com/openai/openai-python
borisdayma 90c802b
doc(wandb): add link to documentation
borisdayma 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
Oops, something went wrong.
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.
Why is a print statement required after openai logger sync is called?
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 will show
wandb log completed successfully
to confirm the command ran successfully.It was just to follow the pattern of the other commands but it could be done directly in the logger if you prefer.
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.
Thanks - makes sense as is!