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

Bi-LSTM+CRF model loss appears "nan" #171

Closed
TIANYUZHOU opened this issue Dec 26, 2022 · 1 comment · Fixed by #365
Closed

Bi-LSTM+CRF model loss appears "nan" #171

TIANYUZHOU opened this issue Dec 26, 2022 · 1 comment · Fixed by #365
Labels
bug Something isn't working

Comments

@TIANYUZHOU
Copy link
Collaborator

Using the CoNLL2000Chunking dataset and the Bi-LSTM+CRF model to train the Chunking task loss will appear "nan".

@TIANYUZHOU TIANYUZHOU changed the title Bi-LSTM+CRF model loss will appear "nan" Bi-LSTM+CRF model loss appears "nan" Dec 26, 2022
@lvyufeng lvyufeng added the bug Something isn't working label Dec 27, 2022
@lvyufeng lvyufeng linked a pull request Mar 24, 2023 that will close this issue
@lvyufeng
Copy link
Collaborator

use minspore.ops.logsumexp to avoid overflow problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants