My teacher read it and asked me the meanings of several words.
What kind of words?
They were very artistic and scholarly.
Some people have trouble with language and that's okay. There's probably something that you are really good at, and someone else isn't.
I've been told by my peers that I should be ashamed of my intellect.
You shouldn't feel ashamed about being smart and people shouldn't shame you for that. However if many people keep commenting on that, maybe you should see if you are being too show off and making them feel bad about their intellect.