Thomas Piacentini
← Atelier

18 · Éthique, sûreté et alignement

Éthique, sûreté et alignement

Texte original · anglais

Build AI that helps humanity. Not optional.

Start this phase on GitHub

Prerequisites: Phase 10 Lessons 06, 07, and 08 on SFT, RLHF, and DPO.

First lesson: Instruction-Following as Alignment Signal

Run this command from the repository root:

bash
python3 phases/18-ethics-safety-alignment/01-instruction-following-alignment-signal/code/main.py

Keep the command, exit code, policies with and without the KL penalty, reward and KL trajectories, and one sentence naming the proxy failure you observed.

Next action: Change the KL coefficient, predict policy drift, then continue to Reward Hacking and Goodhart's Law.

Browse the full Phase 18 lesson list or the cross-phase roadmap.

Continuer étape par étape.

Code et livrables 1
Ce que vous en retenez

Enregistré dans votre carnet sur cet appareil.

Sources et limites

Les repères de lecture sont déclaratifs. Les résultats de tests sont enregistrés séparément ; ils valent pour les cas exécutés.

AI Engineering from Scratch · 3f9715c · MIT

Télécharger ce fichier ↓