dharmendrach / bert_quora_question_pairs

BERT Model Fine-tuning on Quora Questions Pairs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BERT Fine-tuning on Quora Question Pairs

This repo contains google colab notebooks for finetuning BERT model on Quora Question Pairs dataset. We use colab TPU runtime for faster training. Medium post on this repo can be found here.

If you are not familiar with BERT, please visit The Illustrated BERT, BERT Research Paper and BERT Github Repo.

For experimenting with latest notebook and more details visit colab notebook.

Run in Google Colab

Evaluation Results

Evaluation results are on BERT base uncased model. We have used train and dev set from GLUE Quora Question Pairs Task.

Metrics Train Set Dev Set
Loss 0.150 0.497
Accuracy 0.969 0.907
F1 0.959 0.875
AUC 0.969 0.902
Precision 0.949 0.864
Recall 0.969 0.886

Due to limited resources, It was not possible to finetune on BERT Large model and do hyperparamter tuning.

About

BERT Model Fine-tuning on Quora Questions Pairs

License:MIT License


Languages

Language:Jupyter Notebook 100.0%