Short Answer

Input Matrix Dimension Calculation

An internal layer of a Transformer model is being adapted for a new task. This adaptation involves prepending a sequence of new, trainable vectors to the sequence of hidden states received from the preceding layer. If the preceding layer outputs a sequence of 128 hidden state vectors, and 10 new trainable vectors are prepended, what will be the sequence length of the combined input matrix for the current layer? Explain how you arrived at your answer.

0

1

Updated 2025-10-04

Contributors are:

Who are from:

Tags

Ch.3 Prompting - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences

Application in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science