Earlier quoted context omitted.
I feel like this is the true frontier, making smaller models that can do more than their predecessors. If we can crack this space to where you can get reasonable outputs from "mediocre hardware" it would be worthwhile, even if its somewhat inferior to frontier models, we can't forget that not long ago, frontier models are nowhere near as good as they are today, and tomorrow's models will likely be even better.
That's exactly what I had in mind. When I started this, I was jumping back and forth between this thought: "Can this model size actually generate logical English text?" and I played with a few different models of the same size and I was really really depressed when seeing how bad they are.... but then I discovered more and more tiny models and LaMini-125M, LaMini-256M, and nanowhale-100m, and SmolLM2-135M-Instruct ar…
Making a vintage LLM from scratch
21–30 of 32 posts
Re: Making a vintage LLM from scratch
#22"The code is semi-vibe-coded with whatever LLM I had with VS-Code and PI (OpenRouter models)." I appreciate the honesty, but now there's no journey, and that's what I'm interested in. I can ask a LLM myself.
Re: Making a vintage LLM from scratch
#23Earlier quoted context omitted.
I feel like this is the true frontier, making smaller models that can do more than their predecessors. If we can crack this space to where you can get reasonable outputs from "mediocre hardware" it would be worthwhile, even if its somewhat inferior to frontier models, we can't forget that not long ago, frontier models are nowhere near as good as they are today, and tomorrow's models will likely be even better.
That's exactly what I had in mind. When I started this, I was jumping back and forth between this thought: "Can this model size actually generate logical English text?" and I played with a few different models of the same size and I was really really depressed when seeing how bad they are.... but then I discovered more and more tiny models and LaMini-125M, LaMini-256M, and nanowhale-100m, and SmolLM2-135M-Instruct ar…
And anyway, I think the most important thing is dataset quality. Dumping in whatever dataset you find on Huggingface is a recipe for mediocrity, so I'm also spending a lot of time on that.
Re: Making a vintage LLM from scratch
#24I've spent a ton of time reading up on math, ML, and DL through books, open courses, and papers, while also studying all the major open-source LLM architectures.
Since I only have one DGX Spark machine to run experiments, I can't train a massive LLM from the get-go. Instead, I'm experimenting with an auto-scaling parameter mechanism, which has led me to create a pretty unconventional and fun architecture!
Why go through all this effort when modern LLMs can basically write simple LLMs themselves, and I clearly can't out-compute the big tech giants?
Honestly, it's because I'm obsessed with the core mechanics of LLMs. I want to build something exclusively for myself and hopefully discover some completely undiscovered mechanisms along the way.
Just keeping a record and sharing my progress—having fun with it is truly the biggest reward!
I'll share it when I get a chance!
Re: Making a vintage LLM from scratch
#25Recently, I started a personal project to build an LLM from zero. I've spent a ton of time reading up on math, ML, and DL through books, open courses, and papers, while also studying all the major open-source LLM architectures. Since I only have one DGX Spark machine to run experiments, I can't train a massive LLM from the get-go. Instead, I'm experimenting with an auto-scaling parameter mechanism, which has led me t…
Re: Making a vintage LLM from scratch
#26"The code is semi-vibe-coded with whatever LLM I had with VS-Code and PI (OpenRouter models)." I appreciate the honesty, but now there's no journey, and that's what I'm interested in. I can ask a LLM myself.
Re: Making a vintage LLM from scratch
#27Recently, I started a personal project to build an LLM from zero. I've spent a ton of time reading up on math, ML, and DL through books, open courses, and papers, while also studying all the major open-source LLM architectures. Since I only have one DGX Spark machine to run experiments, I can't train a massive LLM from the get-go. Instead, I'm experimenting with an auto-scaling parameter mechanism, which has led me t…
Re: Making a vintage LLM from scratch
#28super inspiring! thanks for sharing!
Re: Making a vintage LLM from scratch
#29There are certain things you can only truly learn by doing. I remember doing Linux From Scratch over a weekend and the depth of linux that I still understand to this day. Thanks for the writeup. A more granular followup would be cool too.
Re: Making a vintage LLM from scratch
#30Recently, I started a personal project to build an LLM from zero. I've spent a ton of time reading up on math, ML, and DL through books, open courses, and papers, while also studying all the major open-source LLM architectures. Since I only have one DGX Spark machine to run experiments, I can't train a massive LLM from the get-go. Instead, I'm experimenting with an auto-scaling parameter mechanism, which has led me t…
Most hobbyists rent the compute for training models instead of needing to purchase it all out right.
Cloud rentals are usually billed hourly. Since I constantly tweak the architecture and run it again, having a local rig completely kills any cost anxiety—it's just a one-off payment.
Plus, regular users can't even get access to H100s anyway. I applied on AWS and GCP before and couldn't get them.