Master of Science (M.Sc.) Semester: 4051 Homeworks & Project

Assignments & Project Work

Structured hands-on assignments (HW1–HW3) and capstone research project to implement, train, and evaluate state-of-the-art NLP models.

HW1 Weight: 10% Active

Word Representations, Neural LMs & Tokenization

Released: Week 2
Due: Week 4 - 23:59

Implement Skip-gram with negative sampling, build an autoregressive character/word level recurrent language model, and implement Byte Pair Encoding (BPE) from scratch.

Expected Deliverables:

  • Jupyter Notebook with code & results
  • Written report (PDF)
  • Empirical analysis on embeddings
GitHub Starter CodeGoogle Colab Template
HW2 Weight: 10% Upcoming

The Transformer Architecture & Parameter-Efficient Fine-Tuning (LoRA)

Released: Week 5
Due: Week 7 - 23:59

Construct a multi-head decoder-only Transformer block from scratch in PyTorch, implement Rotary Positional Embeddings (RoPE), and fine-tune an open-source LLM using LoRA on instruction datasets.

Expected Deliverables:

  • PyTorch code package
  • Evaluation curves & ablation table
  • Submission to leaderboard
GitHub Starter CodeGoogle Colab Template
HW3 Weight: 10% Upcoming

RAG Systems, Reasoning (CoT) & Model Alignment (DPO)

Released: Week 8
Due: Week 11 - 23:59

Build a hybrid dense-sparse vector RAG pipeline for knowledge retrieval, implement test-time search/reasoning verification, and perform preference alignment using Direct Preference Optimization (DPO).

Expected Deliverables:

  • Complete RAG application script
  • DPO loss implementation
  • Comparison metrics report
GitHub Starter CodeGoogle Colab Template
Course Project Weight: 20% Upcoming

Course Research & Engineering Project

Released: To Be Announced
Due: Week 15 (Presentations)

Details, research scope, proposal instructions, and milestone timelines for the course project will be announced by the instructor during the semester.

Expected Deliverables:

  • Project Proposal (TBA)
  • Progress Milestone (TBA)
  • Project Presentation (Week 15)
  • Final Code & Technical Report (TBA)
Project Details PageGuidelines to be released by instructor