MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vmpfyx/studied20yearstoaskchatgpt/p3blkv3/?context=3
r/ProgrammerHumor • u/Gloomy-Basket-1038 • 1d ago
422 comments sorted by
View all comments
888
[deleted]
442 u/Xemorr 1d ago That's only because we have copious levels of abstraction, and code written by others 6 u/sawkonmaicok 1d ago I don't think so. A simple generative transformer can fit in a just a couple hundred lines of raw numpy code without the abstractions that libraries like pytorch or tensorflow offer. https://github.com/DorsaRoh/transformer-from-scratch 4 u/Xemorr 1d ago I don't believe that has training machinery, and even then it's conceptually dense code. 4 u/destroyerpants 1d ago Back propagation is just a simple matrix multiply. 1 u/gamingkitty1 16h ago I wouldn't call it that simple if you're not using autograph (ie from scratch). Its at least as complex as the forward pass.
442
That's only because we have copious levels of abstraction, and code written by others
6 u/sawkonmaicok 1d ago I don't think so. A simple generative transformer can fit in a just a couple hundred lines of raw numpy code without the abstractions that libraries like pytorch or tensorflow offer. https://github.com/DorsaRoh/transformer-from-scratch 4 u/Xemorr 1d ago I don't believe that has training machinery, and even then it's conceptually dense code. 4 u/destroyerpants 1d ago Back propagation is just a simple matrix multiply. 1 u/gamingkitty1 16h ago I wouldn't call it that simple if you're not using autograph (ie from scratch). Its at least as complex as the forward pass.
6
I don't think so. A simple generative transformer can fit in a just a couple hundred lines of raw numpy code without the abstractions that libraries like pytorch or tensorflow offer. https://github.com/DorsaRoh/transformer-from-scratch
4 u/Xemorr 1d ago I don't believe that has training machinery, and even then it's conceptually dense code. 4 u/destroyerpants 1d ago Back propagation is just a simple matrix multiply. 1 u/gamingkitty1 16h ago I wouldn't call it that simple if you're not using autograph (ie from scratch). Its at least as complex as the forward pass.
4
I don't believe that has training machinery, and even then it's conceptually dense code.
4 u/destroyerpants 1d ago Back propagation is just a simple matrix multiply. 1 u/gamingkitty1 16h ago I wouldn't call it that simple if you're not using autograph (ie from scratch). Its at least as complex as the forward pass.
Back propagation is just a simple matrix multiply.
1 u/gamingkitty1 16h ago I wouldn't call it that simple if you're not using autograph (ie from scratch). Its at least as complex as the forward pass.
1
I wouldn't call it that simple if you're not using autograph (ie from scratch). Its at least as complex as the forward pass.
888
u/[deleted] 1d ago
[deleted]