Remix.run Logo
Snuggly73 a day ago

Congrats - there is a very small problem with the LLM - its reusing transformer blocks and you want to use different instances of them.

Its a very cool excercise, I did the same with Zig and MLX a while back, so I can get a nice foundation, but since then as I got hooked and kept adding stuff to it, switched to Pytorch/Transformers.

icemanx a day ago | parent [-]

correction: It's a cool exercise if you write it yourself and not use GPT

Snuggly73 a day ago | parent [-]

well, hopefully the author did learn something or at least enjoyed the process :)

(the code looks like a very junior or a non-dev wrote it tbh).