Distilabel is a framework for synthetic data and AI feedback for engineers who need fast, reliable and scalable pipelines based on verified research papers.
This PR add the option of pushing the script of the pipeline being run to the hugging face hub (by default it will be set to False, to avoid potential errors):
with Pipeline() as pipe:
...
distiset = pipeline.run(use_cache=False)
distiset.push_to_hub("plaguss/pipe_nothing_test", include_script=True)
This simplifies sharing the code that created the pipeline, as well as custom steps.
Description
This PR add the option of pushing the script of the pipeline being run to the hugging face hub (by default it will be set to
False
, to avoid potential errors):This simplifies sharing the code that created the pipeline, as well as custom steps.
Example script.
If the script was uploaded to the hub, an entry will be written in the README.md of the repo to show it:
The cli has also been updated to allow running remote (or local) scripts, as we do with pipelines defined in their
pipeline.yaml
config file: