On Training Data Influence of GPT Models