skip to content

say hello

Building something around AI memory, agents or on-device models? I read everything that lands in my inbox.

A 40M trainable cap on a frozen 320B model.

private

StreamCap is a small decoder module inserted at the last four-stream boundary of a frozen 320B-class mixture-of-experts foundation model. Training runs on cached activations, so the backbone never has to run during optimiser steps. It is an adapter experiment, not a new foundation model.

highlights

  1. 0139.86M trainable parameters, about 0.012% of the frozen model.
  2. 02Held-out teacher-forced cross-entropy went from 2.38 to 0.31 on 8 conversations.
  3. 03Zero-initialised output, so strength 0 is an exact bypass of the module.
  4. 04Activations extracted from about 306 GiB of FP8 weights on 2×H100 with CPU offload.
  5. 0515 unit tests on a tiny stand-in model.

evaluation & scope

The dataset is tiny (24 train, 8 validation) and the task is identity and style behaviour. Cross-entropy is teacher-forced, free generation through the 320B backbone was not run, and no reasoning gain is claimed.

built with

  • python
  • pytorch
  • transformers
  • safetensors

Built on zai-org/GLM-5.3-Flash (MIT). The foundation model was not trained here.

↑↓ move↵ open⌘K toggle