Whenever you're ready, walk me through how you'd approach this.
Explain the key architectural and training differences between Word2Vec and BERT.
Address Word2Vec's shallow predictive objectives, static embeddings, context-window training, and variants such as CBOW and Skip-gram. Contrast these with BERT's Transformer encoder, bidirectional contextual representations, subword tokenization, masked-language-model objective, and next-sentence pretraining objective. Discuss how each model is used for downstream NLP tasks, including the implications for out-of-vocabulary words, polysemy, fine-tuning, computational cost, and transfer learning. Include a small practical implementation or pseudocode example showing the training setup for both approaches.