ahmedmshazly /
gpt_class_activity
COURSEWORKcoursework
ML course activity: a GPT-style transformer built from scratch in PyTorch — procedural version plus an OOP rewrite.
Built a miniature language model from first principles to understand how tools like ChatGPT actually work inside.
- Python 100%
Why this exists
A class activity from the ALU machine-learning course (2023): implementing a small GPT-style model over the OpenWebText corpus, following a from-scratch LLM curriculum. The README is candid that the OOP rewrite 'might have some errors' while the procedural original runs — that honesty is why it stays visible.
Open to internships & contract work · full-time from 2027
Get in touch →