Bert pre-training loss convergence
i am trying to pretrain BERT on my own dataset. Even though the code shows that saving and restoring from checkpoints is occuring, my loss value tends to stagnate at around 7. I am not seeing any convergence at all. What can I do?
Looks like it turned out after all.
i am trying to pretrain BERT on my own dataset. Even though the code shows that saving and restoring from checkpoints is occuring, my loss value tends to stagnate at around 7. I am not seeing any convergence at all. What can I do?
Did you solve this? If so what was the solution?
I got the same problem. I try to set my batchsize to a lager number, like 64, It seems to be convergent
I got the same problem too. The problem was, that one of our training dataset (scraped) had thousands of repeated lines, so the training stuck at a local optimum (around 8). Make sure you check for replicas in your dataset before you train.
I got the same problem too. The problem was, that one of our training dataset (scraped) had thousands of repeated lines, so the training stuck at a local optimum (around 8). Make sure you check for replicas in your dataset before you train.
I got the same problem, could you please tell me which file had the repeated lines?
It's your custom dataset, where you have to look for repeated lines!