mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2025-08-26 09:30:39 +00:00
14 lines
409 B
Markdown
14 lines
409 B
Markdown
# Understanding PyTorch Buffers
|
|
|
|
- [understanding-buffers.ipynb](understanding-buffers.ipynb) explains the idea behind PyTorch buffers, which are used to implement the causal attention mechanism in chapter 3
|
|
|
|
|
|
<br>
|
|
Below is a hands-on video tutorial I recorded to explain the code:
|
|
|
|
<br>
|
|
<br>
|
|
|
|
[](https://www.youtube.com/watch?v=PetlIokI9Ao)
|
|
|