listen0425 / Safety-LayersView external linksLinks
code space of paper "Safety Layers in Aligned Large Language Models: The Key to LLM Security" (ICLR 2025)
☆21Apr 26, 2025Updated 9 months ago
Alternatives and similar repositories for Safety-Layers
Users that are interested in Safety-Layers are comparing it to the libraries listed below
Sorting:
- This is the official code for the paper "Lazy Safety Alignment for Large Language Models against Harmful Fine-tuning" (NeurIPS2024)☆25Sep 10, 2024Updated last year
- Our research proposes a novel MoGU framework that improves LLMs' safety while preserving their usability.☆18Jan 14, 2025Updated last year
- Code for safety test in "Keeping LLMs Aligned After Fine-tuning: The Crucial Role of Prompt Templates"☆22Sep 21, 2025Updated 4 months ago
- ☆57Jun 5, 2024Updated last year
- Official codebase for "STAIR: Improving Safety Alignment with Introspective Reasoning"☆88Feb 26, 2025Updated 11 months ago
- A survey on harmful fine-tuning attack for large language model☆232Jan 9, 2026Updated last month
- ☆14Feb 5, 2025Updated last year
- [ICML 2024] Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modifications☆89Mar 30, 2025Updated 10 months ago
- something for paper agent☆11Dec 18, 2024Updated last year
- ☆12Oct 29, 2023Updated 2 years ago
- [EMNLP 2024 Findings] Wrong-of-Thought: An Integrated Reasoning Framework with Multi-Perspective Verification and Wrong Information☆13Oct 1, 2024Updated last year
- Official code for PLoP☆17Jun 30, 2025Updated 7 months ago
- 🌿快速生成文件夹目录结构,支持定义目录层级,支持生成到 markdown 文件。☆13Oct 19, 2022Updated 3 years ago
- AiTer Optimized Model☆35Updated this week
- yolo目标检测算法☆15Jul 27, 2025Updated 6 months ago
- ☆44Oct 1, 2024Updated last year
- [NeurIPS 2025@FoRLM] R1-Compress: Long Chain-of-Thought Compression via Chunk Compression and Search☆17Jan 24, 2026Updated 2 weeks ago
- ☆11Jun 4, 2020Updated 5 years ago
- ☆10Aug 15, 2025Updated 5 months ago
- [WSDM 2026] LookAhead Tuning: Safer Language Models via Partial Answer Previews☆17Dec 14, 2025Updated last month
- Official Implementation of implicit reference attack☆11Oct 16, 2024Updated last year
- ☆13Mar 16, 2025Updated 10 months ago
- 🌟 手把手教你在论文中插入代码链接☆24Aug 2, 2025Updated 6 months ago
- ☆14Feb 26, 2025Updated 11 months ago
- This is the official repo for our paper: "Generative Knowledge-Guided Retrieval System for Construction Disclosure Documents Reviewing"☆21Nov 17, 2025Updated 2 months ago
- Code for paper "Concrete Subspace Learning based Interference Elimination for Multi-task Model Fusion"☆14Mar 28, 2024Updated last year
- Chinese Financial Assistant Benchmark for Large Language Model☆49Jul 30, 2025Updated 6 months ago
- This is the official code for the paper "Virus: Harmful Fine-tuning Attack for Large Language Models Bypassing Guardrail Moderation"☆53Feb 2, 2025Updated last year
- Official implementation of Visco-Attack (EMNLP 2025 Main). We will progressively release the code and one-click reproduction scripts.☆28Aug 22, 2025Updated 5 months ago
- [NeurIPS'24] "NeuralFuse: Learning to Recover the Accuracy of Access-Limited Neural Network Inference in Low-Voltage Regimes"☆10Sep 18, 2025Updated 4 months ago
- CHATGPT-In-Jupyter☆11Jun 2, 2023Updated 2 years ago
- DSN jailbreak Attack & Evaluation Ensemble☆16Feb 7, 2026Updated last week
- Code for CVPR24 Paper - Resource-Efficient Transformer Pruning for Finetuning of Large Models☆12Oct 31, 2025Updated 3 months ago
- Data and code for the paper: Finding Safety Neurons in Large Language Models☆20Jan 29, 2026Updated 2 weeks ago
- Demo code for the paper: One Thing to Fool them All: Generating Interpretable, Universal, and Physically-Realizable Adversarial Features☆12Nov 30, 2023Updated 2 years ago
- Kernel sources for https://huggingface.co/kernels-community☆54Feb 6, 2026Updated last week
- [ICML 2023] "Robust Weight Signatures: Gaining Robustness as Easy as Patching Weights?" by Ruisi Cai, Zhenyu Zhang, Zhangyang Wang☆16May 4, 2023Updated 2 years ago
- ☆14May 25, 2022Updated 3 years ago
- [NeurIPS 2023] Official repository for "Distilling Out-of-Distribution Robustness from Vision-Language Foundation Models"☆11Jun 18, 2024Updated last year