AmreetNanda/TransformerFromScratch ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple Python project that shows a transformer model built from scratch, not using a ready made high level transformer library.
I want the code to be easy to read and learn from, so someone can follow how the pieces fit together, like embeddings, attention, the feed forward part, and the full model. Please include a small example or demo script that runs the model on some toy data so I can see it working end to end.
Set it up like a normal package with clear source code, a basic setup file, and any small helper files needed to install and run it. If you need to look up current best practices or docs online, go ahead. Keep it beginner friendly, well organized, and commented enough that it feels like an educational project rather than a production framework.
Are you gonna build this?
make sure you review the code using coderabbit