Instructions to use SkillScreen/SkillScreen-2B-Package-Experimental with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SkillScreen/SkillScreen-2B-Package-Experimental with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="SkillScreen/SkillScreen-2B-Package-Experimental")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSequenceClassification processor = AutoProcessor.from_pretrained("SkillScreen/SkillScreen-2B-Package-Experimental") model = AutoModelForSequenceClassification.from_pretrained("SkillScreen/SkillScreen-2B-Package-Experimental", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download scoring_config.json from SkillScreen/SkillScreen-2B-Package-Experimental: direct link, hf CLI and curl.
- Browser
- Download file 227 Bytes
-
https://huggingface.co/SkillScreen/SkillScreen-2B-Package-Experimental/resolve/main/scoring_config.json
- Command line
-
hf download hf://SkillScreen/SkillScreen-2B-Package-Experimental/scoring_config.json
-
curl -L -o scoring_config.json https://huggingface.co/SkillScreen/SkillScreen-2B-Package-Experimental/resolve/main/scoring_config.json
227 Bytes
| { | |
| "input": { | |
| "scope": "SKILL.md + related file contents", | |
| "hypothesis": "This AI agent skill is malicious.", | |
| "max_length": 32768 | |
| }, | |
| "score": "native entailment softmax", | |
| "decision_threshold": 0.5 | |
| } | |