3 ms·
There was a post yesterday about a 500 line single-file C implmenetation of llama2 with no dependencies. The llama2 architecture is hard coded. It shouldn't be
by pests 3y ago
There was a post yesterday about a 500 line single-file C implmenetation of llama2 with no dependencies. The llama2 architecture is hard coded. It shouldn't be too hard to port to python.
Found the repo, couldn't easily find the HN thread.
https://github.com/karpathy/llama2.c https://github.com/karpathy/llama2.c