killdevil111 commited on
Commit
d09ecaf
·
verified ·
1 Parent(s): 4f16235

Publish final DataShield risk scores

Browse files
.gitattributes CHANGED
@@ -58,3 +58,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ data/alpaca52k.jsonl filter=lfs diff=lfs merge=lfs -text
62
+ data/dolly15k.jsonl filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: DataShield Sample-Level Risk Scores
3
+ language:
4
+ - en
5
+ license: other
6
+ task_categories:
7
+ - text-generation
8
+ tags:
9
+ - safety
10
+ - alignment
11
+ - instruction-tuning
12
+ - data-filtering
13
+ - risk-scoring
14
+ - emnlp
15
+ size_categories:
16
+ - 10K<n<100K
17
+ configs:
18
+ - config_name: dolly15k
19
+ default: true
20
+ data_files:
21
+ - split: train
22
+ path: data/dolly15k.jsonl
23
+ - config_name: alpaca52k
24
+ data_files:
25
+ - split: train
26
+ path: data/alpaca52k.jsonl
27
+ ---
28
+
29
+ # DataShield
30
+
31
+ This dataset releases sample-level risk scores for **DataShield: Uncovering Risky Fine-Tuning Data Across LLMs Through Consensus Subspace Alignment**, accepted to the **EMNLP Main Conference**.
32
+
33
+ For the method, code, and complete documentation, see the [DataShield GitHub repository](https://github.com/ZJU-LLM-Safety/DataShield).
34
+
35
+ <p align="center">
36
+ <img src="assets/framework.png" width="900" alt="DataShield framework">
37
+ </p>
38
+
39
+ ## Dataset configurations
40
+
41
+ | Configuration | Source dataset | Rows |
42
+ | --- | --- | ---: |
43
+ | `dolly15k` | `databricks/databricks-dolly-15k` | 15,011 |
44
+ | `alpaca52k` | `tatsu-lab/alpaca` | 51,974 |
45
+
46
+ ```python
47
+ from datasets import load_dataset
48
+
49
+ dolly = load_dataset("killdevil111/DataShield-Sample-Risk", "dolly15k")
50
+ alpaca = load_dataset("killdevil111/DataShield-Sample-Risk", "alpaca52k")
51
+ ```
52
+
53
+ Each record contains the source instruction-tuning sample and its final DataShield `risk_score`. A higher score indicates a higher estimated fine-tuning risk. The score is intended for ranking and data filtering rather than as a calibrated probability or binary label.
54
+
55
+ ## Citation
56
+
57
+ ```bibtex
58
+ @article{wu2026datashield,
59
+ title={DataShield: Uncovering Risky Fine-Tuning Data Across LLMs Through Consensus Subspace Alignment},
60
+ author={Wu, Zefeng and Qi, Weiwei and Chen, Jielong and Zheng, Tianhang and Hong, Di and Lu, Chaochao and He, Liang and Qin, Zhan and Ren, Kui},
61
+ journal={arXiv preprint arXiv:2607.15081},
62
+ year={2026}
63
+ }
64
+ ```
assets/framework.png ADDED

Git LFS Details

  • SHA256: 28a9bb7a3e18969bad584058f2226772ea2235037b88e466ad3bc571304f7e6e
  • Pointer size: 132 Bytes
  • Size of remote file: 1.44 MB
data/alpaca52k.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ba90556976df3aa44c538f0aaecb4df2fa02f52a54281ef2fe8310ed2dc311a
3
+ size 72080602
data/dolly15k.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cad270b7ebc65380934f6a7a0bef26bf05116a0a72506ca1fea7cb8db37edff4
3
+ size 41321894