Case Study

Tuning Positional Embeddings for Long-Context Models

An AI engineer is fine-tuning a language model to summarize very long legal documents. The model is underperforming, and the engineer suspects it's failing to capture relationships between pieces of information that are far apart in the text. The model uses positional embeddings based on the frequency parameter formula: θk=b2(k1)d\theta_k = b^{-\frac{2(k-1)}{d}} To improve the model's ability to handle these long-range dependencies, the frequencies (θk\theta_k) need to correspond to longer periods. Which parameter in the formula (b or d) should the engineer adjust, and in which direction (increase or decrease), to achieve this? Justify your reasoning.

0

1

Updated 2025-10-09

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

Evaluation in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science