Imported from https://github.com/liujingqiao/distillation_model_keras_bert