{"repo":"zjunlp/unlearn","free":true,"listed":false,"github":"https://github.com/zjunlp/unlearn","clone":"git clone https://github.com/zjunlp/unlearn.git","description":"[ACL 2025] Knowledge Unlearning for Large Language Models","language":"Python","stars":49,"topics":["artificial-intelligence","copyright","knowledge-editing","knowledge-unlearning","large-language-models","machine-unlearning","natural-language-processing","privacy","semeval-2025","unlearning"],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"Knowledge Unlearning for Large Language Models 📄arXiv • 🤗HFPaper • 🤗HF Collection This repository provides the official PyTorch implementation of our paper: ReLearn: Unlearning via Learning for Large Language Models Haoming Xu 1 , Ningyuan Zhao 2 , Liming Yang 3 , Sendong Zhao 4 , Shumin Deng 5 , Mengru Wang 1 , Bryan Hooi 5 , Nay Oo 5 , Huajun Chen 1 , Ningyu Zhang 1 1 Zhejiang University, 2 Xiamen University, 3 Tsinghua University, 4 Harbin Institute of Technology, 5 National University of Singapore 🎉 News 🏆 Our team won 2nd place in the SEMEval 2025 Challenge on Unlearning Sensitive Content from Large Language Models ! Check out our implementation in the Semeval25 directory. 🌟 Overview 📦 Installation 🚀 Quick Start 1. Data Augmentation 2. Model Training Currently supports: - Llama3-8b instruct - Gemma2-2b-it - Llama2-7b chat 3. Unlearning Process 4. Evaluation Note: If you plan to use KFR and KRR, please configure the API in dataAugment/utils.py . 🔧 Supported Methods Method Script ----------- ---------------------------------------------------- GA / NPO unlearn/baselines/unlearn scripts/kud-baselines.sh SURE unlearn/baselines/unlearn scripts/kud-baselines.sh Memflex (Iterative version) unlearn/baselines/unlearn scripts/kud-baselines.sh ReLearn unlearn/baselines/unlearn scripts/kud-relearn.sh ReLearn dpo unlearn/baselines/unlearn scripts/kud-relearn.sh 📂 Open Resources Pretrained Models - Llama-2-7b-chat-KnowUnDo-Privacy (Vanilla) 🔗 ModelScope - Llama-2-7b-chat-TO","default_branch":null,"files":null,"tree":[],"storefront":"/r/zjunlp","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/zjunlp/unlearn/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}