Instructions to use Zipeng365/WISP with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use Zipeng365/WISP with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("Zipeng365/WISP", "sklearn_model.joblib") ) # only load pickle files from sources you trust # read more about it here https://skops.readthedocs.io/en/stable/persistence.html - Notebooks
- Google Colab
- Kaggle
File size: 808 Bytes
4731b11 93a9282 4731b11 93a9282 4731b11 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | """Fitted search checkpoints from the Hub (planned for a later version).
This version publishes recipes only; every recipe is fitted by the user. The retained
WISP-Random/WISP-Evolution checkpoints can already be loaded from local files with
``wisp_release.load_checkpoint(path, trust_pickle=True, expected_sha256=...)`` (see
docs/CHECKPOINTS.md); the frozen kernel module paths stay importable for that reason.
"""
from __future__ import annotations
__all__ = ["load_pretrained"]
def load_pretrained(*args, **kwargs):
raise NotImplementedError(
"wisp.hub.load_pretrained is planned for a later version. For now fit a recipe with "
"WISPClassifier, or load a downloaded retained checkpoint with "
"wisp_release.load_checkpoint(path, trust_pickle=True, expected_sha256=...).")
|