Text this: Pretraining Exposure Explains Popularity Judgments in Large Language Models