Shubham Kumar Singh·Aug 2, 2025Using BERT: Strategies for text classificationBERT (Bidirectional Encoder Representations from Transformers) revolutionized NLP by enabling models to capture context in language through…
Shubham Kumar Singh·Dec 12, 2024Plan and Execute: AI Agents ArchitectureIn this post I will talk about the “plan-and-execute” style agent design. These agents promise a number of improvements over traditional…A response icon3A response icon3
Shubham Kumar Singh·Sep 24, 2024From Contextual Embeddings to Trillion Parameters: A Timeline of Key Milestones in NLP ModelsWhile exploring T5, I became curious about the concept of multiple downstream tasks, which we often take for granted thanks to models like…
Shubham Kumar Singh·Sep 3, 2024Understanding Attention in Transformers, with code.The attention layer is one of the core components of the Transformer model. It takes in a set of input words (technically called tokens…
Shubham Kumar Singh·Aug 18, 2024Diffusion Models from Scratch in PyTorchDisclaimer: This blog focuses on building intuition for how diffusion models work (based on DDPM paper), highlighting only the important…
Shubham Kumar Singh·Apr 1, 2024Building Safe AI: The secret weapon is…Debate?There have been many cases where AIs have done something they weren’t supposed to do.