This website works better with JavaScript
GitBross
Startsida
Utforska
Hjälp
Registrera dig
Logga in
sol_87yf6cwp
/
LLMs-from-scratch
spegling av
https://github.com/br8bit/LLMs-from-scratch.git
Bevaka
1
Star
0
Fork
0
Filer
Ärenden
0
Wiki
Träd:
4e61dc4224
Grenar
Taggar
main
LLMs-from-scrat...
/
ch03
/
02_bonus_efficient-multihead-attention
Sebastian Raschka
4e61dc4224
Fix d_out code comment in bonus materials (
#715
)
4 månader sedan
..
README.md
ad12c8da06
Einsum multi-head attention (
#345
)
1 år sedan
mha-implementations.ipynb
4e61dc4224
Fix d_out code comment in bonus materials (
#715
)
4 månader sedan
README.md
More Efficient Multi-Head Attention Implementations
mha-implementations.ipynb
contains and compares different implementations of multi-head attention
Summary
The figures below summarize the performance benchmarks (lower is better).
Forward pass only
Forward and backward pass
Forward and backward pass after compilation