Skip to content

The full GPT model

The complete model: token + positional embeddings → N transformer blocks → final LayerNorm → output projection to vocab logits.

  • @node-llm/core → src/model/gpt.ts — GptModel, GPT_CONFIG_124M