ClaudioSavelli commited on
Commit
b8ab509
·
verified ·
1 Parent(s): 708c7e3

Document TOFU identity derivation and source anomaly

Browse files
Files changed (1) hide show
  1. README.md +78 -0
README.md CHANGED
@@ -1,4 +1,14 @@
1
  ---
 
 
 
 
 
 
 
 
 
 
2
  dataset_info:
3
  config_name: full
4
  features:
@@ -20,3 +30,71 @@ configs:
20
  - split: train
21
  path: full/train-*
22
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: mit
3
+ language:
4
+ - en
5
+ pretty_name: TOFU with author identity names
6
+ task_categories:
7
+ - question-answering
8
+ tags:
9
+ - unlearning
10
+ - tofu
11
+ - question-answering
12
  dataset_info:
13
  config_name: full
14
  features:
 
30
  - split: train
31
  path: full/train-*
32
  ---
33
+
34
+ # TOFU with author identity names
35
+
36
+ This is a lossless, order-preserving derivative of the `full` configuration of
37
+ [`locuslab/TOFU`](https://huggingface.co/datasets/locuslab/TOFU). It adds one
38
+ column, `name`, so that all question-answer pairs about the same fictitious
39
+ author can be grouped as one deletion entity.
40
+
41
+ The source data was pinned at commit
42
+ `324592d84ae4f482ac7249b9285c2ecdb53e3a68`. The `question` and `answer`
43
+ values and their original order were not changed.
44
+
45
+ ## Loading
46
+
47
+ ```python
48
+ from datasets import load_dataset
49
+
50
+ dataset = load_dataset("ClaudioSavelli/TOFU", "full", split="train")
51
+ ```
52
+
53
+ The columns are:
54
+
55
+ - `question`: the original TOFU question.
56
+ - `answer`: the original TOFU answer.
57
+ - `name`: the full fictitious-author name assigned to the row.
58
+
59
+ This repository currently contains only the complete 4,000-row source cohort.
60
+ It does not yet define retain, forget, test, or sequential deletion-request
61
+ splits.
62
+
63
+ ## Identity construction and validation
64
+
65
+ The upstream `full` data is ordered as 200 consecutive author blocks, with 20
66
+ question-answer pairs per author. Names were recovered from the text within
67
+ each block, and block membership was used for rows that refer to the author
68
+ only with a pronoun or shortened name.
69
+
70
+ Validation results:
71
+
72
+ - 4,000 rows and 200 distinct identity values;
73
+ - exactly 20 rows for every identity value;
74
+ - 3,969 rows contain their assigned full name verbatim in the question or
75
+ answer;
76
+ - 11 rows belonging to named authors omit the full name but are unambiguous
77
+ from their surrounding source block;
78
+ - one complete 20-row upstream block never states an author name.
79
+
80
+ The nameless source block is the Karachi-born Urban Fiction author at
81
+ zero-based identity position 88. Its rows are preserved and assigned the
82
+ explicit placeholder `__UNKNOWN_TOFU_IDENTITY_088__`. This is deliberately not
83
+ a fabricated person name. Consumers should treat the placeholder as one
84
+ entity and decide explicitly whether to retain, exclude, or repair that entity
85
+ before experiments that require every entity to have a natural-language name.
86
+
87
+ ## License and citation
88
+
89
+ This derivative retains the upstream MIT license. Please cite the original
90
+ TOFU work:
91
+
92
+ ```bibtex
93
+ @misc{tofu2024,
94
+ title={TOFU: A Task of Fictitious Unlearning for LLMs},
95
+ author={Pratyush Maini and Zhili Feng and Avi Schwarzschild and Zachary C. Lipton and J. Zico Kolter},
96
+ year={2024},
97
+ archivePrefix={arXiv},
98
+ primaryClass={cs.LG}
99
+ }
100
+ ```