Divyaksh commited on
Commit
acb67b4
·
verified ·
1 Parent(s): cec5814

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +109 -63
README.md CHANGED
@@ -61,68 +61,114 @@ configs:
61
  data_files: holdout05.json
62
  - config_name: holdout10
63
  data_files: holdout10.json
64
- - config_name: forget10_sorted
65
- data_files: forget10_sorted.jsonl
66
- - config_name: forget05_sorted
67
- data_files: forget05_sorted.jsonl
68
- - config_name: forget01_sorted
69
- data_files: forget01_sorted.jsonl
70
- - config_name: forget10_sorted_asc
71
- data_files: forget10_sorted_asc.jsonl
72
- - config_name: forget05_sorted_asc
73
- data_files: forget05_sorted_asc.jsonl
74
- - config_name: forget01_sorted_asc
75
- data_files: forget01_sorted_asc.jsonl
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
  ---
77
 
78
- # TOFU: Task of Fictitious Unlearning 🍢
79
-
80
- The TOFU dataset serves as a benchmark for evaluating unlearning performance of large language models on realistic tasks. The dataset comprises question-answer pairs based on autobiographies of 200 different authors that do not exist and are completely fictitiously generated by the GPT-4 model. The goal of the task is to unlearn a fine-tuned model on various fractions of the forget set.
81
-
82
- ## Quick Links
83
-
84
- - [**Website**](https://locuslab.github.io/tofu): The landing page for TOFU
85
- - [**arXiv Paper**](http://arxiv.org/abs/2401.06121): Detailed information about the TOFU dataset and its significance in unlearning tasks.
86
- - [**GitHub Repository**](https://github.com/locuslab/tofu): Access the source code, fine-tuning scripts, and additional resources for the TOFU dataset.
87
- - [**Dataset on Hugging Face**](https://huggingface.co/datasets/locuslab/TOFU): Direct link to download the TOFU dataset.
88
- - [**Leaderboard on Hugging Face Spaces**](https://huggingface.co/spaces/locuslab/tofu_leaderboard): Current rankings and submissions for the TOFU dataset challenges.
89
- - [**Summary on Twitter**](https://x.com/_akhaliq/status/1745643293839327268): A concise summary and key takeaways from the project.
90
-
91
-
92
- ## Applicability 🚀
93
-
94
- The dataset is in QA format, making it ideal for use with popular chat models such as Llama2, Mistral, or Qwen. However, it also works for any other large language model. The corresponding code base is written for the Llama2 chat, and Phi-1.5 models, but can be easily adapted to other models.
95
-
96
- ## Loading the Dataset
97
-
98
- To load the dataset, use the following code:
99
-
100
- ```python
101
- from datasets import load_dataset
102
- dataset = load_dataset("locuslab/TOFU", "full")
103
- ```
104
-
105
- ### Available forget sets are:
106
-
107
- - `forget01`: Forgetting 1% of the original dataset, all entries correspond to a single author.
108
- - `forget05`: Forgetting 5% of the original dataset, all entries correspond to a single author.
109
- - `forget10`: Forgetting 10% of the original dataset, all entries correspond to a single author.
110
-
111
- Retain sets corresponding to each forget set are also available, which can be used to train an Oracle model.
112
-
113
- ## Codebase
114
-
115
- The code for training the models and the availability of all fine-tuned models can be found at our [GitHub repository](https://github.com/locuslab/tofu).
116
-
117
- ## Citing Our Work
118
-
119
- If you find our codebase and dataset beneficial, please cite our work:
120
- ```
121
- @misc{tofu2024,
122
- title={TOFU: A Task of Fictitious Unlearning for LLMs},
123
- author={Pratyush Maini and Zhili Feng and Avi Schwarzschild and Zachary C. Lipton and J. Zico Kolter},
124
- year={2024},
125
- archivePrefix={arXiv},
126
- primaryClass={cs.LG}
127
- }
128
- ```
 
61
  data_files: holdout05.json
62
  - config_name: holdout10
63
  data_files: holdout10.json
64
+ - config_name: sample_2
65
+ data_files:
66
+ - split: forget
67
+ path: forget_sample_2_qa.csv
68
+ - split: retain
69
+ path: retain_sample_2_qa.csv
70
+ - split: forget_asc
71
+ path: forget_sample_2_qa_asc.csv
72
+ - split: retain_asc
73
+ path: retain_sample_2_qa_asc.csv
74
+ - split: forget_desc
75
+ path: forget_sample_2_qa_desc.csv
76
+ - split: retain_desc
77
+ path: retain_sample_2_qa_desc.csv
78
+ - split: forget_perturbed
79
+ path: perturbed_forget_2.csv
80
+ - split: retain_perturbed
81
+ path: perturbed_retain_2.csv
82
+ - config_name: sample_3
83
+ data_files:
84
+ - split: forget
85
+ path: forget_sample_3_qa.csv
86
+ - split: retain
87
+ path: retain_sample_3_qa.csv
88
+ - split: forget_asc
89
+ path: forget_sample_3_qa_asc.csv
90
+ - split: retain_asc
91
+ path: retain_sample_3_qa_asc.csv
92
+ - split: forget_desc
93
+ path: forget_sample_3_qa_desc.csv
94
+ - split: retain_desc
95
+ path: retain_sample_3_qa_desc.csv
96
+ - split: forget_perturbed
97
+ path: perturbed_forget_3.csv
98
+ - split: retain_perturbed
99
+ path: perturbed_retain_3.csv
100
+ - config_name: sample_4
101
+ data_files:
102
+ - split: forget
103
+ path: forget_sample_4_qa.csv
104
+ - split: retain
105
+ path: retain_sample_4_qa.csv
106
+ - split: forget_asc
107
+ path: forget_sample_4_qa_asc.csv
108
+ - split: retain_asc
109
+ path: retain_sample_4_qa_asc.csv
110
+ - split: forget_desc
111
+ path: forget_sample_4_qa_desc.csv
112
+ - split: retain_desc
113
+ path: retain_sample_4_qa_desc.csv
114
+ - split: forget_perturbed
115
+ path: perturbed_forget_4.csv
116
+ - split: retain_perturbed
117
+ path: perturbed_retain_4.csv
118
+ - config_name: sample_5
119
+ data_files:
120
+ - split: forget
121
+ path: forget_sample_5_qa.csv
122
+ - split: retain
123
+ path: retain_sample_5_qa.csv
124
+ - split: forget_asc
125
+ path: forget_sample_5_qa_asc.csv
126
+ - split: retain_asc
127
+ path: retain_sample_5_qa_asc.csv
128
+ - split: forget_desc
129
+ path: forget_sample_5_qa_desc.csv
130
+ - split: retain_desc
131
+ path: retain_sample_5_qa_desc.csv
132
+ - split: forget_perturbed
133
+ path: perturbed_forget_5.csv
134
+ - split: retain_perturbed
135
+ path: perturbed_retain_5.csv
136
+ - config_name: sample_6
137
+ data_files:
138
+ - split: forget
139
+ path: forget_sample_6_qa.csv
140
+ - split: retain
141
+ path: retain_sample_6_qa.csv
142
+ - split: forget_asc
143
+ path: forget_sample_6_qa_asc.csv
144
+ - split: retain_asc
145
+ path: retain_sample_6_qa_asc.csv
146
+ - split: forget_desc
147
+ path: forget_sample_6_qa_desc.csv
148
+ - split: retain_desc
149
+ path: retain_sample_6_qa_desc.csv
150
+ - split: forget_perturbed
151
+ path: perturbed_forget_6.csv
152
+ - split: retain_perturbed
153
+ path: perturbed_retain_6.csv
154
+ - config_name: sample_7
155
+ data_files:
156
+ - split: forget
157
+ path: forget_sample_7_qa.csv
158
+ - split: retain
159
+ path: retain_sample_7_qa.csv
160
+ - split: forget_asc
161
+ path: forget_sample_7_qa_asc.csv
162
+ - split: retain_asc
163
+ path: retain_sample_7_qa_asc.csv
164
+ - split: forget_desc
165
+ path: forget_sample_7_qa_desc.csv
166
+ - split: retain_desc
167
+ path: retain_sample_7_qa_desc.csv
168
+ - split: forget_perturbed
169
+ path: perturbed_forget_7.csv
170
+ - split: retain_perturbed
171
+ path: perturbed_retain_7.csv
172
  ---
173
 
174
+ # Towards Multi-reference Unlearning