Unofficial Hacker News client - receive Push Notifications on replies.

I built an LLM where Gemini 4 wrote the initial weights as code (opens external site)

490 points by umjunsik132 14 hours ago | weights-as-code.pages.dev | 164 comments on HN | Vote on HN (opens Hacker News)

View full thread · View on Hacker News

Comment thread (2)

  1. How did you assign the train, test and validation sets? How big was the dataset?

    Could it be just plain ol' overfit?

    Replies (1)
    1. Good question. And yes, it did overfit in a very specific sense! Fable took one look at the slow Monte Carlo model it was meant to be creating a NN to emulate, and based on analysis of the code, engineered the NN without any training data whatsoever. It didn't fit the network to training data outputs, but essentially replaced the Monte Carlo simulation with an approximate closed-form formula for the outputs it estimates, then just implemented that "simple" formula out of NN parts manually. I then ran both in parallel and compared their outputs, for the same inputs, at runtime, and measured agreement to be ~98%.

      Training an NN from scratch the traditional way was my next experiment, but because my MC model is so slow, and has so many input parameters, it will take a long time (likely months) for me to generate enough training data for the NN to be good enough.