Project 04 · Team project · AI/ML

Optimized BERT EQA Model

A team-built extractive question answering model optimized using BERT, layer-wise learning rates and gradient clipping.

Optimized BERT EQA Model project preview

Case study

A university team project focused on improving an Extractive Question Answering model based on BERT.

The team adapted tokenizer behavior, built preprocessing and postprocessing pipelines, and fine-tuned BERT for answer span prediction. Project work explored optimization strategies such as layer-wise learning rate decay and gradient clipping to improve training stability and model performance.

The final model achieved strong performance with an Exact Match score of 78.16% and an F1 score of 85.89%, outperforming baseline configurations.

Project work included:

  • Designed preprocessing and postprocessing pipelines for EQA data
  • Fine-tuned BERT for span-based question answering
  • Applied layer-wise learning rate decay for better optimization
  • Used gradient clipping to stabilize training
  • Evaluated model performance using Exact Match and F1 metrics