The dataset viewer is not available for this subset.
Exception: SplitsNotFoundError
Message: The split names could not be parsed from the dataset config.
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 286, in get_dataset_config_info
for split_generator in builder._split_generators(
~~~~~~~~~~~~~~~~~~~~~~~~~^
StreamingDownloadManager(base_path=builder.base_path, download_config=download_config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/harbor/harbor.py", line 171, in _split_generators
raise DataFilesNotFoundError("No task.toml or instruction.md files found")
datasets.exceptions.DataFilesNotFoundError: No task.toml or instruction.md files found
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/split_names.py", line 68, in compute_split_names_from_streaming_response
for split in get_dataset_split_names(
~~~~~~~~~~~~~~~~~~~~~~~^
path=dataset,
^^^^^^^^^^^^^
config_name=config,
^^^^^^^^^^^^^^^^^^^
token=hf_token,
^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 340, in get_dataset_split_names
info = get_dataset_config_info(
path,
...<6 lines>...
**config_kwargs,
)
File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 291, in get_dataset_config_info
raise SplitsNotFoundError("The split names could not be parsed from the dataset config.") from err
datasets.inspect.SplitsNotFoundError: The split names could not be parsed from the dataset config.Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
Self-Protection — pre-install security gate
A repeatable, documented pre-install gate for deciding what an AI agent may install, download, or run. It is not a sandbox and is not a guarantee of safety — it is a documented workflow that stops the "nobody checked this" class of mistake before it happens.
Rule: nothing gets installed or run without the check first.
This repository carries a package of documentation and small tooling — not tabular data, not training data, and not an evaluation dataset. It is published as a dataset so it can be discovered, browsed, and fetched through the Hugging Face Hub.
What's in the package
| File | Purpose |
|---|---|
SKILL.md |
The gate itself: scan → triage → quarantine → baseline, with an untrusted-content boundary, environment prerequisites, and weight-trust stack |
README.md |
The shareable pitch: building blocks, workflow, limitations, credits |
LICENSE |
MIT — "Self-Protection authors" |
references/scanning-workflow.md |
Detailed SkillSpector scan workflow, false-positive recipes, untrusted-content boundary, accepted-with-guard criteria |
references/fix-recipe.md |
Fix recipe for a CRITICAL-flagged skill (genuine vs. static-parse findings) |
references/extending-scan-tools.md |
How to verify a new quantization format/rule against llama.cpp before extending a scanner |
scripts/weight_stats.py |
DIY per-tensor baseline stats for safetensors files (streaming; baseline write/compare) |
How to use it
- Install the skill — unzip the package and copy
self-protection-skill-share/into the skills root your agent harness uses (one skill dir, e.g.<skills-root>/self-protection/). Any harness that reads SKILL.md-style skill packages can consume it. - Read the gate —
SKILL.mdis the source of truth; the README is the pitch; thereferences/docs carry the detailed workflow. - Run the skill — install the scanners it references (SkillSpector, gguf-radar, ModelAudit) in a persistent tools directory and follow the workflow in
SKILL.md(source check → static scan → triage → quarantine → baseline → provenance + weight baseline → red-team + guardrail). - Use the shipped script —
scripts/weight_stats.pyruns against your own safetensors files locally with stdlib + numpy only:weight_stats.py --write baseline.json <model.safetensors>— record a baseline for a known-good buildweight_stats.py --compare baseline.json <model.safetensors>— diff a candidate (exit 0 = pass, 1 = drift, 2 = error)--skip-unsupportedskips tensors with unsupported dtypes (e.g. F8_E4M3/F8_E5M2) with a recorded reason instead of aborting
Intended use
- AI-agent harnesses that install, load, or review skills, model files, or packages
- Teams that need a repeatable, auditable pre-install gate instead of an ad-hoc "looks fine"
- Any environment that can execute Python 3 with numpy (the shipped script) and shell (for the scanners and the gate itself)
Not intended for: proving a model file is safe (that claim is deliberately not made), or replacing provenance, checksums, or access control. It complements, and never replaces, those.
Known limitations
- Static checks are one-pass. This package does not detect training-level weight poisoning or runtime misbehavior; provenance (pinned source + sha256/signed manifest), behavioral red-teaming, and serve-time guardrails are the layers that do.
- Not every format is covered. gguf-radar's zero-scale dead-block check covers the Q8_0/Q4_0/Q5_0/Q2_K family plus the IQ quant family (IQ2_XXS, IQ2_XS, IQ3_XXS, IQ1_S, IQ4_NL, IQ3_S, IQ2_S, IQ4_XS). Other formats are not statically inspected; rely on checksums and a trusted source for those.
- ModelAudit refuses files > 50 GB — the structural scanner remains tool of record for very large files.
- Baseline stats are per-tensor, not per-channel.
weight_stats.pydetects post-load tampering by relative-diff against a recorded baseline, not training-level poisoning. - The tooling ships as source. No prebuilt binaries, no install scripts, no dependency tree beyond numpy and the scanners/python the host already provides.
- Upstream tools change. Flags and output schemas of SkillSpector / gguf-radar / ModelAudit are not guaranteed stable; verify
--help/--versionbefore relying on them (see the workflow docs).
License
MIT — "Self-Protection authors". See the repository LICENSE file.
The skill also depends on and is credited to these open projects:
- SkillSpector — NVIDIA · Apache 2.0 · https://github.com/NVIDIA/SkillSpector · @nvidia
- gguf-radar — Düzgün (Malspark) · MIT · https://github.com/Root0ne/gguf-radar · @Root0ne
- ModelAudit — promptfoo · MIT · https://github.com/promptfoo/modelaudit · @promptfoo
- garak — Leon Derczynski · Apache 2.0 · https://github.com/NVIDIA/garak · @garak_llm
- llama.cpp — Georgi Gerganov et al. · https://github.com/ggml-org/llama.cpp (reference implementation for layout/dequantizer verification)
How to cite
If you use this package, cite it by name and link to this repository. No formal citation metadata is embedded; a README-linked repository is the intended reference.
Data files
This repository ships no data rows, no labels, and no labeled examples. All content is documentation and one Python script, in plain files, readable without conversion.
Provenance & integrity
- All scans in the documented gate are local and offline; no telemetry, no cloud sharing of results, no remote calls beyond source verification.
- The package intentionally contains no private paths, deployment records, or per-machine artifacts.
- The package is regenerable from the skill itself; only the public-facing documentation is published here, not any environment-specific records.
- Downloads last month
- 45