Text Classification
Scikit-learn
Joblib
ai-systems
capabilities
reasoning
planning
memory
agents
world-models
verification
reliability
Instructions to use ai-systems/capability-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use ai-systems/capability-classifier with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("ai-systems/capability-classifier", "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: 451 Bytes
c7fe0d5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | from joblib import load
classifier = load("capability-classifier.joblib")
examples = [
"Break a complex objective into subtasks and replan after failure",
"Use a browser and API to complete the task",
"Predict how the environment will change before acting"
]
for text in examples:
label = classifier.predict([text])[0]
confidence = classifier.predict_proba([text])[0].max()
print(f"{text}\n -> {label} ({confidence:.2f})")
|