Instructions to use skops-tests/iris-sklearn-1.0.2-logistic_regression-with-config with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use skops-tests/iris-sklearn-1.0.2-logistic_regression-with-config with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("skops-tests/iris-sklearn-1.0.2-logistic_regression-with-config", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from skops-tests/iris-sklearn-1.0.2-logistic_regression-with-config: direct link, hf CLI and curl.
- Browser
- Download file 851 Bytes
-
https://huggingface.co/skops-tests/iris-sklearn-1.0.2-logistic_regression-with-config/resolve/main/config.json
- Command line
-
hf download hf://skops-tests/iris-sklearn-1.0.2-logistic_regression-with-config/config.json
-
curl -L -o config.json https://huggingface.co/skops-tests/iris-sklearn-1.0.2-logistic_regression-with-config/resolve/main/config.json
851 Bytes
| { | |
| "sklearn": { | |
| "columns": [ | |
| "sepal length (cm)", | |
| "sepal width (cm)", | |
| "petal length (cm)", | |
| "petal width (cm)" | |
| ], | |
| "environment": [ | |
| "scikit-learn=1.0.2" | |
| ], | |
| "example_input": { | |
| "petal length (cm)": [ | |
| 4.7, | |
| 1.7, | |
| 6.9 | |
| ], | |
| "petal width (cm)": [ | |
| 1.2, | |
| 0.3, | |
| 2.3 | |
| ], | |
| "sepal length (cm)": [ | |
| 6.1, | |
| 5.7, | |
| 7.7 | |
| ], | |
| "sepal width (cm)": [ | |
| 2.8, | |
| 3.8, | |
| 2.6 | |
| ] | |
| }, | |
| "model": { | |
| "file": "skops-qey2r628.pkl" | |
| }, | |
| "task": "tabular-classification" | |
| } | |
| } |