Could nanochat be a testbed for recurrent/loop Transformers?
Hi Andrej,
I have been experimenting with nanochat and wondering whether a recurrent Transformer architecture could be applied to pretrain a model like nanochat.
Recent works on recurrent/loop Transformers suggest that repeatedly refining hidden states with shared Transformer blocks may improve reasoning ability and computation scaling.
Do you think it would be interesting to replace the standard single-pass Transformer blocks in nanochat with a recurrent Transformer setup?
From an implementation perspective, would you expect this mainly requires modifying the model architecture (e.g., the forward pass and weight sharing), while keeping the training pipeline mostly unchanged?
I would be curious about your thoughts on whether this direction is worth exploring.
Thanks for creating nanochat!
Source: karpathy/nanochat