Weights over DNS
Download the weights as TXT records, then compute locally.
DNS can store model weights. It can also supply the multiplication and addition tables to use them. This demo asks stock BIND to do both.
Horrible idea by Laura de Vesine.
Download the weights as TXT records, then compute locally.
Look up every multiplication and addition in DNS.
Keep each DNS answer and reuse it.
Each run uses the same weights and random seed. We compare every score and generated word.
Run the demo, then step through the queries.—The slider shows each recorded query and the answer BIND returned.
The model has a vocabulary of 15 words and 225 weights. It predicts the next word from the previous one. BIND serves the arithmetic tables as TXT records; Python connects the operations and picks a word from the resulting scores.
The 789 TXT records could live in Route 53 or a Cloudflare zone with enough record capacity. This site uses BIND on the same host as the client. Moving the records off-host would add a network round trip to every operation.