Unveiling the Secrets Behind ChatGPT – Part 2

For part 1 refer to this: Unveiling the Secrets Behind ChatGPT – Part 1 (learncodecamp.net) Implementing a Bigram Language Model When diving into the world of natural language processing (NLP) and language modeling, starting with a simple baseline model is essential. It helps establish a foundation to build upon. One of the simplest and most … Read more

Unveiling the Secrets Behind ChatGPT – Part 1

Introduction Hello everyone! By now, you’ve likely heard of ChatGPT, the revolutionary AI system that has taken the world and the AI community by storm. This remarkable technology allows you to interact with an AI through text-based tasks. The Technology Behind ChatGPT: Transformers The neural network that powers ChatGPT is based on the Transformer architecture, … Read more

Convolutional Neural Networks

Introduction This blog post dives into the fascinating world of computer vision, exploring how we can teach machines to “see” using convolutional neural networks (CNNs). This post is based on a lecture from MIT’s 6.S191: Introduction to Deep Learning course. What Does it Mean to “See”? Before diving into the technical details, let’s define “vision”. … Read more

Building ARM64 Docker Images on x86_64 Machines Using QEMU and Docker Buildx

Introduction In the world of software development, the ability to build and deploy applications across different architectures is invaluable. This capability becomes particularly essential when dealing with ARM-based applications such as those for embedded systems or newer ARM-based servers. In this blog post, we will explore how to build ARM64 Docker container images on an … Read more

Learning from Introduction to Deep Learning

Introduction Intelligence: The ability to process information and use it for future decision-making. Artificial Intelligence (AI): Empowering computers with the ability to process information and make decisions. Machine Learning (ML): A subset of AI focused on teaching computers to learn from data. Deep Learning (DL): A subset of ML utilizing neural networks to process raw … Read more

Intro to Large Language Models

The Busy Person’s Guide to Large Language Models: From Inner Workings to Future Possibilities (and Security Concerns) This post explores the fascinating world of large language models (LLMs) like ChatGPT and llama2, diving into their inner workings, potential future developments, and even the security challenges they present. It’s a summary of a talk by Andrej … Read more

Mastering Asynchronous Operations in TypeScript

Introduction Handling asynchronous operations efficiently is crucial in modern web development, especially when dealing with APIs, data fetching, and timed operations. TypeScript, a superset of JavaScript, enhances JavaScript’s capabilities, including its handling of async operations. In this article, we explore various asynchronous patterns in TypeScript, including a custom sleep function, fetching data from APIs, and … Read more

Streamlining Data Processing with Google Dataflow

Introduction In today’s data-driven landscape, businesses require robust tools to efficiently process, transform, and analyze data for deriving meaningful insights. Google Dataflow is a solution, offering a powerful, fully managed service on the Google Cloud Platform (GCP) that simplifies the complexities of building data pipelines. Key Features of Google Dataflow Google Dataflow boasts several key … Read more

Learning about tsconfig.json file in TypeScript Projects

Introduction Why use a tsconfig.json file? Key Sections within tsconfig.json Let’s focus on the most important section for understanding how to configure your project: Sameple tsconfig.json file Some Options strictPropertyInitialization strictPropertyInitialization is a strict type checking option in TypeScript. When set to true in your tsconfig.json file, TypeScript will ensure that each instance property of a class gets initialized in … Read more

Understanding JavaScript Promises

Introduction What are Promises? Key Methods When you create a new Promise in TypeScript, you pass an executor function to the Promise constructor. This executor function takes two arguments: a resolve function and a reject function. Here’s what each argument is for: (resolve, reject) => { … } Code for JavaScript Promises Design Choices