HN user

croqaz

77 karma

In Ireland.

https://github.com/croqaz/

https://crlf.link/

Posts6
Comments14
View on HN

That's a fair point TBH. I said in my post that this LLM is first of all a learning project and I skipped an important step: the training loop. But on the other hand, how many data scientists are writing their own training loops? Is it even worth it? And how much learning do you want for one project, I mean, where do you stop? Why use "Huggingface Transformers" when you can write it from scratch, for learning? Why use Torch when you can write it from scratch, for learning? Why use Python when you can write in C, etc. It's cheating, right? In my case, I decided to skip the training loop and focus on the data processing and the hyper params and the rest of the higher level steps that took a ton of time anyway, and I reduced the friction. I do get your point tho. Now that I know how to train an LLM, maybe I'll write a training loop from scratch as a project, to learn how to do it.

"A more granular followup would be cool too"

Do you mind expanding this question? More granular in what way? what would you like to know that is missing from the post?

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 are very very decent. So I decided to give it a try.

I am creating my tiny Llama 340M base model from scratch. If you're curious about the steps, challenges and cost, read on. I am still working on the instruct model.

[dead] 4 years ago

What are web snapshots; comparison of the most popular methods: WARC, HTML, rrWeb and a better alternative called "recorded".

The same in Romania. In the 90s, everyone I know had to learn how to write with a fountain pen. For me at least, I write horribly when I use a ballpoint pen, vs a fountain pen. Because the ballpoint slides on the paper much too easy, like on ice, and you need much more discipline to write nicely. A fountain pen nib is generally more scratchy and feels easier to control. My 2 cents anyway...

Wow, I had no idea my crappy post ended on Hacker news! I just collected a bunch of info and links for myself :) I guess I have to update the post with some pictures, at least...