I Trained My Own AI... It beat ChatGPT

In this source, Felix (PewDiePie) documents his journey of training a custom AI coding model to outperform industry leaders like ChatGPT and Gemini. Despite facing hardware failures and data contamination, he eventually achieves a benchmark score of 39.1%.

Key Moments

• Training Philosophy and Motivation Felix explains his "step-by-step" learning philosophy and why he decided to train a model despite having no prior background in machine learning. 2:04

• The Benchmarking Strategy He identifies a specific weakness in major models regarding "diff format" coding and sets a goal to beat ChatGPT's 18.2% benchmark score. 4:25

• Data Collection and Synthesis A look at the methods used to gather and "synthesize" 100,000 samples of data, including the risks of "razor blades in the burger" (incorrect AI-generated data). 7:05

• Hardware Failures and "Hack Job" Setup The project nearly ends when Felix's "hacked" GPU setup starts smoking, leading to a dead 4090 and a melted power cable. 13:35

• Adding Chain-of-Thought Reasoning To increase the model's intelligence, Felix implements a reasoning step where the AI breaks down complex problems before providing code. 12:18

• Final Results and Benchmarks After multiple failed attempts and correcting the benchmark testing, the model achieves a final score of 39.1%, surpassing Gemini Pro and earlier versions of GPT-4. 21:04

• Lessons on Failure Felix reflects on the necessity of failure in the learning process, citing Linus Torvalds as an inspiration for embracing the struggle. 22:13