$ cat ./ai-news/50699217.md · 2026-11-30

Project claims an LLM generated most of a model's starting weights as code

A Hacker News post describes an LLM whose initial weights were written as code by a Gemini model. Source details are thin, so treat the claims with care.

source
weights-as-code.pages.dev ↗
discussion
Hacker News · 358 pts ↗
written by
DevFlexCo · AI-assisted analysis
tl;dr
  • Ask for model names, data, evaluation method and cost before acting on any AI research claim.
  • Keep AI calls behind a simple interface so you can swap providers or base models later.
  • Track quality, latency and cost per task for your own AI features so you can judge new techniques against real numbers.

What happened

A Hacker News post linked to a project page at weights-as-code.pages.dev. The title says an LLM was built where Gemini 4 wrote the initial weights as code, and that about 97% of the bytes in those weights came from that generated code. The post had 358 points when captured and was posted on November 30, 2026.

The project page is the primary source, and this summary relies only on the title and the community discussion. The discussion leaves basic questions open. One commenter asked where it was noted that Gemma 4 was the initial model, which suggests the starting model is unclear from the material available. Another asked how long the compilation step takes compared with training, and the excerpts do not answer that.

Commenters offered several readings. One first described the work as feature extraction followed by gradient descent, then corrected that to say the LLM was editing the weights of an additional layer. Another compared the idea to code-as-data in Lisp. Others speculated about combining layers from open-weight models, and about whether models could someday update their own weights from each prompt rather than relying on context. These are reader opinions, not findings from the project.

Why it matters

The notable part is the direction, not the headline figure. If a model can generate a large share of another model's parameters as readable code, weights start to look less like opaque binary blobs and more like artifacts you can inspect, diff, version, and regenerate. That would change how teams think about model files.

It also raises a cost question. Generating weights with a larger model has its own compute cost, and whether the approach beats ordinary training depends on numbers the excerpts do not provide. Until someone publishes compile times, training comparisons, benchmark results, and the exact base models, the claim is best read as a research direction rather than a technique to deploy.

What founders and small businesses should do

Most small teams should not rebuild their stack around this yet. It is more useful as a prompt to check your own habits:

  • Ask for reproducible details before acting on any AI research claim. At minimum, look for model names, data sources, evaluation method, and cost.
  • Keep model choices swappable. Place AI calls behind a simple internal interface so you can change providers or base models as the field moves.
  • Measure your own baseline. If you ship an AI feature, track output quality, latency, and cost per task so any new technique is judged against real numbers.
  • Plan for auditing. Generated code inside a model is harder to review than ordinary training code, so keep records of which model produced which artifact and test the results.

For most businesses, the practical gains right now come from better prompts, retrieval over your own documents, and disciplined evaluation, not from changing model internals.

The DevFlexCo take

A small team can apply the useful part of this today by treating model setup as code that is versioned, tested, and reviewed. We build AI products and SEO-first launches for founders in South Florida and beyond, so we see this kind of research as a reason to build clear evaluation and replaceable model layers, not to chase every headline. Start with one measurable AI feature and let real results decide what changes next.

$ devflexco book --discovery-call

Have an idea or a project in mind? Book a free discovery call — we'll scope it with you and show you how to launch it with AI and win your first customers from search.

← back to ai-news