Are frequency/repetition penalizations affected by the input prompt?

Hi there, my question is: are frequency/repetition penalization parameters affected by the input prompt? To make it clear, suppose I set repetition_penalty=1.0 and I want to avoid the excessive repetition of the word ‘dog’, which is present in my input prompt. Does the repetition penalization take into account the ‘dog’ in the input prompt or is influenced by ‘dog’ words which are eventually generated exclusively?

1 Like