LLM Components Relationship.drawio.png

Note: To view the a full version of the above LLM Components in detail, click on the “More action” on the top right of the above image, view original and zoom to view in detail.

Large Language Models (LLMs) have several key components that contribute to their functionality and performance. These components work together to process text, understand context, generate responses, and perform various language-related tasks. Here are the key components:


1. Input Representation (Feature Representation)


2. Positional Encoding


3. Multi-Head Self-Attention (Attention Maps)