Learn Before
Diagnosing Semantic Repetition
A language model is generating text for a travel blog. Despite having a mechanism that penalizes the repeated use of specific words, it produces the following output: 'The journey was incredible. The trip was amazing. The expedition was wonderful.' Analyze why the existing penalty mechanism is failing and propose a more effective approach to mitigate this specific type of repetition, explaining the underlying principle of your proposed solution.
0
1
Tags
Ch.5 Inference - Foundations of Large Language Models
Foundations of Large Language Models
Computing Sciences
Foundations of Large Language Models Course
Analysis in Bloom's Taxonomy
Cognitive Psychology
Psychology
Social Science
Empirical Science
Science
Related
Diagnosing Semantic Repetition
Diagnosing Semantic Repetition
A language model is configured with a penalty mechanism to reduce repetitive output. During generation, it produces the phrase '...the large canine...' and is now considering the word 'dog' for a subsequent part of the sentence. Which of the following statements best analyzes how a representation-based repetition penalty would function in this specific situation, as compared to a penalty based solely on token frequency?