4 ms·
Is this a joke? Can’t tell. OpenAI uses PyTorch to build LLMs
by menzoic 2y ago
Is this a joke? Can’t tell. OpenAI uses PyTorch to build LLMs
- jnhl 2y agoYou could always go deeper and from some points of view, it's not "from the ground up" enough unless you build your own autograd and tensors from plain numpy arrays.
- 0cf8612b2e1e 2y agoNumpy sounds like cheating on the backs of others. Going to need your own hand crafted linear algebra routines.
- TZubiri 2y agoSource please?
- leobg 2y agoPeople think of the Karpathy tutorials which do indeed build LLMs from the ground up, starting with Python dictionaries.
- krmboya 2y agoFrom scratch is relative. To a python programmer, from scratch may mean starting with dictionaries but a non-programmer will have to learn what python dicts are first. To someone who already knows excel, from scratch with excel sheets instead of python may work with them.
- wredue 2y agoFor the record, if you do not know what a dict actually is, and how it works, it is impossible to use it effectively. Although if your claim is then that most programmers do not care about being effective, that I would tend to agree with given the 64 gigs of ram my basic text editors need these days.
- carlmr 2y ago>For the record, if you do not know what a dict actually is, and how it works, it is impossible to use it effectively. While I agree it's good to know how your collections work. "Efficient key-value store" may be enough to use it effectively 80% of the time for somebody dabbling in Python. Sadly I've met enough people that call themselves programmers that didn't even have such a surface level understanding of it.
- atoav 2y agoNo it is not. From scratch has a meaning. To me it means: in a way that letxs you undrrstand the important details, e.g. using a programming language without major dependencies. Calling that from scratch is like saying "Just go to the store and tell them what you want" in a series called: "How to make sausage from scratch". When I want to know how to do X from scratch I am not interested in "how to get X the fastest way possible", to be frank I am not even interested in "How to get X in the way others typically get it", what I am interested in is learning how to do all the stuff that is normally hidden away in dependencies or frameworks myself — or, you know, from scratch. And considering the comments here I am not alone in that reading.
- kenjackson 2y agoYour definition doesn’t match mine. My definition is fuzzier. It is “building something using no more than the common tools of the trade”. The term “common” is very era dependent. For example, building a web server from scratch - I’d probably assume the presence of a sockets library or at the very least networking card driver support. For logging and configuration I’d assume standard I/o support. It probably comes down to what you think makes LLMs interesting as programs.
- atoav 2y agoIt is okay to differ on this. Language is not an exact science. It is however always good to factor in expectations when you describe things. E.g. when a title says it shows you how to do a thing in vanilla javascript from scratch bringing in jquery in the first step makes that tile a lie. If you bring in a hefty dependency on step 1 and run three imported function the vanilla javascript part might be fine, but the from scratch starts to do some heavy lifting.