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
Keep model card concise
Browse files
README.md
CHANGED
|
@@ -16,26 +16,25 @@ tags:
|
|
| 16 |
|
| 17 |
# SkillScreen-2B-SBR
|
| 18 |
|
| 19 |
-
|
| 20 |
|
| 21 |
-
|
| 22 |
|
| 23 |
## Use
|
| 24 |
|
| 25 |
-
CUDA with BF16 support.
|
| 26 |
|
| 27 |
```bash
|
| 28 |
-
pip install
|
| 29 |
-
hf download SkillScreen/SkillScreen-2B-SBR --local-dir skillscreen
|
|
|
|
| 30 |
python skillscreen/score.py path/to/SKILL.md
|
| 31 |
```
|
| 32 |
|
| 33 |
-
|
| 34 |
|
| 35 |
-
[Project page](https://jerroldh.github.io/SkillScreen-webpage/) · [Code](https://github.com/JerroldH/SkillScreen)
|
| 36 |
|
| 37 |
-
|
| 38 |
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
SkillScreen-authored material is subject to `LICENSE`. Upstream rights and notices remain applicable.
|
|
|
|
| 16 |
|
| 17 |
# SkillScreen-2B-SBR
|
| 18 |
|
| 19 |
+
2B decision model for detecting malicious agent skills from `SKILL.md`. Trained on MaliciousSkillBench using Source-Balanced Random (SBR), with an 8K input budget.
|
| 20 |
|
| 21 |
+
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/`.
|
| 22 |
|
| 23 |
## Use
|
| 24 |
|
| 25 |
+
Requires CUDA with BF16 support.
|
| 26 |
|
| 27 |
```bash
|
| 28 |
+
pip install huggingface_hub
|
| 29 |
+
hf download SkillScreen/SkillScreen-2B-SBR --revision v1 --local-dir skillscreen
|
| 30 |
+
pip install -r skillscreen/requirements.txt
|
| 31 |
python skillscreen/score.py path/to/SKILL.md
|
| 32 |
```
|
| 33 |
|
| 34 |
+
Native maliciousness score **≥ 0.5** is flagged as suspicious.
|
| 35 |
|
| 36 |
+
[Checkpoint details](provenance.json) · [Export verification](merge_verification.json) · [Project page](https://jerroldh.github.io/SkillScreen-webpage/) · [Code](https://github.com/JerroldH/SkillScreen)
|
| 37 |
|
| 38 |
+
Jerrold Huang, Junwei Quan, Saiyue Lyu, Zihan Guo, Yingqiang Ge.
|
| 39 |
|
| 40 |
+
[License](LICENSE) · [Third-party notices](THIRD_PARTY_NOTICES.md)
|
|
|
|
|
|