Gartner interview question

Difference between word2vec and bert model's architecture