Instructions to use SkillScreen/SkillScreen-2B-SBR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SkillScreen/SkillScreen-2B-SBR with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="SkillScreen/SkillScreen-2B-SBR")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSequenceClassification processor = AutoProcessor.from_pretrained("SkillScreen/SkillScreen-2B-SBR") model = AutoModelForSequenceClassification.from_pretrained("SkillScreen/SkillScreen-2B-SBR", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add link to paper
#1
by nielsr HF Staff - opened
README.md
CHANGED
|
@@ -1,40 +1,42 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
tags:
|
| 11 |
-
- skillscreen
|
| 12 |
-
- agent-security
|
| 13 |
-
- nli
|
| 14 |
-
- sbr
|
| 15 |
-
---
|
| 16 |
-
|
| 17 |
-
# SkillScreen-2B-SBR
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
pip install
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: AlexWortega/openjev
|
| 3 |
+
datasets:
|
| 4 |
+
- ProtectSkills/MaliciousSkillBench
|
| 5 |
+
library_name: transformers
|
| 6 |
+
license: other
|
| 7 |
+
license_name: skillscreen-proprietary
|
| 8 |
+
license_link: LICENSE
|
| 9 |
+
pipeline_tag: text-classification
|
| 10 |
+
tags:
|
| 11 |
+
- skillscreen
|
| 12 |
+
- agent-security
|
| 13 |
+
- nli
|
| 14 |
+
- sbr
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# SkillScreen-2B-SBR
|
| 18 |
+
|
| 19 |
+
This model is described in the paper: [SkillScreen: High-Recall Screening of Malicious Agent Skills with Decision Models](https://huggingface.co/papers/2610.17727).
|
| 20 |
+
|
| 21 |
+
2B decision model for detecting malicious agent skills from `SKILL.md`. Trained on MaliciousSkillBench using Source-Balanced Random (SBR), with an 8K input budget.
|
| 22 |
+
|
| 23 |
+
Based on [OpenJev 2B](https://huggingface.co/AlexWortega/openjev). Full weights are at the root. The original LoRA adapter and classification head are in `adapter/`.
|
| 24 |
+
|
| 25 |
+
## Use
|
| 26 |
+
|
| 27 |
+
Requires CUDA with BF16 support.
|
| 28 |
+
|
| 29 |
+
```bash
|
| 30 |
+
pip install huggingface_hub
|
| 31 |
+
hf download SkillScreen/SkillScreen-2B-SBR --revision v1 --local-dir skillscreen
|
| 32 |
+
pip install -r skillscreen/requirements.txt
|
| 33 |
+
python skillscreen/score.py path/to/SKILL.md
|
| 34 |
+
```
|
| 35 |
+
|
| 36 |
+
Native maliciousness score **≥ 0.5** is flagged as suspicious.
|
| 37 |
+
|
| 38 |
+
[Checkpoint details](provenance.json) · [Export verification](merge_verification.json) · [Project page](https://jerroldh.github.io/SkillScreen-webpage/) · [Code](https://github.com/JerroldH/SkillScreen)
|
| 39 |
+
|
| 40 |
+
Jerrold Huang, Junwei Quan, Saiyue Lyu, Zihan Guo, Yingqiang Ge.
|
| 41 |
+
|
| 42 |
+
[License](LICENSE) · [Third-party notices](THIRD_PARTY_NOTICES.md)
|