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
File size: 1,079 Bytes
21a9138 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | {
"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)?"
}
} |