Lice!

A collection of somewhat random thoughts.

How To Train Your Model

I struggle with accepting new technology as a black box; it irks me to use something without knowing how it works (at least in rough terms). This led me to collect a much too broad set of hobbies (that often see less and less engagement as I discover new things to learn; I’m sorry, collection of b/w film sheets in the freezer, I promise I’ll get back to you!). With LLMs being more and more part of our lives, it has started to really annoy me that there is a tool I use but don’t fully understand…

So, as any rational person would, I’ve decided to train a model! However, since my budget is slightly below that of OpenAI and Anthropic, and my datacenter is at the mechanic’s right now, I’ve settled for a time series model. It helps that I’ve a bit of experience in this field, right now working on the metrics database for Axiom and having built DalmatinerDB before.

The wonderful part of time series models is that they are pleasantly small (4M parameters in the case of the model I built). So getting something to work is possible even on home hardware (most of the training I’ve done has happened on an old 2080ti - take that, Anthropic! I don’t need hundreds of billions in cash).

One thing I discovered in the process is that LLMs are incredibly helpful in getting something like this started and moving. As much fun as I poke at Anthropic and OpenAI, going from 0 to a running model that works was possible a lot quicker than if I’d had to write every Python script myself - not to mention that I’d probably have given up on it, as I’ve a big distaste for the idea of using invisible characters as part of control flow …

The flip side of this, and one of my issues with LLMs, is that this does not translate into learning. I could have done all of this without understanding a single thing about how models work, and at least to me that defeats the purpose. They also really suck at explaining things coherently and keeping their eye on the ball instead of wandering off into unrelated side quests.

So I figured I’d start writing a few posts on things: a blog post per topic in basically random order based on what I feel like writing down in the moment. Sorry, reader, this is as much for me as it is for you. Since LLMs make learning hard, writing things down helps me to remember and shape my thoughts, find the things I am missing and put them into words that a human can understand - there is the wonderful saying that the best way to understand a topic is to explain it to someone else (fortunately ‘someone else’ doesn’t even need to be a person, so no harm if no one reads this).

So that’s the preamble. Let’s go!

I originally wanted to start the seires - hah, I’m being optimistic … - with a first topic but 5 of rambling into it figured that this part will likely bore most peope who just want to read about looped transformers so I’ll leave it extra.


Share

comments powered by Disqus