Create README.md
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108---license: otherlicense_name: multiple-source-licenseslicense_link: https://huggingface.co/datasets/Offensive-AI-Lab/prism-training-dataset#licenselanguage:- entask_categories:- text-generationpretty_name: PRISM training datasetsize_categories:- 100K<n<1M---
# PRISM training dataset
This is the training dataset for *PRISM: Recovering Instruction Sets fromLanguage Model Activations*. Each record pairs an instruction-rich prompt witha Qwen3.5-9B response and a generated list of the instructions in the prompt.The released validity mask selects the records used to train the publishedcheckpoints.
## Contents
| Source key | Upstream dataset | Records | Source license ||---|---|---:|---|| `if_eval` | [google/IFEval](https://huggingface.co/datasets/google/IFEval) | 492 | Apache-2.0 || `if_multi_constraints` | [allenai/IF_multi_constraints_upto5](https://huggingface.co/datasets/allenai/IF_multi_constraints_upto5) | 77,002 | ODC-By-1.0 || `ultrachat` | [HuggingFaceH4/ultrachat_200k](https://huggingface.co/datasets/HuggingFaceH4/ultrachat_200k) | 200,002 | MIT |
The three JSONL files contain 277,496 records. `valid_record_ids.json` selects203,589 records after label-quality filtering. `source_inventory.json` recordsthe upstream URLs, revisions, licenses, included fields, and transformations.
Each JSONL record has:
| Field | Description ||---|---|| `id` | Stable record identifier || `source_dataset` | Source key from the table above || `prompt` | Instruction-rich user request || `response` | Response generated by Qwen3.5-9B || `instruction_set` | Generated instruction labels as a bulleted string || `metadata` | Generation metadata, including `paraphrase_group_id` where applicable |
## Construction
Qwen3.5-9B generated both `response` and `instruction_set`. Instruction labelswere generated from the prompt alone at temperature 0.3. Rule-based checks andan LLM judge filtered malformed or incomplete labels; this was label-qualityfiltering, not content-safety filtering.
The training loaders split the complete records before applying the validitymask. They use sorted input files, seed 42, validation and test ratios of 0.1,and keep shared `paraphrase_group_id` values in one split. After masking:
| Split | Records ||---|---:|| Train | 162,821 || Validation | 20,410 || Test | 20,358 |
Keep the JSONL files and validity mask together; removing rejected recordsbefore splitting changes membership. The exact validation procedure is in the[`prism` repository](https://github.com/Offensive-AI-Lab/prism/blob/main/scripts/check_dataset.py).
## Intended use
The dataset supports training and studying activation-conditioned instructionrecovery. It is the released input to the PRISM SFT and GRPO training recipes.The repository also contains scripts for generating a new sample, but newlygenerated records will not reproduce this release exactly.
## Limitations
The data are primarily English. Responses and labels can contain Qwen3.5-9Berrors, omissions, or biases. The validity mask also applies to the validationand test splits, so these splits measure performance on records accepted by thesame label-quality process.
## License
This is a multi-license dataset. The `prompt` field retains the terms of itssource dataset:
- `if_eval`: Apache-2.0- `if_multi_constraints`: ODC-By-1.0- `ultrachat`: MIT
The PRISM authors release the project-generated `response`, `instruction_set`,metadata, and validity mask under Apache-2.0 to the extent that they hold theapplicable rights. This does not replace the source terms. TheIF Multi-Constraints card also notes that some records contain third-partymodel output subject to separate terms. Consult `source_inventory.json` beforeredistributing a subset.
## Citation
```bibtex@inproceedings{gressel2026prism, title = {PRISM: Recovering Instruction Sets from Language Model Activations}, author = {Gressel, Gilad and Pankajakshan, Rahul and Diament, Julia and Hudis, Efim and Achuthan, Krishnashree and Mirsky, Yisroel}, booktitle = {Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing}, year = {2026}, url = {https://arxiv.org/abs/2606.09563}}```README.mdAdded+108