
CoS-E
Language586 ops116.5M params
A Transformer decoder language model trained to predict the next word.
Language · 586 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
How this diagram was made
transformers.AutoModelForCausalLM.from_config()
GPT, short for Generative Pre-trained Transformer, is a model focused on learning text representations and transferring them to tasks. It trains the Transformer decoder to predict the next word and is then fine-tuned on labeled data.
It is suited to natural language understanding tasks such as textual entailment, question answering, semantic similarity and document classification. GPT uses absolute position embeddings, so inputs should be padded on the right.
Key idea. GPT trains a Transformer decoder to predict the next word and then fine-tunes it on labeled data.
AI-written summary, based on the model's documentation and checked automatically against it; not reviewed by a person. Corrections welcome.