Has anyone tried to recreate LLMs in APL ?
Matrix multiplication is common in both of them.
If LLAMA.C is only a few hundred lines then I would be surprised if the APL is more than a page of code.
[0]:https://www.dyalog.com/uploads/conference/dyalog22/presentat...
When I got into BQN recently, I had the same thought and tried my hand at recreating LLM building blocks and saw the compactness APL-likes afford first-hand: https://www.chandergovind.org/blog/5126/aipasi/Array-program...
I'd still probably struggle to do anything mildly complex in APL, though, sadly. It hasn't fully clicked yet, but maybe one day!