attention-residuals
CommunitySmarter residuals for Transformer stability.
Software Engineering#transformer#deep-learning#neural-network#attention-residuals#attnres#training-stability#residual-connection
Authorhiyenwong
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Transformer models often suffer from unstable training and poor convergence due to standard residual connections. Attention Residuals (AttnRes) reframe how residuals are integrated into attention blocks to improve gradient flow and training robustness.
Core Features & Use Cases
- Redesigns the residual path in attention layers to enhance stability and convergence.
- Applicable to large language models, vision transformers, and multimodal architectures to boost training robustness.
- Use case: upgrade an existing Transformer-based model to achieve more stable early training and better final performance on long sequences.
Quick Start
Enable AttnRes in a Transformer block to improve stability during training.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: attention-residuals Download link: https://github.com/hiyenwong/ai_collection/archive/main.zip#attention-residuals Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.