Formula

Value Weight Matrix Formula

The value weight matrix for the jj-th attention head in a multi-head attention mechanism is defined by the formula WjvRd×dτ\mathbf{W}_{j}^{v} \in \mathbb{R}^{d \times \frac{d}{\tau}}. This specifies that Wjv\mathbf{W}_{j}^{v} is a real-valued matrix with dd rows and dτ\frac{d}{\tau} columns, where dd represents the model's embedding dimension and τ\tau represents the number of attention heads.

Image 0

0

1

Updated 2026-06-21

Contributors are:

Who are from:

Tags

Ch.2 Generative Models - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences

Related