skops
is a Python library helping you share your scikit-learn based models and put them in production.
At the moment, it includes tools to easily integrate models on the Hugging Face
Hub, which allows you to share your models, make them discoverable, and use the
Hub's API inference and widgets to get outputs of the model without having to
download or load the model.
skops.hub_utils
: tools to create a model repository to be stored on Hugging Face Hub, mainly throughskops.hub_utils.init
andskops.hub_utils.push
. You can see all the models uploaded to the hub using this library here. Find out more here.skops.card
: tools to create a model card explaining what the model does and how it should be used. The model card can then be stored as theREADME.md
file on the Hugging Face Hub, with pre-populated metadata to help Hub understand the model. More information can be found here.skops.io
: Secure persistence of sklearn estimators and more, without usingpickle
. Visit the docs for more information.
Please refer to our documentation on using the library as user, which includes user guides on the above topics as well as complete examples explaining how the features can be used.
If you want to contribute to the library, please refer to our contributing guidelines.
You can install this library using:
python -m pip install skops
Please send all your questions and report issues on this repository's issue tracker as an issue. Try to look for existing ones before you create a new one.