原书出处
Natural Language Processing in Action, Second Edition
Check out the matrix multiplications inside Llama 2, one of the most popular large language models (LLMs). To predict a single output token, Llama2 must do nearly a million (786,432) matrix multiplications. And these attention matrices aren’t small—they are 4,096 × 4,096. Llama 2 has 32 layers, each with 32 attention matrices. Each unique attention matrix is multiplied by the 4,096 prompt token embeddings, and
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Natural Language Processing in Action, Second Edition/_epub-src/OEBPS/Text/appendix-c.html
EPUB SHA-256:0e9a35e49ca446e322e5524e53f39fb6bee5b2b23d9cda10ef052aca770b0b36