Text Classification
Scikit-learn
shell-security
shell-risk
bash
powershell
cmd
coding-agents
tf-idf
logistic-regression
cpu
research
Instructions to use patronus-studio/cat-shell-risk-commander with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use patronus-studio/cat-shell-risk-commander with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("patronus-studio/cat-shell-risk-commander", "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
Add private Cat Shell Risk Commander preview with verified JSON inference and model card
fddb730 verified Download validation.json from patronus-studio/cat-shell-risk-commander: direct link, hf CLI and curl.
- Browser
- Download file 587 Bytes
-
https://huggingface.co/patronus-studio/cat-shell-risk-commander/resolve/main/validation.json
- Command line
-
hf download hf://patronus-studio/cat-shell-risk-commander/validation.json
-
curl -L -o validation.json https://huggingface.co/patronus-studio/cat-shell-risk-commander/resolve/main/validation.json
587 Bytes
| { | |
| "reference": "Saved linear_updated_all_scores.npz; complete held-out POSIX/PowerShell/CMD command test", | |
| "examples": 918, | |
| "score_rtol": 1e-06, | |
| "score_atol": 1e-06, | |
| "max_absolute_score_error": 1.7763568394002505e-14, | |
| "decision_changes": { | |
| "original_val_f1": 0, | |
| "original_val_1pct_fpr": 0, | |
| "combined_val_f1": 0, | |
| "external_commands_1pct_fpr": 0, | |
| "exploratory_multigroup_0_5pct_fpr": 0 | |
| }, | |
| "default_policy_confusion_matrix": { | |
| "tp": 321, | |
| "fn": 53, | |
| "fp": 5, | |
| "tn": 539 | |
| }, | |
| "runtime": { | |
| "python": "3.14.2", | |
| "numpy": "2.5.3" | |
| } | |
| } | |