Frequency penalty lowers the probability that the model repeats the same words or phrases, proportional to how often they have already appeared. This is useful for preventing monotonous lists or loops. Closely related is the presence penalty, which penalizes a word's first occurrence regardless of frequency. Both parameters are usually set in a range from 0 to 2.
