Skip to content
Closed

RMU #68

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ We provide several variants for each of the components in the unlearning pipelin

## 📌 Table of Contents
- 📖 [Overview](#-overview)
- 🗃️ [Available Components](#-available-components)
- 🗃️ [Available Components](#%EF%B8%8F-available-components)
- ⚡ [Quickstart](#-quickstart)
- 🛠️ [Environment Setup](#-environment-setup)
- 💾 [Data Setup](#-data-setup)
Expand All @@ -56,7 +56,7 @@ We provide several variants for each of the components in the unlearning pipelin
- ➕ [How to Add New Components](#-how-to-add-new-components)
- 📚 [Further Documentation](#-further-documentation)
- 🔗 [Support & Contributors](#-support--contributors)
- 📝 [Citing this work](#-citating-this-work)
- 📝 [Citing this work](#-citing-this-work)
- 🤝 [Acknowledgements](#-acknowledgements)
- 📄 [License](#-license)

Expand Down Expand Up @@ -198,7 +198,7 @@ If you use OpenUnlearning in your research, please cite:

---

### 🤝 Acknowledgments
### 🤝 Acknowledgements

- This repo is inspired from [LLaMA-Factory](https://github.com/hiyouga/LLaMA-Factory).
- The [TOFU](https://github.com/locuslab/tofu) and [MUSE](https://github.com/jaechan-repo/muse_bench) benchmarks served as the foundation for our re-implementation.
Expand Down
2 changes: 1 addition & 1 deletion scripts/tofu_unlearn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ trainers_experiments=(
"GradAscent unlearn/tofu/default.yaml"
"GradDiff unlearn/tofu/default.yaml"
"NPO unlearn/tofu/default.yaml"
"DPO unlearn/tofu/default.yaml"
"DPO unlearn/tofu/idk.yaml"
)
forget_retain_splits=(
"forget01 retain99"
Expand Down
9 changes: 9 additions & 0 deletions setup_data.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
from huggingface_hub import snapshot_download

# Setup retain model metrics
snapshot_download(
repo_id="open-unlearning/eval",
allow_patterns="*.json",
repo_type="dataset",
local_dir="saves/eval",
)

# Setup data
snapshot_download(
repo_id="open-unlearning/idk",
allow_patterns="*.jsonl",
repo_type="dataset",
local_dir="data",
)
Loading