Hi BERT enthusiasts!
Due to an update in the packages we use, some small modifications have been made to the Colab and they will not appear in the video. But don't worry, it will be up to date in the provided Colab file and here are those small changes:
The name of the variables in the inputs have been change so we just need to change
_, sequence_output = self.bert_layer([inputs["input_ids"],
inputs["input_mask"],
inputs["segment_ids"]])to
_, sequence_output = self.bert_layer([inputs["input_word_ids"],
inputs["input_mask"],
inputs["input_type_ids"]])Enjoy the rest course!
Martin.