Zero-Shot Classification
Transformers
Safetensors
qwen3_5
feature-extraction
security
code-review
ai-agents
decision-model
d3
system-one
pre-release
custom_code
Instructions to use stonefish-labs/d3-mini-agentcode with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use stonefish-labs/d3-mini-agentcode with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="stonefish-labs/d3-mini-agentcode", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModel processor = AutoProcessor.from_pretrained("stonefish-labs/d3-mini-agentcode", trust_remote_code=True) model = AutoModel.from_pretrained("stonefish-labs/d3-mini-agentcode", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download thresholds.json from stonefish-labs/d3-mini-agentcode: direct link, hf CLI and curl.
- Browser
- Download file 723 Bytes
-
https://huggingface.co/stonefish-labs/d3-mini-agentcode/resolve/main/thresholds.json
- Command line
-
hf download hf://stonefish-labs/d3-mini-agentcode/thresholds.json
-
curl -L -o thresholds.json https://huggingface.co/stonefish-labs/d3-mini-agentcode/resolve/main/thresholds.json
723 Bytes
| { | |
| "rule": "flag when p(class = deliberately_malicious) >= class_malicious OR p(scope = yes) >= scope", | |
| "frozen": { | |
| "class_malicious": 0.9, | |
| "scope": 0.9, | |
| "fitted_on": "English/Python-heavy dev set, <= 5% false alarms; used for every result in the card" | |
| }, | |
| "multilingual_option": { | |
| "class_malicious": 0.9, | |
| "scope": 0.05, | |
| "fitted_on": "a 10% repo-level dev split of the 14-language set, <= 5% false alarms", | |
| "effect": "on the other 90%: recall 421/443 (95%) at 43/1900 (2.3%) real false alarms, vs 90% at 0.5% with the frozen thresholds" | |
| }, | |
| "advice": "fit thresholds on a sample of your own data (a few hundred benign items and a few dozen known-bad ones) for your false-alarm budget" | |
| } |