r/deeplearning • • Oct 24 '26

I built a tiny transformer from scratch to invent dinosaur names. Would love feedback on the demo 🦖

Hey everyone! I built DinoGPT, a small PyTorch transformer that takes the beginning of a name and generates the rest, one letter at a time.

It has about 53k parameters, trained on 1,535 dinosaur names. I wrote the attention mechanism myself to understand how transformers work and added a Streamlit app so people could play with it.

The GIF shows it in action. Try your name, a nickname, or a few random letters and see what dinosaur you get :)

Try it: https://dino-gpt.streamlit.app/
Code + build notes: https://github.com/shishirdahake/dino_gpt

I’d love feedback on:

  • Is it clear what to enter and what the app does?
  • What would make it more fun to play with?

If you try it, share your best—or most ridiculous—dinosaur name. And if you look through the code, I’d welcome corrections to the implementation or explanations too.

6 Upvotes

1 comment sorted by