Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
deepanshudashora opened this issue Jan 6, 2023 · 0 comments

Comments

@deepanshudashora
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant