Instructions to use SkillJev/SkillJev-2B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SkillJev/SkillJev-2B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="SkillJev/SkillJev-2B")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSequenceClassification processor = AutoProcessor.from_pretrained("SkillJev/SkillJev-2B") model = AutoModelForSequenceClassification.from_pretrained("SkillJev/SkillJev-2B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Restore SkillJev project context and shorten source attribution
Browse files- README.md +9 -11
- checksums.json +34 -34
README.md
CHANGED
|
@@ -8,22 +8,20 @@ datasets:
|
|
| 8 |
- SkillScreen/SkillScreen-Data
|
| 9 |
tags:
|
| 10 |
- skilljev
|
| 11 |
-
- skillscreen
|
| 12 |
- agent-security
|
| 13 |
- decision-model
|
| 14 |
- nli
|
| 15 |
-
- arxiv:2610.17727
|
| 16 |
---
|
| 17 |
|
| 18 |
# SkillJev-2B
|
| 19 |
|
| 20 |
**8K Markdown deployment release · v0.1.0**
|
| 21 |
|
| 22 |
-
SkillJev
|
| 23 |
|
| 24 |
-
|
| 25 |
|
| 26 |
-
|
| 27 |
|
| 28 |
## Run locally
|
| 29 |
|
|
@@ -55,7 +53,7 @@ Each OOF prediction comes from a model trained without that skill's content grou
|
|
| 55 |
|
| 56 |
## Training and input
|
| 57 |
|
| 58 |
-
Initialized from [OpenJev 2B](https://huggingface.co/AlexWortega/openjev/tree/a20448012c213128955ca0c693e7c943865cab77/qwen3.5-2b-nli-v5), then trained for one epoch with seed 42, LoRA rank 8 and a trainable NLI classification head. The final model uses all eligible records from [
|
| 59 |
|
| 60 |
The model pairs the Markdown with the fixed hypothesis “This AI agent skill is malicious.” Its score is the entailment softmax output, not a separately calibrated probability. Inputs beyond 8,192 tokens are truncated while retaining the hypothesis, and truncation is recorded in the output. A low score does not certify a skill or its package as safe.
|
| 61 |
|
|
@@ -63,12 +61,12 @@ The model pairs the Markdown with the fixed hypothesis “This AI agent skill is
|
|
| 63 |
|
| 64 |
## Earlier release
|
| 65 |
|
| 66 |
-
The original SkillJev-Direct SBR experiment remains available at [`v1`](https://huggingface.co/SkillJev/SkillJev-2B/tree/v1), including its weights, calibration and test results.
|
| 67 |
|
| 68 |
-
##
|
| 69 |
|
| 70 |
-
|
| 71 |
|
| 72 |
-
|
| 73 |
|
| 74 |
-
|
|
|
|
| 8 |
- SkillScreen/SkillScreen-Data
|
| 9 |
tags:
|
| 10 |
- skilljev
|
|
|
|
| 11 |
- agent-security
|
| 12 |
- decision-model
|
| 13 |
- nli
|
|
|
|
| 14 |
---
|
| 15 |
|
| 16 |
# SkillJev-2B
|
| 17 |
|
| 18 |
**8K Markdown deployment release · v0.1.0**
|
| 19 |
|
| 20 |
+
SkillJev is a University of Toronto MScAC AI team project in collaboration with TrendAI.
|
| 21 |
|
| 22 |
+
SkillJev-2B screens AI-agent skills from `SKILL.md` and returns a maliciousness score and a review decision in one forward pass.
|
| 23 |
|
| 24 |
+
Complete merged weights, the original LoRA adapter and a local scoring script are included.
|
| 25 |
|
| 26 |
## Run locally
|
| 27 |
|
|
|
|
| 53 |
|
| 54 |
## Training and input
|
| 55 |
|
| 56 |
+
Initialized from [OpenJev 2B](https://huggingface.co/AlexWortega/openjev/tree/a20448012c213128955ca0c693e7c943865cab77/qwen3.5-2b-nli-v5), then trained for one epoch with seed 42, LoRA rank 8 and a trainable NLI classification head. The final model uses all eligible records from [the pinned public training dataset](https://huggingface.co/datasets/SkillScreen/SkillScreen-Data/tree/d59aabbd7e0e8d95b464a2d335f36e948577b832), with labels inherited from the upstream benchmarks.
|
| 57 |
|
| 58 |
The model pairs the Markdown with the fixed hypothesis “This AI agent skill is malicious.” Its score is the entailment softmax output, not a separately calibrated probability. Inputs beyond 8,192 tokens are truncated while retaining the hypothesis, and truncation is recorded in the output. A low score does not certify a skill or its package as safe.
|
| 59 |
|
|
|
|
| 61 |
|
| 62 |
## Earlier release
|
| 63 |
|
| 64 |
+
The original SkillJev-Direct SBR experiment remains available at [`v1`](https://huggingface.co/SkillJev/SkillJev-2B/tree/v1), including its weights, calibration and test results. For **v0.1.0**, use the bundled `scan.py` entry point. The earlier `score.py` and calibration settings belong to `v1`.
|
| 65 |
|
| 66 |
+
## License
|
| 67 |
|
| 68 |
+
Weights, code and configuration are [Apache-2.0](LICENSE) for rights held by the contributors. Documentation and predictions are [CC BY 4.0](LICENSE-CC-BY-4.0). Upstream model and dataset terms remain applicable. See [third-party notices](THIRD_PARTY_NOTICES.md).
|
| 69 |
|
| 70 |
+
## Source and citation
|
| 71 |
|
| 72 |
+
This release uses the unchanged weights, input pipeline and thresholds from [SkillScreen-2B-Markdown v0.1.0](https://huggingface.co/SkillScreen/SkillScreen-2B-Markdown/tree/v0.1.0). Method attribution and paper citation are provided in [CITATION.cff](CITATION.cff).
|
checksums.json
CHANGED
|
@@ -1,34 +1,34 @@
|
|
| 1 |
-
{
|
| 2 |
-
".gitattributes": "34448b82c17d60fec9b65b1f093c115ddbaadc04beb1b0140b6bfed2e012a930",
|
| 3 |
-
"CITATION.cff": "94c19278673b73108c6e5a50a2ec061907a183e0bc53ab4a8bcb30838312e6d0",
|
| 4 |
-
"LICENSE": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30",
|
| 5 |
-
"LICENSE-CC-BY-4.0": "d557539df68e771cc1eedcc91d13f70fca930e508d11eedcafa4b15db49e3744",
|
| 6 |
-
"LICENSE-OPENJEV": "e6ff2f45f5a9a0756196d24ec68714b0375dc5fec0bc466dcc7dce02f442706d",
|
| 7 |
-
"LICENSE-QWEN": "bbedc3fda3305820b977265f01b8619d87570a6739de3a5582c3464840f1e57a",
|
| 8 |
-
"NOTICE": "38da69918d844538eae2cd8e99f11bb33719ca62dcb4b8c5309d95a6b6142f62",
|
| 9 |
-
"README.md": "
|
| 10 |
-
"THIRD_PARTY_NOTICES.md": "0d1a7dc90ca95032098e7fa2662e126f7fcf794390043ed13e656c963adadb44",
|
| 11 |
-
"adapter/README.md": "af4f72e881d37e19bab2180bba14d80fabc9dbd1358bcbb40cbd9f036e22e625",
|
| 12 |
-
"adapter/adapter_config.json": "08d3ecae6fb926088e4db85c5232be1dc84e554b9ce65ce4ab9970f528521630",
|
| 13 |
-
"adapter/adapter_model.safetensors": "da4424a0b6091820866e767769d82bca1c717bd7f488b484f766353d6ca6f48b",
|
| 14 |
-
"chat_template.jinja": "273d8e0e683b885071fb17e08d71e5f2a5ddfb5309756181681de4f5a1822d80",
|
| 15 |
-
"config.json": "2ff7404369a6c8efbef3da39842aeceaf91d5eeb053df51b38b0c68be07320e3",
|
| 16 |
-
"deployment_settings.json": "14ded867c8046e77360ff6251fcb0b4b944af4be773cdc7cbc55d00591df9f4b",
|
| 17 |
-
"evaluation-oof.csv": "935e97b51798f6b553da87c4cc0738510a7575c14b0fe4bc6db2726145baa888",
|
| 18 |
-
"evaluation.json": "0ec048e245ea30370b2fc615d1869d2cc25c4f9053f184a592f13460e5fa20bb",
|
| 19 |
-
"examples/local-inventory/SKILL.md": "89085ea9e08c843bd9670320ef01b7ff71db4596b4296a2ba2842b22f8d6a2e4",
|
| 20 |
-
"examples/local-inventory/references/output.md": "09914cee180a4e792357afb4dc14c622b14243e702ea18ff61b4e4868f5c650e",
|
| 21 |
-
"examples/local-inventory/requirements.txt": "53f5633bc406ce79d5224ef9656f8bef17b108298c4fdcb06c2b0e0e6d9d3e11",
|
| 22 |
-
"examples/local-inventory/scripts/inventory.py": "915c6a74c66a3214de7a53eda74c3cf5c0b3c3d3a6bd82f9393dff919ed00328",
|
| 23 |
-
"model.safetensors": "4b02bba1c37cabf85d09edd8757bd30abcf7ce57b6ba2d13c5831b4a7c7fafeb",
|
| 24 |
-
"requirements/inference.txt": "c8c8b41a2b26eaa19481575a17ec6d436e273ae6ef8f922bfdfcca5fbfb97094",
|
| 25 |
-
"scan.py": "7ec9f49ffbf57b87af5897a388e1f895161f17137e10640f826f527f09f1b1d2",
|
| 26 |
-
"scripts/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
| 27 |
-
"scripts/check_dependencies.py": "9e34b071a3c1b8065dabbb33f9808ec7f777f4c01434a06f180a2f50dd3d6b13",
|
| 28 |
-
"scripts/model_score.py": "0ee39d340954e04da9e92f8b94bc111107f1c968aad3022cb3bebaed7436139d",
|
| 29 |
-
"scripts/package_inputs.py": "352fbd1bfe0da57ae17fddb7fd323c123996ee72df39af517009c8a37117c000",
|
| 30 |
-
"scripts/skill_package.py": "de2572e85de55110883aec3fe84b59ba2525b6946ad2f7b996e306edcca525b2",
|
| 31 |
-
"tokenizer.json": "f399b3cd12fa270d51457bb749fb30863521e8359b8a27059c71b6c2f7d6dd6c",
|
| 32 |
-
"tokenizer_config.json": "1b4aa963b7ff602051283ab9d794c44e4a3b65a806668a66e2312f1b641c0caa",
|
| 33 |
-
"training_config.json": "fd6014851d7979ddb5fa57151fa748f36fa79c5c01d0b15f0033829f9722d543"
|
| 34 |
-
}
|
|
|
|
| 1 |
+
{
|
| 2 |
+
".gitattributes": "34448b82c17d60fec9b65b1f093c115ddbaadc04beb1b0140b6bfed2e012a930",
|
| 3 |
+
"CITATION.cff": "94c19278673b73108c6e5a50a2ec061907a183e0bc53ab4a8bcb30838312e6d0",
|
| 4 |
+
"LICENSE": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30",
|
| 5 |
+
"LICENSE-CC-BY-4.0": "d557539df68e771cc1eedcc91d13f70fca930e508d11eedcafa4b15db49e3744",
|
| 6 |
+
"LICENSE-OPENJEV": "e6ff2f45f5a9a0756196d24ec68714b0375dc5fec0bc466dcc7dce02f442706d",
|
| 7 |
+
"LICENSE-QWEN": "bbedc3fda3305820b977265f01b8619d87570a6739de3a5582c3464840f1e57a",
|
| 8 |
+
"NOTICE": "38da69918d844538eae2cd8e99f11bb33719ca62dcb4b8c5309d95a6b6142f62",
|
| 9 |
+
"README.md": "468be3e356927cdbdf87f5787aa5f97d6312767bf1f57d25cd097c045193bed9",
|
| 10 |
+
"THIRD_PARTY_NOTICES.md": "0d1a7dc90ca95032098e7fa2662e126f7fcf794390043ed13e656c963adadb44",
|
| 11 |
+
"adapter/README.md": "af4f72e881d37e19bab2180bba14d80fabc9dbd1358bcbb40cbd9f036e22e625",
|
| 12 |
+
"adapter/adapter_config.json": "08d3ecae6fb926088e4db85c5232be1dc84e554b9ce65ce4ab9970f528521630",
|
| 13 |
+
"adapter/adapter_model.safetensors": "da4424a0b6091820866e767769d82bca1c717bd7f488b484f766353d6ca6f48b",
|
| 14 |
+
"chat_template.jinja": "273d8e0e683b885071fb17e08d71e5f2a5ddfb5309756181681de4f5a1822d80",
|
| 15 |
+
"config.json": "2ff7404369a6c8efbef3da39842aeceaf91d5eeb053df51b38b0c68be07320e3",
|
| 16 |
+
"deployment_settings.json": "14ded867c8046e77360ff6251fcb0b4b944af4be773cdc7cbc55d00591df9f4b",
|
| 17 |
+
"evaluation-oof.csv": "935e97b51798f6b553da87c4cc0738510a7575c14b0fe4bc6db2726145baa888",
|
| 18 |
+
"evaluation.json": "0ec048e245ea30370b2fc615d1869d2cc25c4f9053f184a592f13460e5fa20bb",
|
| 19 |
+
"examples/local-inventory/SKILL.md": "89085ea9e08c843bd9670320ef01b7ff71db4596b4296a2ba2842b22f8d6a2e4",
|
| 20 |
+
"examples/local-inventory/references/output.md": "09914cee180a4e792357afb4dc14c622b14243e702ea18ff61b4e4868f5c650e",
|
| 21 |
+
"examples/local-inventory/requirements.txt": "53f5633bc406ce79d5224ef9656f8bef17b108298c4fdcb06c2b0e0e6d9d3e11",
|
| 22 |
+
"examples/local-inventory/scripts/inventory.py": "915c6a74c66a3214de7a53eda74c3cf5c0b3c3d3a6bd82f9393dff919ed00328",
|
| 23 |
+
"model.safetensors": "4b02bba1c37cabf85d09edd8757bd30abcf7ce57b6ba2d13c5831b4a7c7fafeb",
|
| 24 |
+
"requirements/inference.txt": "c8c8b41a2b26eaa19481575a17ec6d436e273ae6ef8f922bfdfcca5fbfb97094",
|
| 25 |
+
"scan.py": "7ec9f49ffbf57b87af5897a388e1f895161f17137e10640f826f527f09f1b1d2",
|
| 26 |
+
"scripts/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
| 27 |
+
"scripts/check_dependencies.py": "9e34b071a3c1b8065dabbb33f9808ec7f777f4c01434a06f180a2f50dd3d6b13",
|
| 28 |
+
"scripts/model_score.py": "0ee39d340954e04da9e92f8b94bc111107f1c968aad3022cb3bebaed7436139d",
|
| 29 |
+
"scripts/package_inputs.py": "352fbd1bfe0da57ae17fddb7fd323c123996ee72df39af517009c8a37117c000",
|
| 30 |
+
"scripts/skill_package.py": "de2572e85de55110883aec3fe84b59ba2525b6946ad2f7b996e306edcca525b2",
|
| 31 |
+
"tokenizer.json": "f399b3cd12fa270d51457bb749fb30863521e8359b8a27059c71b6c2f7d6dd6c",
|
| 32 |
+
"tokenizer_config.json": "1b4aa963b7ff602051283ab9d794c44e4a3b65a806668a66e2312f1b641c0caa",
|
| 33 |
+
"training_config.json": "fd6014851d7979ddb5fa57151fa748f36fa79c5c01d0b15f0033829f9722d543"
|
| 34 |
+
}
|