Local Attention
JSON →local-attention is a Python library by lucidrains that implements local attention mechanisms with configurable windowing and lookback/lookforward options, primarily for language modeling tasks. It leverages PyTorch for efficient computation and is actively maintained with frequent minor and patch releases.
Traffic · last 30 days ↑150% vs prev 7d
total hits 26
actors 7 distinct systems
last hit 5d ago AhrefsBot
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇫🇷 France · 🇨🇦 Canada · VN
API endpoints
full doc /v1/registry/local-attention
compatibility /v1/registry/local-attention/compatibility