Text Classification
Scikit-learn
Joblib
English
intent-classification
logistic-regression
conference-talk-demo
Instructions to use thinktecture/intent-logreg-nextera with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use thinktecture/intent-logreg-nextera with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("thinktecture/intent-logreg-nextera", "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: 346 Bytes
7d6846c 1db51b1 7d6846c 1db51b1 7d6846c 1db51b1 7d6846c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | {
"classes": [
"direct_answer",
"rag_query",
"tool_use"
],
"embedding_dim": 768,
"n_training_examples": 2110,
"label_distribution": {
"rag_query": 710,
"direct_answer": 569,
"tool_use": 831
},
"cv_accuracy_mean": 0.9345971563981041,
"holdout_accuracy": 1.0,
"n_holdout_examples": 36,
"max_iter": 1000
} |