Technical Concepts & Resources — Master Reference

🎯 Career Resources · Hope AI — ML & DS Course

🎯 TL;DR — Your master quick-reference for every AI concept you need to know. One-line definitions for 100+ terms, key papers with one-line summaries, the best free resources, and a tools comparison table — everything in one place.

📋 Core Concept Map

LayerKey ConceptsTools / Frameworks
DataEmbeddings, tokenization, chunking, vector DBPandas, NumPy, HuggingFace Datasets
ModelsLLM, fine-tuning, LoRA, RLHF, quantizationPyTorch, HuggingFace Transformers
ApplicationRAG, agents, function calling, prompt engineeringLangChain, LangGraph, LlamaIndex
ServingFastAPI, Docker, cloud deployment, monitoringFastAPI, Docker, AWS/GCP/Azure, MLflow
EvaluationMetrics, RAGAs, A/B testing, model driftRAGAs, Evidently AI, Weights & Biases

🔢 AI Engineer Learning Roadmap (9 Stages)

  • Python & SQL — pandas, numpy, sql queries, APIs
  • Statistics — probability, distributions, hypothesis testing, regression
  • Classical ML — sklearn, supervised/unsupervised, model evaluation
  • Deep Learning — PyTorch, neural nets, CNNs, backprop
  • NLP — tokenization, embeddings, transformers, HuggingFace
  • LLMs — prompt engineering, fine-tuning, LoRA, API usage
  • AI Agents — ReAct, LangChain, LangGraph, tool calling
  • MLOps — MLflow, Docker, FastAPI, deployment, monitoring
  • Cloud — AWS SageMaker / GCP Vertex AI / Azure ML

💡 Master Glossary — 100+ Terms (One-Line Definitions)

Core AI/ML Terms

TermOne-Line Definition
Machine LearningSystems that learn patterns from data without being explicitly programmed
Supervised LearningTrain on labeled (input, output) pairs to predict outputs for new inputs
Unsupervised LearningFind structure in unlabeled data (clustering, dimensionality reduction)
Reinforcement LearningAgent learns by taking actions and receiving rewards/penalties
Neural NetworkLayers of interconnected nodes that learn hierarchical representations
Deep LearningNeural networks with many layers — enables learning complex patterns
Feature EngineeringTransforming raw data into informative inputs for ML models
OverfittingModel memorizes training data, fails to generalize to new data
UnderfittingModel too simple to capture the underlying patterns in data
RegularizationTechnique to penalize model complexity and reduce overfitting (L1, L2, dropout)
Cross-ValidationEvaluate model performance on multiple train/test splits of the data
Gradient DescentOptimization algorithm that minimizes loss by moving in the direction of steepest descent
BackpropagationAlgorithm to compute gradients of loss w.r.t. all model parameters via chain rule
Bias-Variance TradeoffTrade-off between underfitting (high bias) and overfitting (high variance)
Ensemble MethodCombine multiple models to get better predictions (Random Forest, XGBoost)
BaggingTrain models on random subsets of data in parallel, average results (reduces variance)
BoostingTrain models sequentially, each correcting previous errors (reduces bias)
Transfer LearningUse pretrained model weights as starting point for a new, related task
Data AugmentationArtificially expand training data by applying transformations (flip, crop, noise)
Class ImbalanceWhen one class has far fewer examples — requires special handling

LLM-Specific Terms

TermOne-Line Definition
LLMLarge Language Model — transformer trained on massive text to predict next tokens
TokenSmallest unit of text the model processes — roughly 0.75 words on average
Context WindowMaximum number of tokens (input + output) an LLM can process in one call
TemperatureControls randomness of output — higher = more creative, lower = more deterministic
Top-p (Nucleus Sampling)Sample from smallest set of tokens whose cumulative probability ≥ p
TokenizationSplitting text into tokens (subwords) — BPE, WordPiece, SentencePiece
EmbeddingDense vector representation of text capturing semantic meaning
Attention MechanismEach token attends to all others — captures long-range dependencies
Self-AttentionAttention within the same sequence — computes Q, K, V from same input
Multi-Head AttentionRun attention multiple times in parallel with different projections, concatenate
Positional EncodingAdds position information to tokens (transformers are permutation-invariant)
BERTBidirectional encoder — reads left and right context, good for understanding tasks
GPTGenerative Pretrained Transformer — decoder-only, causal, good for generation
T5Text-to-Text Transfer Transformer — frames all NLP tasks as text-to-text
Instruction TuningFine-tune base LLM on (instruction, response) pairs to follow user directions
RLHFReinforcement Learning from Human Feedback — trains LLMs to be helpful and safe
Constitutional AIAnthropic's method: model critiques itself against a set of principles
HallucinationModel generates plausible but factually incorrect information
GroundingTying LLM outputs to retrieved facts/documents to reduce hallucinations
System PromptInstructions set before user conversation — defines model role and behavior
Few-Shot PromptingGive model 2–5 examples in the prompt to guide behavior
Chain-of-ThoughtPrompt model to "think step by step" — improves multi-step reasoning
Prompt EngineeringCraft prompts to elicit specific, high-quality outputs from LLMs
Function CallingStructured API for LLMs to output tool calls as JSON schemas
Structured OutputForce LLM to output valid JSON/XML matching a schema

RAG & Vector DB Terms

TermOne-Line Definition
RAGRetrieval-Augmented Generation — retrieve relevant docs, inject into LLM prompt
Vector DatabaseDatabase optimized for ANN search over high-dimensional embedding vectors
ANN SearchApproximate Nearest Neighbor — fast (not exact) similarity search
Cosine SimilarityDot product of normalized vectors — measures angle between embeddings
ChunkingSplitting documents into smaller pieces for embedding and retrieval
Semantic SearchSearch by meaning (embedding similarity) rather than keyword matching
Hybrid SearchCombine keyword (BM25) + semantic (vector) search for better retrieval
RerankingSecond-pass model that re-scores retrieved chunks for relevance
ChromaDBOpen-source vector DB — great for local/development RAG pipelines
PineconeManaged cloud vector DB — enterprise-scale RAG deployments
FAISSFacebook's library for fast ANN search — used inside many vector DBs
pgvectorPostgreSQL extension for vector storage and search
RAGAsFramework for evaluating RAG systems: faithfulness, precision, recall, relevance

Agent & Framework Terms

TermOne-Line Definition
AI AgentLLM that autonomously takes actions (calls tools, observes results) to achieve goals
ReActReasoning + Acting loop: Think → Act (tool) → Observe → repeat
LangChainFramework for building LLM applications — chains, tools, memory, agents
LangGraphGraph-based agent orchestration framework — handles branching, loops, multi-agent
LlamaIndexFramework focused on RAG — document loading, indexing, querying
Tool UseAgent ability to call external functions (search, code, APIs, databases)
Agent MemoryStore conversation history, summaries, or facts for later retrieval
MCPModel Context Protocol — Anthropic's standard for connecting LLMs to tools/data
Multi-AgentMultiple specialized LLM agents collaborating on a task
OrchestratorAgent that routes tasks to specialized sub-agents

Fine-Tuning & Efficiency Terms

TermOne-Line Definition
Fine-TuningUpdate model weights on domain-specific data to improve performance on that task
LoRALow-Rank Adaptation — train small adapter matrices instead of full weights
QLoRAQuantized LoRA — 4-bit quantization + LoRA, fits 70B fine-tuning on 1 GPU
PEFTParameter-Efficient Fine-Tuning — umbrella term for LoRA, prefix tuning, adapters
QuantizationReduce weight precision (32-bit → 8-bit or 4-bit) to shrink model size
GGUFFile format for quantized models — used with llama.cpp for local inference
OllamaRun quantized LLMs locally — ollama run llama3
DistillationTrain small student model to mimic large teacher model's outputs
Model DriftModel performance degrades over time as real-world data distribution shifts
A/B TestingDeploy two model versions to different user groups, compare business metrics

💡 Key Papers to Know (with one-line summaries)

PaperYearOne-Line Summary
Attention Is All You Need2017Introduced the transformer architecture — replaced RNNs for NLP
BERT2018Bidirectional transformer encoder — pretraining for understanding tasks
Language Models are Few-Shot Learners (GPT-3)2020175B model can do few-shot tasks from examples alone
LoRA: Low-Rank Adaptation2021Fine-tune LLMs efficiently by training only small adapter matrices
Retrieval-Augmented Generation (RAG)2020Combine retrieval from a knowledge base with generation — reduces hallucinations
ReAct: Synergizing Reasoning and Acting2022LLMs can reason + use tools iteratively to solve complex problems
Chain-of-Thought Prompting2022Prompt model to think step by step — dramatically improves reasoning
Constitutional AI (Anthropic)2022Use model to critique itself against principles — scales alignment
InstructGPT / RLHF2022RLHF makes language models helpful, honest, and harmless
Llama 22023Open-source LLM competitive with proprietary models — enabled local AI

How to read a paper: Read abstract → intro → conclusion → figures/tables → methods. Rarely need to read word for word.


💡 Essential Libraries Reference

LibraryCategoryWhat It DoesInstall
numpyDataArrays, linear algebra, mathpip install numpy
pandasDataDataFrames, CSV/SQL, data manipulationpip install pandas
matplotlib / seabornVizStatic plots and statistical visualizationspip install matplotlib seaborn
scikit-learnMLClassical ML algorithms + preprocessingpip install scikit-learn
xgboost / lightgbmMLGradient boosting — best for tabular datapip install xgboost
torch (PyTorch)Deep LearningNeural network training — industry standardpip install torch
tensorflow / kerasDeep LearningAlternative DL framework (Google)pip install tensorflow
transformersNLP/LLMHuggingFace models, pipelines, tokenizerspip install transformers
datasetsNLP/LLMHuggingFace dataset hubpip install datasets
langchainLLM AppsChains, agents, tools, memorypip install langchain
langgraphAgentsGraph-based agent orchestrationpip install langgraph
anthropicLLM APIClaude API clientpip install anthropic
openaiLLM APIOpenAI API clientpip install openai
chromadbVector DBLocal vector database for RAGpip install chromadb
pineconeVector DBCloud vector databasepip install pinecone-client
fastapiServingProduction REST APIpip install fastapi uvicorn
streamlitUIQuick ML demo web appspip install streamlit
mlflowMLOpsExperiment tracking, model registrypip install mlflow
dockerMLOpsContainerize ML apps(install separately)

💡 Tools Comparison Table

TaskBeginner ChoiceProduction ChoiceWhy
LLM APIOpenAI GPT-3.5Anthropic Claude 3.5 SonnetClaude better reasoning + longer context
Local LLMOllama + Llama3llama.cppOllama easiest UX
Vector DBChromaDBPineconePinecone managed, scales automatically
RAG FrameworkLangChainLlamaIndexLlamaIndex deeper RAG tooling
Agent FrameworkLangChainLangGraphLangGraph handles complex multi-agent
Experiment TrackingMLflowWeights & BiasesW&B better UI + team collaboration
ML servingStreamlit demoFastAPI + DockerFastAPI for production
Cloud MLGoogle ColabAWS SageMakerSageMaker for enterprise pipelines
Fine-tuningHuggingFace + LoRAAxolotl + QLoRAAxolotl more configurable

🎤 Best Free Resources

YouTube Channels (watch in this order)

  • 3Blue1Brown — Neural networks and backprop visualized (math made beautiful)
  • Andrej Karpathy — Build GPT from scratch — the best deep learning tutorial
  • StatQuest — Statistics and ML concepts explained clearly with visuals
  • Yannic Kilcher — AI paper reviews (intermediate–advanced)
  • Two Minute Papers — AI research highlights (fast overview)
  • Sentdex — Python, pandas, ML projects

Courses (all free unless noted)

  • fast.ai Practical Deep Learning — Best hands-on DL course, free
  • Stanford CS229 — ML theory by Andrew Ng, lecture notes on web
  • Stanford CS224N — NLP with deep learning, lecture videos on YouTube
  • HuggingFace NLP Course — Transformers, fine-tuning, RAG — practical
  • DeepLearning.AI short courses — LangChain, RAG, Agents (2–4 hour courses, free)
  • Andrej Karpathy's Neural Networks: Zero to Hero — YouTube playlist

Key GitHub Repos to Study

  • huggingface/transformers — model implementations
  • langchain-ai/langchain — LLM application patterns
  • langchain-ai/langgraph — agent graph patterns
  • anthropics/anthropic-sdk-python — Claude API examples
  • run-llama/llama_index — RAG patterns

Must-Read Blogs

  • Simon Willison's Weblog — practical LLM engineering
  • Lilian Weng's Blog (lilianweng.github.io) — deep technical LLM guides
  • Anthropic Research Blog — AI safety and frontier models
  • HuggingFace Blog — state-of-the-art model releases

⚠️ Common Mistakes to Avoid

  • Jumping to LLMs without ML foundations — you'll hit a wall when interviewers go deep
  • Watching courses without building — every concept needs a coding project to stick
  • Using GPT-4 API for everything — learn to use Claude, open-source models, and local LLMs too
  • No MLflow/W&B habit — never run experiments without experiment tracking
  • Skipping mathematics — can't explain backprop or attention without linear algebra and calculus

📋 Action Checklist

  • Install all libraries in the reference table and verify with import in a notebook
  • Read the Attention Is All You Need paper (abstract + figures — 30 minutes)
  • Watch Andrej Karpathy's "Build GPT from scratch" (2 hours — most valuable DL resource)
  • Complete one HuggingFace short course (NLP course or RAG course)
  • Star all 5 key GitHub repos and browse their examples directories
  • Build one project using each layer of the stack (data → model → RAG → agent → serving)
  • Subscribe to Simon Willison's blog and Lilian Weng's blog
  • Read the RAGAs paper and implement basic RAG evaluation on one of your projects