Reproducing GPT-2 in llm.c
github.com
Reproducing GPT-2 in llm.c
1–10 of 127 posts
Re: Reproducing GPT-2 in llm.c
#2Re: Reproducing GPT-2 in llm.c
#3Because currently even with open source (?) models we are still consumers, and the training is still the domain of the rich.
Re: Reproducing GPT-2 in llm.c
#4Happy to answer questions!
Re: Reproducing GPT-2 in llm.c
#5Re: Reproducing GPT-2 in llm.c
#6Re: Reproducing GPT-2 in llm.c
#7I just hope than in a couple of years we'll see a submission here titled "Reproduce GPT-4 on legacy RTX 4090." Because currently even with open source (?) models we are still consumers, and the training is still the domain of the rich.
Re: Reproducing GPT-2 in llm.c
#8Hi HN the main (more detailed) article is here https://github.com/karpathy/llm.c/discussions/481 Happy to answer questions!
Re: Reproducing GPT-2 in llm.c
#9Hi HN the main (more detailed) article is here https://github.com/karpathy/llm.c/discussions/481 Happy to answer questions!
First, thank you for your teaching, it has helped me a lot, didn't think I'd ever have the chance to say thank you, but here you are and I hope this gets to you!
Question - what's a relevant (05-2024) baseline to compare the performance of c code to? Back when you made nanoGPT you were seeing "the file train.py reproduces GPT-2 (124M) on OpenWebText, running on a single 8XA100 40GB node in about 4 days of training". So twice the memory on the c node, but unsure of data size /epochs, any other details I may be missing. I.e. what's the net uplift of running c vs "legacy" torch code?
Thanks again for everything.
Re: Reproducing GPT-2 in llm.c
#10Hi HN the main (more detailed) article is here https://github.com/karpathy/llm.c/discussions/481 Happy to answer questions!