Machine Learning Primer -- Python Tutorial




Claudius Gros, WS 2025/26

Institut für theoretische Physik
Goethe-University Frankfurt a.M.

Generative Finetuning

base model → chatbot

AI generated illustrations

chain of thought (CoT)

AI generated illustration



  user input     self-generated prompt (thinking)    response 
Revisiting LLM Reasoning via Information Bottleneck (2025)

robot laws


  system prompt    user input    chain of thought    response 

customized AIs

AI psychology

[Yao et.al, 2023]

Tree of Thoughts:
Deliberate Problem Solving with Large Language Models



foundation models

GPT - generative pretrained transformer

automatic pretraining by predicting next word
$ \begin{array}{rl} {\color{red}\equiv} & \mathrm{base\ mode\ (GPT\!-\!3)} \\[0.0ex] {\color{red}+} & \mathrm{human\ supervised\ finetuning\ (SFT\ model)} \\[0.0ex] {\color{red}+} & \mathrm{human\ supervised\ reinforement\ learning} \\[0.0ex] {\color{red}\Rightarrow} & \mathrm{chat\ assistent\ (foundation\ model)} \end{array} {\color{red}+} & \mathrm{chain-of-thoughts training} \\[0.0ex] $

[Foundation Models for Decision Making]


applications / tasks on top of foundation model


LLM fact sheet

a short history of the future