demo-chinese-text-binary-classification-with-bert
demo-chinese-text-binary-classification-with-bert copied to clipboard
作者您好,作为一个小白,xiang wen xia这个错误怎么解决.一个上午了,太惨了
你好,我在一个小规模上数据集上使用bert二分类,出现了严重的过拟合,有没有什么好的解决办法
fix current tensorflow and bert-tensorflow version can not run this notebook
跑脚本的时候一开始就报错,似乎是tensorflow2下面不支持bert 的tensorflow.contrib了,可以问下有人知道怎么解决吗?
INFO:tensorflow:Saver not created because there are no variables in the graph to restore INFO:tensorflow:Saver not created because there are no variables in the graph to restore INFO:tensorflow:Writing example 0 of...
請教一下,如果想看到預測之機率值(就是用softmax後的log_probs)該怎麼改,謝謝!
E:\Anaconda\lib\site-packages\tensorflow_hub\registry.py in __call__(self, *args, **kwargs) 43 raise RuntimeError( 44 "Missing implementation that supports: %s(*%r, **%r)" % ( ---> 45 self._name, args, kwargs)) 46 47 RuntimeError: Missing implementation that supports: loader(*('./chinese_L-12_H-768_A-12',),...
Seems tf2.x don't have `tf.Session()`