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
Keep model card concise
Browse files
README.md
CHANGED
|
@@ -16,32 +16,31 @@ tags:
|
|
| 16 |
|
| 17 |
# SkillScreen-2B-Package-Experimental
|
| 18 |
|
| 19 |
-
Experimental
|
| 20 |
|
| 21 |
-
|
| 22 |
|
| 23 |
## Use
|
| 24 |
|
| 25 |
-
CUDA with BF16 support.
|
| 26 |
|
| 27 |
```bash
|
| 28 |
-
pip install
|
| 29 |
-
hf download SkillScreen/SkillScreen-2B-Package-Experimental --local-dir skillscreen
|
|
|
|
| 30 |
python skillscreen/score.py path/to/package.json
|
| 31 |
```
|
| 32 |
|
| 33 |
-
|
| 34 |
|
| 35 |
-
`package.json`
|
| 36 |
|
| 37 |
```json
|
| 38 |
{"skill_text": "Contents of SKILL.md", "files": [{"path": "scripts/helper.py", "text": "File contents"}]}
|
| 39 |
```
|
| 40 |
|
| 41 |
-
[Project page](https://jerroldh.github.io/SkillScreen-webpage/) · [Code](https://github.com/JerroldH/SkillScreen)
|
| 42 |
|
| 43 |
-
|
| 44 |
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
SkillScreen-authored material is subject to `LICENSE`. Upstream rights and notices remain applicable.
|
|
|
|
| 16 |
|
| 17 |
# SkillScreen-2B-Package-Experimental
|
| 18 |
|
| 19 |
+
Experimental 2B decision model for `SKILL.md` and related file contents. Trained on the recovered SRC010 package cohort with a 32K 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-Package-Experimental --revision v1 --local-dir skillscreen
|
| 30 |
+
pip install -r skillscreen/requirements.txt
|
| 31 |
python skillscreen/score.py path/to/package.json
|
| 32 |
```
|
| 33 |
|
| 34 |
+
Native maliciousness score **≥ 0.5** is flagged as suspicious.
|
| 35 |
|
| 36 |
+
`package.json` contains Markdown and companion file text.
|
| 37 |
|
| 38 |
```json
|
| 39 |
{"skill_text": "Contents of SKILL.md", "files": [{"path": "scripts/helper.py", "text": "File contents"}]}
|
| 40 |
```
|
| 41 |
|
| 42 |
+
[Checkpoint details](provenance.json) · [Export verification](merge_verification.json) · [Project page](https://jerroldh.github.io/SkillScreen-webpage/) · [Code](https://github.com/JerroldH/SkillScreen)
|
| 43 |
|
| 44 |
+
Jerrold Huang, Junwei Quan, Saiyue Lyu, Zihan Guo, Yingqiang Ge.
|
| 45 |
|
| 46 |
+
[License](LICENSE) · [Third-party notices](THIRD_PARTY_NOTICES.md)
|
|
|
|
|
|