-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can I use this model as a layer of a larger model? #35
Comments
Hi @Benjamim-EP , I am not a TensorFlow user, so unfortunately I can't give you directions. But it should be possible to adapt a working example for English BERT (or other language) using BERTimbau TensorFlow checkpoint (weights) and config file. |
Hi @Benjamim-EP and @fabiocapsouza , using this model as part of another model should be straightforward, here is a minimal example, that uses BERT as base and adds a classifier head at the top:
The only issue I faced is that the |
I believe this example should be in the README as an example of how to use it with Tensorflow. ;) |
I would like to know how I can use this template as in the example below
`
class DCNNBERTEmbedding(tf.keras.Model):
`
The text was updated successfully, but these errors were encountered: