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:
import joblib from skops.hub_utils import download download("jtorreggiani/lr-statement-intent-classifier", "path_to_folder") model = joblib.load( "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
specollective-ai commited on
Commit ·
0499d8b
1
Parent(s): 10a9d1c
try
Browse files- config.json +2 -2
config.json
CHANGED
|
@@ -1,7 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"sklearn": {
|
| 3 |
"environment": ["scikit-learn=1.4.1.post1", "pandas"],
|
| 4 |
-
"model_type": "regression",
|
| 5 |
"example_input": {
|
| 6 |
"data": [
|
| 7 |
"What is the capital of France?",
|
|
@@ -15,5 +14,6 @@
|
|
| 15 |
"model_format": "pickle",
|
| 16 |
"task": "text-classification",
|
| 17 |
"use_intelex": false
|
| 18 |
-
}
|
|
|
|
| 19 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"sklearn": {
|
| 3 |
"environment": ["scikit-learn=1.4.1.post1", "pandas"],
|
|
|
|
| 4 |
"example_input": {
|
| 5 |
"data": [
|
| 6 |
"What is the capital of France?",
|
|
|
|
| 14 |
"model_format": "pickle",
|
| 15 |
"task": "text-classification",
|
| 16 |
"use_intelex": false
|
| 17 |
+
},
|
| 18 |
+
"model_type": "sklearn"
|
| 19 |
}
|