-
Notifications
You must be signed in to change notification settings - Fork 198
Create a GeneratorStep
from a dataset using a helper function
#812
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 16 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
1a71823
Add helper function to create generator step from dataset
plaguss 911c9e2
Add integration tests for make_generator_step
plaguss 2928845
Redirect import
plaguss 484c568
Update LoadDataFromHub to not call load if a dataset is already defined
plaguss fcab8b6
Update docs
plaguss 7b4a15a
Add unit tests for the new helper function
plaguss 3c046e5
Update filename to utils
plaguss 1eb7e9c
Add helper method to insert a root step
plaguss 608da33
Add logic to create a generator step internally from a dataset
plaguss 2d4aa49
Pass the dataset variable from all the pipeline implementations
plaguss 50cbac5
Add type for the input datasets
plaguss b734fe8
Avoid circular imports
plaguss 0c32758
Add test for pipelines with generator step and dataset
plaguss 941d8bb
Add integration tests for dataset passed via run method
plaguss 47906cc
Fix error evaluation dataframe
plaguss 4fe0b34
Add example on quickstart and entry on how to guide
plaguss 4c414fc
Update docs/sections/getting_started/quickstart.md
plaguss 28435b2
Update docs/sections/getting_started/quickstart.md
plaguss 0c32127
Update src/distilabel/pipeline/base.py
plaguss 1acc0e1
Update src/distilabel/pipeline/ray.py
plaguss dd6d427
Update src/distilabel/steps/generators/utils.py
plaguss da72207
Update src/distilabel/steps/generators/utils.py
plaguss 5a23778
Update src/distilabel/pipeline/local.py
plaguss da3deed
Respect import order
plaguss dab2662
Move functionality to a proper internal method
plaguss d7b4768
Run linter
plaguss ae85770
Merge branch 'develop' into pipeline-with-dataset
davidberenstein1957 11c1412
Merge branch 'develop' into pipeline-with-dataset
gabrielmbmb 64e4ff2
Fix format
gabrielmbmb 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
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
gabrielmbmb marked this conversation as resolved.
Show resolved
Hide resolved
|
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
Oops, something went wrong.
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.
I think that we could leave here the new example that you've added @plaguss as it's the quicker way to get started. WDYT @dvsrepo @davidberenstein1957 ?