An open API service indexing awesome lists of open source software.

https://github.com/muntahashams/attention-basics

In this notebook, we look at how attention is implemented. We will focus on implementing attention in isolation from a larger mode
https://github.com/muntahashams/attention-basics

attention machine-learning

Last synced: 8 months ago
JSON representation

In this notebook, we look at how attention is implemented. We will focus on implementing attention in isolation from a larger mode

Awesome Lists containing this project

README

          

# Attention-Basics
In this notebook, we look at how attention is implemented. We will focus on implementing attention in isolation from a larger model. That's because when implementing attention in a real-world model, a lot of the focus goes into piping the data and juggling the various vectors rather than the concepts of attention themselves.

We will implement attention scoring as well as calculating an attention context vector.