Clarification of calculation used in Transformer tutorial

Hello All,

My query is related to the Transformer tutorial mentioned in below link.https://www.analyticsvidhya.com/blog/2019/06/understanding-transformers-nlp-state-of-the-art-models/.
While calculating dimension of the key vector,it has been assumed as 2 for the sentence ‘Action gets results’.
I am starting with Transformer ,pointers to understand this concept would be appreciated.

© Copyright 2013-2019 Analytics Vidhya