14 points · by a_w · 2y ago · 17 comments
My 16 year old nephew lives in an East African nation where there is practically no internet access.
Last week he asked me for advise as to how to go about training an open source LLM using an on disk Wikipedia (~80 GB).
Any suggestions? Thanks!
Here's his "1 hour intro to LLMs" video: https://www.youtube.com/watch?v=zjkBMFhNj_g
I will try to download it and send it to him.
Most decent LLMs probably were already trained on wikipedia, that doesn't stop them from hallucinating when asked questions about it.
You can download llamafile and several models, put them on a USB drive or hard drive, them send the drive to him via DHL.
I think he wants to tinker, and learn more about how they work. What I neglected to mention is that he's already learned to program (developing Android apps, and he's also learned Python). He is a very bright and curious kid.
LLM training in simple, raw C/CUDA
----------------------------------
https://github.com/karpathy/llm.c
It is only 1,000 lines of easy to read C code. There is also Python reference code.
I will do some research over the weekend. Thanks for mentioning it!