-
Notifications
You must be signed in to change notification settings - Fork 294
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 is a custom label smoothing used instead of CrossEntropy from torch? #106
Comments
The argument It is added in https://github.com/pytorch/pytorch/pull/63122/files#diff-6b8e21a44da970b14c1d62eb1747af1b09d3914ff1f6354754c62f1f5784cb9dR1107 |
I see, but otherwise the functionality should be the same, right? |
I have not checked that. Will read PyTorch's implementation tomorrow and come back later. Thanks for pointing this out. I was not aware of this argument for |
Thanks, yeah this torch version is quite new. I found it by accident :) |
Please see #107 |
Torch CrossEntropy allows using label smoothing: https://pytorch.org/docs/stable/generated/torch.nn.CrossEntropyLoss.html
Is there any difference between the icefall implementation and the one provided by pytorch?
The text was updated successfully, but these errors were encountered: