Train your own Word2Vec embeddings, look inside them, and put them to work. Everything happens in one Colab notebook; you fill in the parts marked
[task] and submit the notebook.
Assignment 1 is structured into three main tasks, aimed at deepening your practical understanding of word embeddings. In Task 1 you implement and train Word2Vec models to generate word embeddings; Tasks 2 and 3 guide you on how to use word embeddings effectively.
Teaching team: Juhao Liang, Minghao Wu, Shunian Chen, Ke Ji, Benyou Wang (instructor). Questions: office hours (see the course homepage), the WeChat group, or Blackboard.
| Task | Points | What you do |
|---|---|---|
| Task 1: Train word embeddings with Word2Vec | 50 | Hands-on implementation and training of a Word2Vec model (the Skip-gram model from Tutorial 1) to generate word embeddings. The notebook leaves the key pieces for you to complete. |
| Task 2: Explore word embeddings | 30 | Inspect what the vectors learned: nearest neighbours, similarity, analogies and visualisation, and compare with the pre-trained vectors introduced in Tutorial 1. |
| Task 3: Utilize word embeddings | 20 | Use the embeddings in a downstream task so that the quality of the vectors becomes a measurable number. |
The exact sub-questions, data and scoring cells are inside the notebook; the table summarises the PDF. Pay special attention to every cell marked [task]: these sections are critical for scoring.
This assignment requires the Google Colab notebook at this link. You are required to:
[task].For more detailed instructions, refer to Working with Google Colab.
.ipynb file under Assignment 1.The assignment must be submitted by 11:59 pm, October 23, 2026 (Shenzhen time). Late submissions may be subject to penalties; see the late policy on the course homepage. Assignment 1 counts for 10% of the course grade. Work individually; you may discuss ideas with classmates, but the code and results you submit must be your own, and any use of generative AI should be stated in the notebook.
Back to: coursework overview · schedule · Assignment 2