Certainly! Here’s a refined version of your message:
Dear [Name],
I want you to know how much you inspire me in my academic endeavors. Your intelligence and dedication motivate me to strive for excellence in my schoolwork. I truly look up to you, and I am doing my best to follow your example.
Thank you for being such a positive influence in my life.
Sincerely,
[Your Name]
Feel free to customize it further if you wish!