Downloads · 30 days
13
21% of all-time downloads
linzju/Code-Llama-3-8B_EnchTable_FFN_Attention
Code-Llama-3-8B_EnchTable_FFN_Attention is a text generation model from linzju. Use it when you need the model to write or continue text. The card lists the license as llama3.
This repository contains the Code-Llama-3-8B model aligned using the Hybrid (Attention + FFN) intervention of the EnchTable framework.
Downloads · 30 days
13
21% of all-time downloads
All-time downloads
61
Public
Parameters
8B
32.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors32.1 GB · 100%
From the Hugging Face model README
This repository contains the Code-Llama-3-8B model aligned using the Hybrid (Attention + FFN) intervention of the EnchTable framework.
This model is part of the research presented in the paper:
"EnchTable: Unified Safety Alignment Transfer in Fine-tuned Large Language Models", accepted at IEEE S&P 2026.
EnchTable is a framework designed to transfer safety alignment capabilities.
In this checkpoint, we utilize a Hybrid strategy, injecting safety vectors into both Self-Attention and FFN layers. This represents the most comprehensive alignment transfer, maximizing safety in code generation tasks.