An adaptive transformer model for anomaly detection in wireless sensor networks in real-time. (February 2023)