Not all tokens are created equal: Perplexity Attention Weighted Networks for AI generated text detection