Shiftometer
.
Observatory
Tools
Support
Get started
EN
Login
AI
Watch & Employment
243 lignes de code suffisent pour créer un modèle d’intelligence artificielle | Veille IA Shiftometer
Back to news
243 lignes de code suffisent pour créer un modèle d’intelligence artificielle
February 18, 2026
•
Numerama_IA
•
Moderate impact
[key points]
Key points
•
Andrej Karpathy, formerly of OpenAI and Tesla, recreated a GPT model with just 243 lines of Python code.
•
This project aims to demystify AIs by showing that the principle of a Transformer can be surprisingly concise.
•
Karpathy uses a text file of 32,000 first names for the AI to learn to predict the next letter, without high-level libraries like PyTorch.
•
The script implements the self-attention mechanism and a minimalist autograd engine for the AI to learn from its mistakes.
•
After training, the script generates new but plausible first names, demonstrating the principle of adjusting parameters to reduce prediction error.
Impacted Jobs
View profile →
View profile →
View profile →
View profile →
View profile →