I met some troubles when using bert
Fino2020 opened this issue · comments
Zhenlei Ye commented
AttributeError: 'tuple' object has no attribute 'layer'
when executing inbound_layers = nest.map_structure(lambda t: t._keras_history.layer,
input_tensors)
Macropodus commented
You'd better use the following package version. do not pip install keras-xlnet==0.16.0
tensorflow==1.14 keras==2.2.4 bert-keras==0.41.0