15 stars | 0 forks | Python
What it does
AlignDefTok enables the transfer of pre-optimized DefensiveTokens between closely related LLMs without the need for training, using Orthogonal Procrustes alignment. This approach enhances the robustness of language models against adversarial attacks, making it significant for AI safety and security.
Why it matters: Discover how to enhance LLM security effortlessly with AlignDefTok's innovative token transfer method!
Want to create content about this repo? Use Nemati AI tools to generate articles, tutorials, and social posts.



