Skip to content

devninja-in/ai-learning-devninja

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

52 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

AI Learning Platform

A modern, interactive educational website for teaching AI concepts from NLP foundations to advanced language models, featuring comprehensive educational content and interactive simulations.

Project Goals

  • Complete AI Education: Full learning path from NLP basics to production AI systems
  • Interactive Experience: Simulations, visualizations, and hands-on exercises
  • Mobile-First: Responsive design for learning on any device
  • Performance: Optimized for content-heavy educational material
  • Accessibility: Inclusive design for all learners
  • Guided Learning: Clear progression with concept explanations and practical applications
  • Production Ready: Bridge the gap from understanding to building real AI systems

Educational Features

πŸ“š Comprehensive Content Library

  • Concept Explanations: Clear, visual explanations for complex AI topics
  • Interactive Simulations: Hands-on exploration of AI concepts with real-time visualization
  • Progressive Learning Path: Structured progression from beginner to advanced topics
  • Real-World Applications: Connect concepts to practical AI tools and systems

🎯 Learning Resources

🌟 NEW: Structured Learning Pathways

πŸ“– Core Resources

πŸ”¬ Interactive Simulations

Foundation Simulations (Phases 1-5)

  • Tokenization Playground: Understand how text is processed by AI systems
  • Word Embeddings Visualizer: Explore how AI represents word meaning mathematically
  • Attention Mechanism Explorer: See how modern AI focuses on relevant information
  • Transformer Architecture Walkthrough: Step through complete transformer processing
  • Language Model Playground: Experience text generation and prediction
  • RLHF Training Simulator: Learn how AI systems are aligned with human preferences

Advanced Simulations (Phases 6-11)

  • Model Internals Explorer: Navigate the internals of modern architectures like Llama and Mistral
  • Quantization Laboratory: Experience quality vs size trade-offs in model compression
  • Inference Engine Comparator: Benchmark different serving solutions and optimization techniques
  • Agent Reasoning Simulator: Build and test ReAct agents with multi-step planning
  • RAG System Builder: Create knowledge-augmented AI systems with tool integration
  • Agent Frameworks Mastery: Interactive comparison of LangChain, LlamaIndex, CrewAI, AutoGen, LangGraph, and Pydantic AI with hands-on code examples and decision trees

Development Setup

The platform is built with Next.js and includes both educational content and interactive simulations.

Tech Stack (Implemented)

  • Framework: Next.js 14+ with App Router
  • Frontend: React 18+ with TypeScript
  • Styling: TailwindCSS for responsive design
  • Visualizations: D3.js for interactive data visualization
  • Animations: Framer Motion for smooth interactions
  • Content: MDX for rich educational content
  • Deployment: Vercel for ailearning.devninja.in

Project Structure

/
β”œβ”€β”€ src/                 # Source code
β”œβ”€β”€ components/          # Reusable UI components
β”œβ”€β”€ content/            # Educational content and lessons
β”œβ”€β”€ simulations/        # Interactive simulations
β”œβ”€β”€ styles/             # Global styles and themes
└── public/             # Static assets

Development Status

  • Frontend development environment setup
  • Architecture and tech stack decisions (see ADR-001)
  • Component library creation (SimulationLayout, interactive components)
  • Content structure design (comprehensive educational framework)
  • Interactive simulation framework (D3.js + React integration)
  • Educational content creation (concepts, tutorials, glossary)
  • Agent Frameworks simulation implementation (Phase 11)
  • Deployment pipeline setup
  • Remaining simulation implementations (Phases 7, 9)
  • Advanced phase content development

Complete Learning Journey: Understanding to Production

Foundation Phases (1-5): Understanding AI

Phase 1: NLP Foundations (Beginner)

  • Word Embeddings - Mathematical representation of word meaning
  • NLP Foundations - Core concepts of text processing
  • Tokenization principles and practical applications
  • Sequence understanding and the importance of word order

Phase 2: Transformer Architecture (Intermediate)

  • Attention Mechanisms - The revolutionary focus mechanism
  • Self-attention and multi-head attention patterns
  • Positional encoding and sequence awareness
  • Transformer layer architecture walkthrough

Phase 3: Language Models & Pre-training (Intermediate)

  • Pre-training vs fine-tuning workflows
  • Different model architectures (BERT, GPT, T5)
  • Transfer learning applications in NLP
  • Model evaluation and performance metrics

Phase 4: Large Language Models & RLHF (Advanced)

  • Scaling laws and emergent abilities
  • Instruction tuning and human preference alignment
  • Reinforcement Learning from Human Feedback (RLHF)
  • Prompt engineering techniques and best practices

Phase 5: Advanced Attention (Advanced)

  • Multi-scale attention mechanisms and hierarchical processing
  • Sparse attention patterns for long sequences
  • Cross-attention variants and specialized architectures
  • Attention optimization techniques and efficiency improvements

Advanced Phases (6-11): Building Production AI

Phase 6: Model Internals (Advanced)

  • Model Internals - Inside modern architectures like Llama and Mistral
  • Rotary Position Embedding (RoPE) and advanced position encodings
  • Mixture of Experts (MoE) and sparse model architectures
  • Layer normalization variants and architectural innovations

Phase 7: Quantization (Advanced)

  • Post-training quantization techniques (GPTQ, AWQ)
  • Quantization-aware training approaches
  • Model compression formats (GGUF, GGML)
  • Hardware-specific optimizations (bitsandbytes, INT8/INT4)

Phase 8: Inference & Serving (Advanced)

  • High-performance inference engines (vLLM, TensorRT-LLM)
  • Batching strategies and throughput optimization
  • Memory management and KV-cache optimization
  • Distributed serving and load balancing

Phase 9: Agents & Reasoning (Advanced)

  • ReAct (Reasoning and Acting) frameworks
  • Chain-of-Thought and advanced prompting techniques
  • Multi-step planning and execution strategies
  • Agent coordination and collaboration patterns

Phase 10: Tools & MCP (Advanced)

  • Retrieval-Augmented Generation (RAG) systems
  • Function calling and tool integration
  • Model Context Protocol (MCP) for standardized tool access
  • Building custom tools and integrations

Phase 11: Agent Frameworks (Advanced)

  • Agent Frameworks - LangChain, LlamaIndex, CrewAI ecosystem
  • Multi-agent coordination and collaboration
  • Production patterns and best practices
  • Custom framework development and enterprise deployment

Learning Resources

Quick Start for Learners

πŸ—οΈ New to AI? (Foundation Track)

  1. Start Here: Choose the Foundation Learning Pathway
  2. First Steps: Complete the Getting Started Tutorial
  3. Phase 1: Master embeddings with Word Embeddings Simulation + Key Concepts
  4. Phase 2: Understand attention with Transformer Simulation + theory
  5. Phase 3: Explore modern architectures with Model Internals Simulation

πŸš€ Want to Build AI? (Production Track)

  1. Prerequisites: Complete Foundation Pathway Phases 1-3
  2. Production Path: Follow the Production Learning Pathway
  3. Hands-On: Use Implementation Tutorials alongside theory
  4. Deploy: Build real systems from quantization to agent frameworks

πŸ› οΈ Learn by Building? (Implementation Focus)

  1. Start Coding: Jump into Implementation Tutorials
  2. Build Understanding: Use Concept Bridges to connect theory
  3. Simulate: Validate understanding with interactive simulations
  4. Scale Up: Progress to production-ready implementations

🧭 Choose Your Journey

Visit the Pathway Selection Guide to find your optimal learning approach based on experience, goals, and learning style.

Contributing

This is part of the DevNinja.in educational platform. Wait for architecture decisions before contributing.

About

AI Learning Site

Resources

Security policy

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages