← Back to Topic Briefing
⬡ Interactive 3D Simulation 📄 Cited Report 📚 Sources (9) 📊 Infographic 🎬 Studio Video ⚡ Short Video 🎥 Explainer Video ⬇ Download JSON
AI FOR ENGINEERS · PART 01 / 09

🧠 AI For Engineers, Part 1: Core AI Foundations, Neural Networks, Tokens & Prompts — Interactive Concept Mind Map

AI For Engineers, Part 1: Core AI Foundations, Neural Networks, Tokens & Prompts
Ch. 01: Welcome to the Engineering View
• Core Principle: Welcome.
Welcome to the Engineering View
• Welcome.
• Rule / Formula: 01. Welcome to the Engineering View
Operational Rule 2
• Today we will connect the ideas behind artificial intelligence to the decisions you will make as an engineer.
• Rule / Formula: 01. Welcome to the Engineering View
Operational Rule 3
• We will move from neural networks to large language models, follow text as it becomes tokens, and build a useful prompt.
• Rule / Formula: 01. Welcome to the Engineering View
Ch. 02: Terms You'll Hear
• Core Principle: Before we trace the history, here are six core terms you will hear throughout this briefing.
Terms You'll Hear
• Before we trace the history, here are six core terms you will hear throughout this briefing.
• Rule / Formula: 02. Terms You'll Hear
Operational Rule 2
• A large language model, or LLM, is a language-focused neural network trained at large scale.
• Rule / Formula: 02. Terms You'll Hear
Operational Rule 3
• A neural network is a layered mathematical system that transforms numerical inputs into outputs.
• Rule / Formula: 02. Terms You'll Hear
Ch. 03: A Short History
• Core Principle: Artificial intelligence did not begin with chatbots.
A Short History
• Artificial intelligence did not begin with chatbots.
• Rule / Formula: 03. A Short History
Operational Rule 2
• The Dartmouth proposal of 1955 named a research program for the summer of 1956.
• Rule / Formula: 03. A Short History
Operational Rule 3
• Early approaches included explicit rules and symbolic reasoning.
• Rule / Formula: 03. A Short History
Ch. 04: What a Neural Network Computes
• Core Principle: A neural network transforms numbers through connected stages.
What a Neural Network Computes
• A neural network transforms numbers through connected stages.
• Rule / Formula: 04. What a Neural Network Computes
Operational Rule 2
• A simple neuron multiplies its inputs by learned weights, adds a bias, and applies an activation function.
• Rule / Formula: 04. What a Neural Network Computes
Operational Rule 3
• The activation introduces nonlinearity, allowing the network to represent relationships that a single linear calculation cannot.
• Rule / Formula: 04. What a Neural Network Computes
Ch. 05: How the Network Learns
• Core Principle: Training changes the model's parameters.
How the Network Learns
• Training changes the model's parameters.
• Rule / Formula: 05. How the Network Learns
Operational Rule 2
• First, the network makes a prediction.
• Rule / Formula: 05. How the Network Learns
Operational Rule 3
• A loss function measures how far that prediction is from the training objective.
• Rule / Formula: 05. How the Network Learns
Ch. 06: Where LLMs Fit
• Core Principle: A large language model is a language-focused model trained at substantial scale.
Where LLMs Fit
• A large language model is a language-focused model trained at substantial scale.
• Rule / Formula: 06. Where LLMs Fit
Operational Rule 2
• Many widely used generative LLMs are deep neural networks built from Transformer blocks.
• Rule / Formula: 06. Where LLMs Fit
Operational Rule 3
• In a common decoder-only model, training includes predicting the next token from earlier tokens.
• Rule / Formula: 06. Where LLMs Fit
Ch. 07: Layers, Width, Parameters, and Tokens
• Core Principle: Now separate four quantities.
Layers, Width, Parameters, and Tokens
• Now separate four quantities.
• Rule / Formula: 07. Layers, Width, Parameters, and Tokens
Operational Rule 2
• Depth is the number of stacked processing blocks.
• Rule / Formula: 07. Layers, Width, Parameters, and Tokens
Operational Rule 3
• Width describes the size of their internal representations.
• Rule / Formula: 07. Layers, Width, Parameters, and Tokens
Ch. 08: How Text Becomes Tokens
• Core Principle: Before text enters the model, a tokenizer converts it into discrete pieces.
How Text Becomes Tokens
• Before text enters the model, a tokenizer converts it into discrete pieces.
• Rule / Formula: 08. How Text Becomes Tokens
Operational Rule 2
• A token may represent a word, part of a word, punctuation, or bytes.
• Rule / Formula: 08. How Text Becomes Tokens
Operational Rule 3
• Byte pair encoding is one common approach.
• Rule / Formula: 08. How Text Becomes Tokens
Ch. 09: From Tokens to Representations
• Core Principle: Each token is mapped to an integer identifier in the vocabulary.
From Tokens to Representations
• Each token is mapped to an integer identifier in the vocabulary.
• Rule / Formula: 09. From Tokens to Representations
Operational Rule 2
• That identifier is a lookup key, not a score of importance or meaning.
• Rule / Formula: 09. From Tokens to Representations
Operational Rule 3
• The model looks up a learned embedding: a vector of numbers representing that token.
• Rule / Formula: 09. From Tokens to Representations
Ch. 10: Inside a Transformer Block
• Core Principle: Inside a typical Transformer block, attention mixes information across token positions.
Inside a Transformer Block
• Inside a typical Transformer block, attention mixes information across token positions.
• Rule / Formula: 10. Inside a Transformer Block
Operational Rule 2
• It computes numerical comparisons, then uses the resulting weights to combine information from the available context.
• Rule / Formula: 10. Inside a Transformer Block
Operational Rule 3
• Multiple attention heads can capture different relationships.
• Rule / Formula: 10. Inside a Transformer Block
Ch. 11: Generation and the Context Window
• Core Principle: To generate an answer, the model calculates scores for possible next tokens.
Generation and the Context Window
• To generate an answer, the model calculates scores for possible next tokens.
• Rule / Formula: 11. Generation and the Context Window
Operational Rule 2
• These become a probability distribution, and a decoding rule selects a token.
• Rule / Formula: 11. Generation and the Context Window
Operational Rule 3
• The selected token is added to the sequence, and generation continues.
• Rule / Formula: 11. Generation and the Context Window
Ch. 12: A Practical Prompt Structure
• Core Principle: A useful prompt answers four questions.
A Practical Prompt Structure
• A useful prompt answers four questions.
• Rule / Formula: 12. A Practical Prompt Structure
Operational Rule 2
• Role: what perspective should the assistant use? Context: what information, constraints, and audience should it consider? Task: what exactly should it produce or decide? Format: how should the answer be organized? You might request a table, a concise explanation, or a checklist.
• Rule / Formula: 12. A Practical Prompt Structure
Operational Rule 3
• Add an example when the desired result is hard to describe.
• Rule / Formula: 12. A Practical Prompt Structure
Ch. 13: An Engineering Prompt, Assembled
• Core Principle: Here is a complete example.
An Engineering Prompt, Assembled
• Here is a complete example.
• Rule / Formula: 13. An Engineering Prompt, Assembled
Operational Rule 2
• Role: act as a reliability engineer reviewing a prototype pump.
• Rule / Formula: 13. An Engineering Prompt, Assembled
Operational Rule 3
• Context: use the attached test log and supplied acceptance criteria for a new design team.
• Rule / Formula: 13. An Engineering Prompt, Assembled
Ch. 14: Evaluate and Improve the Result
• Core Principle: A good prompt is the start of an engineering process.
Evaluate and Improve the Result
• A good prompt is the start of an engineering process.
• Rule / Formula: 14. Evaluate and Improve the Result
Operational Rule 2
• Check that the answer follows the requested format.
• Rule / Formula: 14. Evaluate and Improve the Result
Operational Rule 3
• Trace factual claims back to the supplied evidence.
• Rule / Formula: 14. Evaluate and Improve the Result
Ch. 15: The Engineer's Mental Model
• Core Principle: Remember the chain: text becomes tokens, tokens become numerical representations, and a trained network computes the continuation.
The Engineer's Mental Model
• Remember the chain: text becomes tokens, tokens become numerical representations, and a trained network computes the continuation.
• Rule / Formula: 15. The Engineer's Mental Model
Operational Rule 2
• Layers describe the model's architecture; they do not grow with your prompt.
• Rule / Formula: 15. The Engineer's Mental Model
Operational Rule 3
• Your practical controls are role, context, task, and format.
• Rule / Formula: 15. The Engineer's Mental Model
Ch. 16: Backup: Training, Pre-Training & Inference
• Core Principle: Welcome to the optional backup glossary.
Backup: Training, Pre-Training & Inference
• Welcome to the optional backup glossary.
• Rule / Formula: 16. Backup Glossary: Training, Pre-Training, and Inference
Operational Rule 2
• First, let us distinguish training, pre-training, and inference.
• Rule / Formula: 16. Backup Glossary: Training, Pre-Training, and Inference
Operational Rule 3
• Training is any process that updates model parameters to reduce error.
• Rule / Formula: 16. Backup Glossary: Training, Pre-Training, and Inference
Ch. 17: Backup: Three Learning Categories
• Core Principle: Machine learning is often grouped into three broad categories.
Backup: Three Learning Categories
• Machine learning is often grouped into three broad categories.
• Rule / Formula: 17. Backup Glossary: Three Learning Categories
Operational Rule 2
• Supervised learning uses examples paired with target labels, such as sensor traces labeled pass or fail.
• Rule / Formula: 17. Backup Glossary: Three Learning Categories
Operational Rule 3
• Unsupervised learning finds structure in unlabeled data, such as clustering similar pump operating patterns.
• Rule / Formula: 17. Backup Glossary: Three Learning Categories
Ch. 18: Backup: Skills, Agents & Persistent Agents
• Core Principle: Finally, separate model weights from workflow wrappers.
Backup: Skills, Agents & Persistent Agents
• Finally, separate model weights from workflow wrappers.
• Rule / Formula: 18. Backup Glossary: Skills, Agents, and Persistent Agents
Operational Rule 2
• Skills are reusable instructions, procedures, and optional tools that help an assistant perform a task consistently, such as a repeatable engineering review procedure; they are not newly trained neural network weights.
• Rule / Formula: 18. Backup Glossary: Skills, Agents, and Persistent Agents
Operational Rule 3
• Agents combine a model with tools and a control loop to work toward a goal across steps, such as inspecting a test log, checking calculations, and drafting a report.
• Rule / Formula: 18. Backup Glossary: Skills, Agents, and Persistent Agents