Shopee-Product-Matching icon indicating copy to clipboard operation
Shopee-Product-Matching copied to clipboard

Why generated bert embeddings are coming "nan", from the get_bert_embeddings function and the loss of model is also nan while training

Open deepanshudashora opened this issue 2 years ago • 0 comments

I am training the mentioned https://github.com/jingxuanyang/Shopee-Product-Matching/blob/master/notebook-text/bert-base-multilingual-uncased-margin-0.8.ipynb method for training the model, but generated embeddings from bert while validation are nan and casing the training to stop

I am using a custom dataset of mine not the shopee dataset

deepanshudashora avatar Jan 06 '23 06:01 deepanshudashora