RSSAmplifier

Blog

Shreyashkar Lal Sahu

Recent content on Shreyashkar Lal Sahu

shreyashkar-ml.github.ioRSS feed ↗5 posts

Latest posts

The only Muon Optimizer guide you need

All neural networks use a form of gradient descent for updating their parameters. The fundamental intuition to all neural net’s parameter optimization seems obvious to us, i.e., to move opposite to the gradient. However, there are important caveats to the obvious intuition of following direction opposite to the gradient for optimization. For instance, what curvature to follow along the…

A deep-dive into RoPE, and why it matters?

What is Positional Encoding and why it matters? When training any large language model based on Transformers architecture, our input token sequences tend to form a $\text{seq\_len} \times \text{seq\_len}$ dimension Attention network where, the positional information between tokens aren’t preserved natively, it’s simply the representation of attention scores between each token…

Decoding Karpathy's min-char-rnn (character level Recurrent Neural Network)

Recurrent Neural Networks (RNN) have existed for long at this point, and RNNs without attention mechanism (plain-simple RNN architecture) are no longer the hottest thing either. Still, RNN represents one of the first step towards understanding training for sequential data input, where the context of previous inputs are crucial for predicting the next output. Karpathy’s introduction to the…

About Me

about

Code

code