In this way the word 'bank' in above sentences have two different embeddings.
contextualised word embeddings perform better than standard word embeddings in many natural language processing tasks like question answering, textual entailment etc.