-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a
GeneratorStep
from a dataset using a helper function (#812)
* Add helper function to create generator step from dataset * Add integration tests for make_generator_step * Redirect import * Update LoadDataFromHub to not call load if a dataset is already defined * Update docs * Add unit tests for the new helper function * Update filename to utils * Add helper method to insert a root step * Add logic to create a generator step internally from a dataset * Pass the dataset variable from all the pipeline implementations * Add type for the input datasets * Avoid circular imports * Add test for pipelines with generator step and dataset * Add integration tests for dataset passed via run method * Fix error evaluation dataframe * Add example on quickstart and entry on how to guide * Update docs/sections/getting_started/quickstart.md Co-authored-by: Gabriel Martín Blázquez <[email protected]> * Update docs/sections/getting_started/quickstart.md Co-authored-by: Gabriel Martín Blázquez <[email protected]> * Update src/distilabel/pipeline/base.py Co-authored-by: Gabriel Martín Blázquez <[email protected]> * Update src/distilabel/pipeline/ray.py Co-authored-by: Gabriel Martín Blázquez <[email protected]> * Update src/distilabel/steps/generators/utils.py Co-authored-by: Gabriel Martín Blázquez <[email protected]> * Update src/distilabel/steps/generators/utils.py Co-authored-by: Gabriel Martín Blázquez <[email protected]> * Update src/distilabel/pipeline/local.py Co-authored-by: Gabriel Martín Blázquez <[email protected]> * Respect import order * Move functionality to a proper internal method * Run linter * Fix format --------- Co-authored-by: Gabriel Martín Blázquez <[email protected]> Co-authored-by: David Berenstein <[email protected]>
- Loading branch information
1 parent
25601bb
commit fc7e82e
Showing
14 changed files
with
426 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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 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 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 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.