Ebad SayedThe Reality of AI Hallucinations: Causes and Solutions for LLMsLarge language models (LLMs) might seem like they understand things, but they don’t. When humans answer questions, we reason through a…6d ago6d ago
Ebad SayedMastering ML Metrics: Definitions, Mathematics, and Implementation Part 2In the previous article we saw different metrics used for Classification, Regression and Clustering Tasks. In this article we will see…Jul 6Jul 6
Ebad SayedMastering ML Metrics: Definitions, Mathematics, and Implementation Part 1In the realm of machine learning, the efficacy of models is assessed through a diverse set of metrics tailored to specific tasks. These…Jul 6Jul 6
Ebad SayedMastering Optimization Algorithms in ML: A Comprehensive GuideOptimization algorithms adjust model parameters to minimize the loss function, thereby reducing the error term. They ensure the model…Jul 3Jul 3
Ebad SayedThe Power of Quantization in ML: A PyTorch Tutorial Part 5In the previous article we learned how to build our own custom 8-Bit Quantizer and how to quantize open source PyTorch models. In this…Jul 1Jul 1
Ebad SayedThe Power of Quantization in ML: A PyTorch Tutorial Part 4In the previous article we learned about symmetric, asymmetric, per channel and per group quantization and weights & activations…Jul 1Jul 1
Ebad SayedThe Power of Quantization in ML: A PyTorch Tutorial Part 3Previously we learn about linear quantization. In this article we will learn about other types of Quantization and weights and activations…Jul 1Jul 1
Ebad SayedThe Power of Quantization in ML: A PyTorch Tutorial Part 2In the previous article we saw what is quantization, what are the different data types and how can we load ML models in different data…Jul 1Jul 1
Ebad SayedThe Power of Quantization in ML: A PyTorch Tutorial Part 1Large generative AI models, such as LLMs, can be so large that they are difficult to run on consumer-grade hardware. For instance, the…Jul 1Jul 1
Ebad SayedBuilding RNN, LSTM, and GRU from ScratchIn my previous article, we explored the theoretical foundations of RNNs, LSTMs, and GRUs. Now, we move from theory to practice, focusing on…Jun 26Jun 26