Open cansozbir opened 4 years ago
Hi @cansozbir ,
you can now use the TF-compatible weights for all Turkish BERT models:
from transformers import TFBertModel
model = TFBertModel.from_pretrained('dbmdz/bert-base-turkish-cased')
I haven't worked with Transformers in combination with Keras yet, but I think this issue could be helpful to get it working:
I want to combine this model with a CNN in tensorflow or tensorflow.keras but couldn't handle how to use these checkpoint files. Can someone help me about how to use this model in tensorflow.keras?
file contains : config.json model.ckpt.data-00000-of-00001 model.ckpt.index model.ckpt.meta vocab.txt
Thank u so much Stefan.
Originally posted by @balki7 in https://github.com/stefan-it/turkish-bert/issues/2#issuecomment-589930999