sentence1: hence , we introduce an attention mechanism to extract the words that are important to the meaning of the post , and aggregate the representation of those informative words to form a vector .
sentence2: in order to amplify the contribution of important words in the final representation , we use a context-aware attention mechanism , that aggregates all the intermediate hidden states using their relative importance .