irAE-GPT: leveraging large language models to identify immune-related adverse events in electronic health records and clinical trial datasets

BACKGROUND: Large language models (LLMs) have emerged as transformative technologies, revolutionising natural language understanding and generation across various domains, including medicine. In this study, we investigated the capabilities, limitations, and generalisability of Generative Pre-trai…