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
Wrap model description for readability
Browse files
README.md
CHANGED
|
@@ -1,46 +1,47 @@
|
|
| 1 |
-
---
|
| 2 |
-
library_name: transformers
|
| 3 |
-
pipeline_tag: text-classification
|
| 4 |
-
license: other
|
| 5 |
-
license_name: skillscreen-proprietary
|
| 6 |
-
license_link: LICENSE
|
| 7 |
-
base_model: AlexWortega/openjev
|
| 8 |
-
datasets:
|
| 9 |
-
- ProtectSkills/MaliciousSkillBench
|
| 10 |
-
tags:
|
| 11 |
-
- skillscreen
|
| 12 |
-
- agent-security
|
| 13 |
-
- nli
|
| 14 |
-
- experimental
|
| 15 |
-
---
|
| 16 |
-
|
| 17 |
-
# SkillScreen-2B-Package-Experimental
|
| 18 |
-
|
| 19 |
-
Experimental 2B decision model for `SKILL.md` **and related file contents**.
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
pipeline_tag: text-classification
|
| 4 |
+
license: other
|
| 5 |
+
license_name: skillscreen-proprietary
|
| 6 |
+
license_link: LICENSE
|
| 7 |
+
base_model: AlexWortega/openjev
|
| 8 |
+
datasets:
|
| 9 |
+
- ProtectSkills/MaliciousSkillBench
|
| 10 |
+
tags:
|
| 11 |
+
- skillscreen
|
| 12 |
+
- agent-security
|
| 13 |
+
- nli
|
| 14 |
+
- experimental
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# SkillScreen-2B-Package-Experimental
|
| 18 |
+
|
| 19 |
+
Experimental 2B decision model for `SKILL.md` **and related file contents**.
|
| 20 |
+
Trained on the recovered SRC010 package cohort with a 32K input budget.
|
| 21 |
+
|
| 22 |
+
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/`.
|
| 23 |
+
|
| 24 |
+
## Use
|
| 25 |
+
|
| 26 |
+
Requires CUDA with BF16 support.
|
| 27 |
+
|
| 28 |
+
```bash
|
| 29 |
+
pip install huggingface_hub
|
| 30 |
+
hf download SkillScreen/SkillScreen-2B-Package-Experimental --revision v1 --local-dir skillscreen
|
| 31 |
+
pip install -r skillscreen/requirements.txt
|
| 32 |
+
python skillscreen/score.py path/to/package.json
|
| 33 |
+
```
|
| 34 |
+
|
| 35 |
+
Native maliciousness score **≥ 0.5** is flagged as suspicious.
|
| 36 |
+
|
| 37 |
+
`package.json` contains Markdown and companion file text.
|
| 38 |
+
|
| 39 |
+
```json
|
| 40 |
+
{"skill_text": "Contents of SKILL.md", "files": [{"path": "scripts/helper.py", "text": "File contents"}]}
|
| 41 |
+
```
|
| 42 |
+
|
| 43 |
+
[Checkpoint details](provenance.json) · [Export verification](merge_verification.json) · [Project page](https://jerroldh.github.io/SkillScreen-webpage/) · [Code](https://github.com/JerroldH/SkillScreen)
|
| 44 |
+
|
| 45 |
+
Jerrold Huang, Junwei Quan, Saiyue Lyu, Zihan Guo, Yingqiang Ge.
|
| 46 |
+
|
| 47 |
+
[License](LICENSE) · [Third-party notices](THIRD_PARTY_NOTICES.md)
|