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 questions.json from stonefish-labs/d3-mini-agentcode: direct link, hf CLI and curl.
- Browser
- Download file 1.08 kB
-
https://huggingface.co/stonefish-labs/d3-mini-agentcode/resolve/main/questions.json
- Command line
-
hf download hf://stonefish-labs/d3-mini-agentcode/questions.json
-
curl -L -o questions.json https://huggingface.co/stonefish-labs/d3-mini-agentcode/resolve/main/questions.json
1.08 kB
| { | |
| "class": { | |
| "type": "choice", | |
| "instructions": "Which description best fits this package?", | |
| "criteria": { | |
| "benign": "works as documented; no deliberate harm and no significant defect", | |
| "accidental_defect": "an unintentional mistake causes wrong or unsafe behavior", | |
| "deliberately_malicious": "behavior intentionally designed to harm or deceive the user or operator", | |
| "insufficient_context": "cannot be decided from the provided material" | |
| } | |
| }, | |
| "intent": { | |
| "type": "noul", | |
| "instructions": "Does this package contain behavior that its author deliberately designed to act against the user or operator without disclosure (for example a hidden trigger, covert data transfer, concealed code execution, or sabotage)?" | |
| }, | |
| "scope": { | |
| "type": "noul", | |
| "instructions": "Does this change do something security-relevant that the stated task does not call for (for example network access, handling credentials or secrets, executing downloaded or generated code, persistence, weakening security settings, or deleting data)?" | |
| } | |
| } |