Restore safety in fine-tuned language models through task arithmetic
☆32Mar 28, 2024Updated last year
Alternatives and similar repositories for resta
Users that are interested in resta are comparing it to the libraries listed below
Sorting:
- Our EMNLP 2022 paper on VIP-Based Prompting for Parameter-Efficient Learning☆10Oct 22, 2022Updated 3 years ago
- Code for the EMNLP 2022 Findings short paper "SAT: Improving Semi-Supervised Text Classification with Simple Instance-Adaptive Self-Train…☆13Feb 25, 2023Updated 3 years ago
- ☆22Mar 16, 2023Updated 2 years ago
- Code for the COLING 2022 paper "DoubleMix: Simple Interpolation-Based Data Augmentation for Text Classification"☆19Oct 19, 2022Updated 3 years ago
- Code for paper "Concrete Subspace Learning based Interference Elimination for Multi-task Model Fusion"☆14Mar 28, 2024Updated last year
- This repository contains the dataset and the pytorch implementations of the models from the paper CIDER: Commonsense Inference for Dialog…☆27Oct 30, 2022Updated 3 years ago
- Inverse Scaling in Test-Time Compute☆25Dec 3, 2025Updated 2 months ago
- ☆13Oct 13, 2022Updated 3 years ago
- ☆13Jan 14, 2025Updated last year
- ☆13Jul 15, 2021Updated 4 years ago
- Ferret: Faster and Effective Automated Red Teaming with Reward-Based Scoring Technique☆18Aug 22, 2024Updated last year
- ☆17Dec 12, 2024Updated last year
- Codes and datasets for our ICASSP2023 paper, Evaluating parameter-efficient transfer learning approaches on SURE benchmark for speech und…☆42Mar 12, 2023Updated 2 years ago
- Create augmentation examples from MultiNLI by subject-object inversion and passivizing.☆17Feb 22, 2021Updated 5 years ago
- Github repo for NeurIPS 2024 paper "Safe LoRA: the Silver Lining of Reducing Safety Risks when Fine-tuning Large Language Models"☆26Dec 21, 2025Updated 2 months ago
- Code of Robust Lottery Tickets for Pre-trained Language Models (ACL2022)☆20Jul 18, 2022Updated 3 years ago
- ☆24Dec 8, 2024Updated last year
- Fluent student-teacher redteaming☆23Jul 25, 2024Updated last year
- (CVPR 2024) "Unsegment Anything by Simulating Deformation"☆29May 27, 2024Updated last year
- This repository contains the source codes of the paper -- Exemplars-guided Empathetic Response Generation Controlled by the Elements of H…☆24Feb 1, 2023Updated 3 years ago
- Code for our paper "Defending ChatGPT against Jailbreak Attack via Self-Reminder" in NMI.☆56Nov 13, 2023Updated 2 years ago
- [ICML 2021] "Efficient Lottery Ticket Finding: Less Data is More" by Zhenyu Zhang*, Xuxi Chen*, Tianlong Chen*, Zhangyang Wang☆26Dec 30, 2021Updated 4 years ago
- This is the official code for the paper "Safety Tax: Safety Alignment Makes Your Large Reasoning Models Less Reasonable".☆29Mar 11, 2025Updated 11 months ago
- Codebase for Inference-Time Policy Adapters☆25Nov 3, 2023Updated 2 years ago
- This repository contains the PyTorch implementation of the paper STaCK: Sentence Ordering with Temporal Commonsense Knowledge appearing a…☆28Mar 15, 2023Updated 2 years ago
- Is In-Context Learning Sufficient for Instruction Following in LLMs? [ICLR 2025]☆32Jan 23, 2025Updated last year
- Dialogue Relation Extraction with Document-level Heterogeneous Graph Attention Networks☆56Jan 13, 2023Updated 3 years ago
- The purpose of this repository is to introduce new dialogue-level commonsense inference datasets and tasks. We chose dialogues as the dat…☆64Mar 14, 2023Updated 2 years ago
- The codebase for our ACL2023 paper: Did You Read the Instructions? Rethinking the Effectiveness of Task Definitions in Instruction Learni…☆30Jul 16, 2023Updated 2 years ago
- [ICLR 2021] "GANs Can Play Lottery Too" by Xuxi Chen, Zhenyu Zhang, Yongduo Sui, Tianlong Chen☆26Feb 18, 2022Updated 4 years ago
- Learning from preferences is a common paradigm for fine-tuning language models. Yet, many algorithmic design decisions come into play. Ou…☆32Apr 20, 2024Updated last year
- ☆31Jul 14, 2023Updated 2 years ago
- This repository implements our ACL Findings 2022 research paper RelationPrompt: Leveraging Prompts to Generate Synthetic Data for Zero-Sh…☆132Jun 22, 2023Updated 2 years ago
- [COLM 2025] SEAL: Steerable Reasoning Calibration of Large Language Models for Free☆52Apr 6, 2025Updated 10 months ago
- This repository contains PyTorch implementation for the baseline models from the paper Utterance-level Dialogue Understanding: An Empiric…☆127Mar 14, 2023Updated 2 years ago
- [ICML 2024] Safety Fine-Tuning at (Almost) No Cost: A Baseline for Vision Large Language Models.☆85Jan 19, 2025Updated last year
- A preprocessing and training code for DialogueGCN on Dailydialogue and Mastodon dataset. Use Bert base to preprocess the sentences. Based…☆29Oct 6, 2021Updated 4 years ago
- On Explaining Your Explanations of BERT: An Empirical Study with Sequence Classification☆29Nov 30, 2022Updated 3 years ago
- ☆38Apr 15, 2024Updated last year