Instructions to use svnfs/rfc-alias with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use svnfs/rfc-alias with Scikit-learn:
from skops.hub_utils import download from skops.io import load download("svnfs/rfc-alias", "path_to_folder") # make sure model file is in skops format # if model is a pickle file, make sure it's from a source you trust model = load("path_to_folder/rfc.pkl") - Notebooks
- Google Colab
- Kaggle
| { | |
| "sklearn": { | |
| "columns": [ | |
| "x0", | |
| "x1", | |
| "x2", | |
| "x3" | |
| ], | |
| "environment": [ | |
| "scikit-learn=1.1.3" | |
| ], | |
| "example_input": { | |
| "x0": [ | |
| 5.8, | |
| 6.0, | |
| 5.5 | |
| ], | |
| "x1": [ | |
| 2.8, | |
| 2.2, | |
| 4.2 | |
| ], | |
| "x2": [ | |
| 5.1, | |
| 4.0, | |
| 1.4 | |
| ], | |
| "x3": [ | |
| 2.4, | |
| 1.0, | |
| 0.2 | |
| ] | |
| }, | |
| "model": { | |
| "file": "rfc.pkl" | |
| }, | |
| "task": "tabular-classification" | |
| } | |
| } |