Advanced level · Module 9 of 10 · 16 guided hours
Text Summarization and Question Answering
Making long documents usable: extractive and abstractive summarisation with ROUGE and faithfulness checks, extractive question answering, and a retrieve-then-read document QA pipeline over public documents.
Learning objectives
- Build extractive and abstractive summarisers and evaluate them
- Build extractive question answering over documents
- Combine retrieval and reading into a document QA pipeline with faithfulness checks
Topics
- extractive summarisation
- abstractive summarisation with pretrained models
- ROUGE and faithfulness
- extractive QA (span prediction)
- retrieve-then-read pipelines
- answering only from sources
Lessons
-
Lesson 1 Extractive and Abstractive Summarisation
Learners build a TF-IDF sentence-scoring summariser, compare it with a pretrained abstractive model and evaluate both with ROUGE and a faithfulness check.
extractive summaryabstractive summarysentence scoringROUGEfaithfulness / hallucination
-
Lesson 2 Extractive Question Answering
Learners use a pretrained extractive QA model that finds the answer span in a passage, evaluate it with exact match and F1 and handle questions that have no answer.
span predictionpipeline('question-answering')SQuADexact match and F1unanswerable questions and score thresholds
-
Lesson 3 A Retrieve-then-Read Document QA Pipeline
Learners combine BM25 retrieval from the Intermediate level with the extractive reader to answer questions over a folder of documents, citing the source passage for every answer.
passage chunkingBM25 retrievalreadersource citationretrieval recall@k
Practical activity
Build and evaluate a summariser (extractive and abstractive, with faithfulness checks) and a retrieve-then-read document QA pipeline over public documents.
Expected outcomes
- Practical summarisation and QA systems
- Faithfulness-aware evaluation
Assessment
Summarisation comparison (40%) and QA pipeline with stage-wise evaluation (60%).
Taught live by an instructor — online or in person. Free course lessons are for self-study and do not lead to a certificate — see registration options.