Instructions to use jtorreggiani/lr-statement-intent-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use jtorreggiani/lr-statement-intent-classifier with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("jtorreggiani/lr-statement-intent-classifier", "custom_model.pkl") ) # 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
Download config.json from jtorreggiani/lr-statement-intent-classifier: direct link, hf CLI and curl.
- Browser
- Download file 445 Bytes
-
https://huggingface.co/jtorreggiani/lr-statement-intent-classifier/resolve/main/config.json
- Command line
-
hf download hf://jtorreggiani/lr-statement-intent-classifier/config.json
-
curl -L -o config.json https://huggingface.co/jtorreggiani/lr-statement-intent-classifier/resolve/main/config.json
445 Bytes
| { | |
| "sklearn": { | |
| "environment": ["scikit-learn=1.4.1.post1", "pandas"], | |
| "example_input": { | |
| "data": [ | |
| "What is the capital of France?", | |
| "I am feeling very tired today.", | |
| "Please turn off the lights before leaving." | |
| ] | |
| }, | |
| "model": { | |
| "file": "custom_model.pkl" | |
| }, | |
| "model_format": "pickle", | |
| "task": "text-classification", | |
| "use_intelex": false | |
| }, | |
| "model_type": "sklearn" | |
| } | |