You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 3, 2024. It is now read-only.
There are two inputs with shape (batch_size, 512). For token input you should load vocab.txt just like the demo, then map words to indices. The segment input is a zero array if you don't need to compare two parts of the text input.
Let's say I'm trying to load a pretrained BERT model from a checkpoint, add layers after it and build the model with Model.compile():
What does the input have to look like if BERT is the first "layer"? Would be nice to have a simple example.
The text was updated successfully, but these errors were encountered: