Skip to content
The Tech Lead

The Tech Lead

Build. Secure. Evolve

  • Welcome
  • Product Development
  • Cybersecurity
  • AI Development
  • Playground

Category: ai

LLM (chapter 8): LLM-Based AI System – Memory Subsystem

Learn how to build a memory system for AI, and how to evaluate a memory system.

N.D.Y ai, software engineering Leave a comment December 1, 2026December 1, 2026 6 Minutes

LLM Inference Engine (chapter 7): LLM-Based AI System

Explore how an LLM-based AI system works, including RAG, memory, embeddings, vector databases, agent orchestration, tool calling, and open-source tools.

N.D.Y ai, software engineering 1 Comment November 27, 2026December 1, 2026 4 Minutes

LLM Inference Engine (chapter 6): Transformer Architecture From Scratch – Next Token Prediction

Understand how Transformer models predict the next token using embeddings, causal self-attention, KV caching, and autoregressive decoding.

N.D.Y ai, software engineering 1 Comment November 21, 2026November 27, 2026 6 Minutes

LLM Inference Engine (chapter 5): Transformer Architecture From Scratch – Feed Forward Sub-Layer

Learn how the Transformer FFN works, including RMSNorm, Gate and Up projections, SiLU activation, element-wise multiplication, Down projection, and residual connections.

N.D.Y ai, software engineering 3 Comments November 20, 2026November 20, 2026 7 Minutes

LLM Inference Engine (chapter 4): Transformer Architecture From Scratch – Attention Scores

Learn how to calculate Transformer attention scores step by step.

N.D.Y ai, software engineering 4 Comments November 18, 2026November 21, 2026 14 Minutes

LLM Inference Engine (chapter 3): Transformer Architecture From Scratch – Token Embedding

Learn how the Transformer embedding layer converts token IDs into numerical vectors, builds embedding matrices, and prepares text for LLM processing using Llama 3 as an example.

N.D.Y ai, software engineering 4 Comments November 13, 2026November 18, 2026 5 Minutes

LLM Inference Engine (chapter 2): Transformer Architecture From Scratch – Tokenization

Learn about Decoder-only Transformer Architecture, foundational matrix operations, and Tokenization step with llama3 model

N.D.Y ai, software engineering 5 Comments November 10, 2026November 13, 2026 6 Minutes

LLM Inference Engine (chapter 1): Transformer Architecture From Scratch – GGUF Format

Introduction to Inference Engine and GGUF format (LLM model)

N.D.Y ai, software engineering 4 Comments November 7, 2026November 16, 2026 5 Minutes

Build a Private RAG System with Local Llama

Learn how to build a private RAG (Retrieval-Augmented Generation) system using a locally deployed Llama model. This step-by-step guide covers document processing, embeddings, vector databases, semantic search, and prompt construction to help an AI assistant answer questions using sensitive internal documents without sending data to external AI services.

N.D.Y ai, featured, software engineering 2 Comments October 10, 2026November 29, 2026 11 Minutes

History Of Artificial Intelligence

Explore the history of artificial intelligence, from Hobbes and Boolean logic to neural networks, Transformers, GPT, and ChatGPT.

N.D.Y ai, featured 2 Comments September 26, 2026November 29, 2026 18 Minutes

Posts navigation

Older posts
Create a website or blog at WordPress.com
The Tech Lead
Proudly powered by WordPress Theme: Independent Publisher 2.
Loading Comments...