|
7 | 7 | - Artificial Intelligence |
8 | 8 | - Machine Learning |
9 | 9 | - База |
| 10 | +image: cover.jpg |
10 | 11 | --- |
11 | 12 |
|
12 | | -Introduction to basic concepts of artificial intelligence. You can expand the content here. |
| 13 | +This is the first article in the “Bare minimum” series — a concise look at how AI works. Each piece will cover one idea or concept; I’ll try to keep them short and in order. |
| 14 | + |
| 15 | +We’ll start with common terms, then talk about prompt engineering, RAG systems, and agents that can handle complex multi-step tasks. |
| 16 | + |
| 17 | +**Video:** [Watch on YouTube](https://youtu.be/z9VBZn0XcVk) |
| 18 | + |
| 19 | +## What a language model is |
| 20 | + |
| 21 | +A language model is a system that, given what has already been said, predicts the next word. And so on in a loop: |
| 22 | + |
| 23 | +> The → The cat → The cat sat → The cat sat on → The cat sat on the → … |
| 24 | +
|
| 25 | +Filling its own context with words it has just produced. |
| 26 | + |
| 27 | +## Where we run into them |
| 28 | + |
| 29 | +Any chatbot — whether it’s a support “assistant” that drives us crazy until we ask for a human, or “smart” chats like DeepSeek or ChatGPT — relies on a language model. |
| 30 | + |
| 31 | +The only difference between a support bot and a “smart” one from DeepSeek is scale: the scale of the dataset and the server capacity needed to process it. |
| 32 | + |
| 33 | +## Parameter scale |
| 34 | + |
| 35 | +That leads to **parameter scale**: |
| 36 | + |
| 37 | +- **1–7 billion** — models you can run on a local laptop |
| 38 | +- **Trillions** — models that need server clusters |
| 39 | + |
| 40 | +Models in the trillion-parameter range are called **foundation** models: they have absorbed not just statistics of word sequences, but knowledge encoded in language. Language is not only a medium for communication but also a record of collective experience. |
| 41 | + |
| 42 | +## AI, ML, and neural networks — what’s the difference |
| 43 | + |
| 44 | +**AI (artificial intelligence)** is the broadest term: systems and programs that behave “intelligently” — they solve tasks that usually need human intelligence (speech understanding, chess, image recognition, decision-making, and so on). AI can be built without machine learning (e.g. rules, expert systems). |
| 45 | + |
| 46 | +**ML (machine learning)** is a subset of AI: a way to build AI so the system learns from data instead of hand-written rules. The goal is to find patterns in examples (data) and use them for predictions or decisions. ML includes more than neural networks: decision trees, linear models, clustering, and others. |
| 47 | + |
| 48 | +**NNs (neural networks)** are a subset of ML: models inspired by neurons in the brain (layers, weights, activations). One of the most powerful ML tools, especially for images, text, and speech. **Deep learning** is ML with deep (many-layer) neural networks. |
| 49 | + |
| 50 | +The relationship: **AI ⊃ ML ⊃ NN** — neural networks are a kind of machine learning, and machine learning is one way to implement artificial intelligence. |
| 51 | + |
| 52 | +## Practice what you learned |
| 53 | + |
| 54 | +Short games help you check how well you’ve absorbed the material. |
| 55 | + |
| 56 | +Quiz: |
| 57 | + |
| 58 | +<div style="margin: 1.5em 0;"> |
| 59 | + <iframe |
| 60 | + src="/games/ai-basics-quiz.html" |
| 61 | + style="width: 100%; max-width: 672px; height: 540px; border: none; border-radius: 12px; display: block; margin: 0 auto; background: #0f1117;" |
| 62 | + title="Quiz: test your AI basics" |
| 63 | + ></iframe> |
| 64 | +</div> |
| 65 | +
|
| 66 | +Sort the shelf — drag statements onto the right shelves (AI, ML, NN, parameter scale): |
| 67 | + |
| 68 | +<div style="margin: 1.5em 0;"> |
| 69 | + <iframe |
| 70 | + src="/games/ai-basics-shelves.html" |
| 71 | + style="width: 100%; max-width: 840px; height: 720px; border: none; border-radius: 12px; display: block; margin: 0 auto; background: #0f1117;" |
| 72 | + title="Sort the shelf" |
| 73 | + ></iframe> |
| 74 | +</div> |
0 commit comments