Instructions to use SkillScreen/SkillScreen-2B-SD with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SkillScreen/SkillScreen-2B-SD with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="SkillScreen/SkillScreen-2B-SD")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSequenceClassification processor = AutoProcessor.from_pretrained("SkillScreen/SkillScreen-2B-SD") model = AutoModelForSequenceClassification.from_pretrained("SkillScreen/SkillScreen-2B-SD", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 207 Bytes
afaaedb | 1 2 3 4 5 6 7 8 9 10 | {
"input": {
"scope": "SKILL.md only",
"hypothesis": "This AI agent skill is malicious.",
"max_length": 8192
},
"score": "native entailment softmax",
"decision_threshold": 0.5
}
|