albert icon indicating copy to clipboard operation
albert copied to clipboard

model isn't learning

Open raviolli opened this issue 4 years ago • 1 comments

Hi there, I have loaded up an albert model and loaded the weights just fine no errors or warning. but when I go to train it the loss never goes lower it stays around 0.7 and the accuracy stays around 0.5

I'm trying to perform a fine-tuning with a dense layer of size 2 classes. Any thoughts?

I've checked the data X and Y values and I think their correct. ids is tokenized+encoded. the mask is 1 for ids and 0 for padding. the type is 0 for all tokens. I'm using SpareCategoricalCrossEntropy so the label is 0 or 1 and not OHE.

I'm so stuck. Any help is greatly appreciated.

raviolli avatar Apr 17 '20 02:04 raviolli

Could you post more info like training info? Also, you may want to start with our colab tutorial.

Danny-Google avatar Apr 18 '20 07:04 Danny-Google