Skip to content

skops is a Python library helping you share your scikit-learn based models and put them in production

License

Notifications You must be signed in to change notification settings

skops-dev/skops

Repository files navigation

Documentation Linux, macOS, Windows tests Codecov PyPi Black

https://raw.githubusercontent.com/skops-dev/skops/main/docs/images/logo.png

SKOPS

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 through skops.hub_utils.init and skops.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 the README.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 using pickle. 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.

Installation

You can install this library using:

python -m pip install skops

Bug Reports and Questions

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.