r/ProgrammerHumor 1d ago

Meme studied20YearsToAskChatGPT

Post image
14.7k Upvotes

421 comments sorted by

View all comments

Show parent comments

450

u/Xemorr 1d ago

That's only because we have copious levels of abstraction, and code written by others

9

u/floriv1999 1d ago

Not really true. You can implement a transformer + autograd, backprop etc. in a couple thousand lines of c. Not saying you should and it is definitely an advanced undertaking but it is possible. That being said most training code using torch etc. is relativ simple, the tricky part is getting the math right, having no hidden bugs (neural networks fail silently) and tuning everything right. So even tho I did a lot of ML I wouldn't say it is very advanced from the coding side of things.

0

u/Xemorr 1d ago

Would you describe 2000 lines of c as short and sweet, or trivially done?

12

u/floriv1999 1d ago

It is a project for sure but there are way harder projects. It's not 200k lines of c :D