All
Articles 114,439Blog Posts 123,329Tech Tutorials 29,242Research Papers 23,479News 16,955
⚡ AI Lessons

Dev.to · Rijul Rajesh
4d ago
Building Word Embeddings with PyTorch and Lightning AI Part 2: Creating Labels for Next-Word Prediction
In the previous article, we created the training inputs for our word embedding model using one-hot...

Dev.to · Rijul Rajesh
🧠 Large Language Models
⚡ AI Lesson
1w ago
Building LSTMs with PyTorch and Lightning AI Part 7: Resuming Training with Checkpoints
In the previous article, we used TensorBoard to analyze the training process. Based on the graphs, we...

Dev.to · Rijul Rajesh
📐 ML Fundamentals
⚡ AI Lesson
1mo ago
Pytorch for Neural Networks Part 8: Training with Multiple Inputs
In the previous article, we began the optimization loop using the first input value. In this...

Dev.to · Rijul Rajesh
📐 ML Fundamentals
⚡ AI Lesson
1mo ago
Pytorch for Neural Networks Part 2: Initializing Weights and Biases
In the previous article, we got started with expressing a neural network in the form of Python...

Dev.to · Rijul Rajesh
📐 ML Fundamentals
⚡ AI Lesson
1mo ago
Tensors Explained Part 2: Why Tensors Are Useful
In the previous article, we started with a brief introduction to tensors. In this article, we will...

Dev.to · Rijul Rajesh
📐 ML Fundamentals
⚡ AI Lesson
1mo ago
Tensors Explained Part 1: How AI Systems Represent Data
In this article, we will explore the concept of tensors in the context of machine learning. From the...

Dev.to · Rijul Rajesh
🎮 Reinforcement Learning
⚡ AI Lesson
1mo ago
Understanding Reinforcement Learning with Human Feedback Part 6: How the Reward Model Trains the Original Model
In the previous article, we used loss functions and trained our reward model. In this article, we...

Dev.to · Rijul Rajesh
1mo ago
Understanding Reinforcement Learning with Human Feedback Part 5: Training the Reward Model with Loss Functions
In the previous article, we created a reward model. In this article, we will continue exploring how...

Dev.to · Rijul Rajesh
🎮 Reinforcement Learning
⚡ AI Lesson
1mo ago
Understanding Reinforcement Learning with Human Feedback Part 4: Teaching Models Human Preferences
In the previous article, we explored the part where we collect human preferences. In this article, we...

Dev.to · Rijul Rajesh
🧠 Large Language Models
⚡ AI Lesson
1mo ago
Understanding Reinforcement Learning with Human Feedback Part 3: Collecting Human Preferences
In the previous article we explored the concept of aligning the pretrained model. Now, we will look...

Dev.to · Rijul Rajesh
🎮 Reinforcement Learning
⚡ AI Lesson
1mo ago
Understanding Reinforcement Learning with Human Feedback Part 2: Aligning Pretrained Models
In the previous article, we explored the concept of pre-training and its limitations without a...

Dev.to · Rijul Rajesh
🧠 Large Language Models
⚡ AI Lesson
1mo ago
Understanding Reinforcement Learning with Human Feedback Part 1: Pre-Training Large Language Models
In this article, we will explore Reinforcement Learning with Human Feedback (RLHF). RLHF is one of...

Dev.to · Rijul Rajesh
1mo ago
Understanding Reinforcement Learning with Neural Networks Part 6: Completing the Reinforcement Learning Process
In the previous article we covered the basics of training, and how rewards, derivatives and step-size...

Dev.to · Rijul Rajesh
1mo ago
Understanding Reinforcement Learning with Neural Networks Part 5: Connecting Reward, Derivative, and Step Size
In the previous article, we explored the reward system in reinforcement learning In this article, we...

Dev.to · Rijul Rajesh
1mo ago
Understanding Reinforcement Learning with Neural Networks Part 4: Positive and Negative Rewards
In the previous article, we began the process of guessing the ideal output. Let us continue with the...

Dev.to · Rijul Rajesh
🎮 Reinforcement Learning
⚡ AI Lesson
1mo ago
Understanding Reinforcement Learning with Neural Networks Part 3: Guessing the Ideal Output
In the previous article, we explored the limitations of backpropagation and why it is not ideal when...

Dev.to · Rijul Rajesh
2mo ago
Understanding Encoder-Only Transformers: The Foundation of BERT and RAG Retrieval
Back in 2017, the first transformer architecture introduced two main components: an encoder a...

Dev.to · Rijul Rajesh
2mo ago
Understanding Decoder-Only Transformers Part 2: Decoder-Only vs Regular Transformers
In this article, we will look at the differences between a decoder-only transformer and a standard...

Dev.to · Rijul Rajesh
🧠 Large Language Models
⚡ AI Lesson
2mo ago
Understanding Decoder-Only Transformers Part 1: Masked Self-Attention
Decoder-Only Transformers In this article, we will explore decoder-only...

Dev.to · Rijul Rajesh
🧠 Large Language Models
⚡ AI Lesson
2mo ago
Understanding Transformers Part 18: Completing the Decoding Process
In the previous article, we generated the first output word from the transformer. So far, the...

Dev.to · Rijul Rajesh
📐 ML Fundamentals
⚡ AI Lesson
2mo ago
Understanding Transformers – Part 16: Preparing for Output Prediction with Residual Connections
In the previous article, we handled values in encoder-decoder attention, now we will simplify the...

Dev.to · Rijul Rajesh
🧠 Large Language Models
⚡ AI Lesson
2mo ago
Understanding Transformers Part 15: Scaling and Combining Values in Encoder–Decoder Attention
In the previous article, we gained an understanding how much each input word contributes, in this...

Dev.to · Rijul Rajesh
2mo ago
Understanding Transformers Part 14: Calculating Encoder–Decoder Attention
In the previous article, we just began introducing the concept of encoder-decoder attention. Now...

Dev.to · Rijul Rajesh
2mo ago
Understanding Transformers Part 13: Introducing Encoder–Decoder Attention
In the previous article, we built up the decoder layers and stopped at the relationship between input...
DeepCamp AI