Visit the full docs here to see additional examples and the API reference.
Collections of tasks and flows to interact with Huggingface APIs
For more tips on how to use tasks and flows in a Collection, check out Using Collections!
Install prefect-huggingface
with pip
:
pip install prefect-huggingface
A list of available blocks in prefect-huggingface
and their setup instructions can be found here.
Requires an installation of Python 3.7+.
We recommend using a Python virtual environment manager such as pipenv, conda or virtualenv.
These tasks are designed to work with Prefect 2.0. For more information about how to use Prefect, please refer to the Prefect documentation.
If you encounter any bugs while using prefect-huggingface
, feel free to open an issue in the prefect-huggingface repository.
If you have any questions or issues while using prefect-huggingface
, you can find help in either the Prefect Discourse forum or the Prefect Slack community.
Feel free to star or watch prefect-huggingface
for updates too!
If you'd like to help contribute to fix an issue or add a feature to prefect-huggingface
, please propose changes through a pull request from a fork of the repository.
Here are the steps:
- Fork the repository
- Clone the forked repository
- Install the repository and its dependencies:
pip install -e ".[dev]"
- Make desired changes
- Add tests
- Insert an entry to CHANGELOG.md
- Install
pre-commit
to perform quality checks prior to commit:
pre-commit install
git commit
,git push
, and create a pull request