LEANCODE: Understanding Models Better for Code Simplification of Pre-trained Large Language Models
Large Language Models for code often entail significant computational complexity, which grows significantly with the length of the input code sequence. We propose LeanCode for code simplification to reduce training and prediction time, leveraging code contexts in utilizing attention scores to repres…