Skip to main content

A set of tools to push scikit-learn based models to and pull from Hugging Face Hub

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

skops-0.7.post0.tar.gz (79.9 kB view hashes)

Uploaded Source

Built Distribution

skops-0.7.post0-py3-none-any.whl (91.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page