The Shaving of Yaks is a difficult matter
If you read many blogs, you'll have seen the pattern before. The author proudly
posts about some milestone, promises new posts soon, and then goes quiet for a year
or two.
I posted just over two weeks ago celebrating 20 years of writing here, and I
wanted to reassure those who are eagerly awaiting the next article that
I ATEN'T DEAD --
I'm simply deep in yak-shaving .
What happened was that I started poking into the logit lens ,
an LLM interpretability technique. It was clear to me that to make the point I wanted
to make, I would need two LLMs -- one with weight tying ,
and one without, but otherwise both as similar as I could make them.
However, I hadn't trained a weight-tied model since March and I've made a bunch
of changes to my training setup since then. So I started training a new one.
As it turns out, weight-tied models are trickier to train than models that have an
independent output head, and digging into that was interesting. So the logit lens
post was put on hold while I investigated, so that I could write up some findings about
training weight-tied models.
Then I spotted something odd -- when a model training run failed,
it was failing in what looked like an impossible way. The weights all got updated to non-finite values
in a single step, which I felt should be hard given that
I'm using AMP, which -- as I understood it -- filters out non-finite gradients.
I believe I've worked out what's going on there, and want to write that up. So hopefully
that will be the lowest level of this diversion and it won't turn out to be
yaks all the way down .
We shall see.
Comments
No comments yet. Be the first to share your thoughts.