BERT-NER
BERT-NER copied to clipboard
when i predict on my test data set ,i got this problem.
ValueError: Assignment map with scope only name dense_37 should map to scope only dense_37/bias. Should be 'scope/': 'other_scope/'.
facing same problem
Got same problem.
Got same problem.
I am also searching for the parser to parse new raw text and convert it into the format that the model is able to take in. Any reference?
I made it, will update the results later.
Excuse me. Where does the label_test.txt come from? Man made or machine generated?
Same problem. When i loaded the saved checkpoint to predict on the test set, i got this error message:
ValueError: Assignment map with scope only name dense_37 should map to scope only dense_37/bias. Should be 'scope/': 'other_scope/'.
Same problem. When i loaded the saved checkpoint to predict on the test set, i got this error message:
ValueError: Assignment map with scope only name dense_37 should map to scope only dense_37/bias. Should be 'scope/': 'other_scope/'.
Well, i solved the problem by changing the code 'tf.keras.layers.Dense' to 'tf.layers.dense'
It seems that when adding an additional layer on top of Bert model, using tf.layers.dense would be a better one.