Module Owl_rllib_llm.LmSource

A toy autoregressive language model.

An MLP reads the last window tokens, one-hot encoded, and outputs logits for the next token (one-hot input followed by a linear layer is a learned embedding per position). In a batch, every generated position is one row.

Sourcemodule Make (Graph : Owl_neural_graph_sig.Sig) : sig ... end
Sourcemodule S : sig ... end
Sourcemodule D : sig ... end