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

fasttext修改loss #41

Open
ZiqiSun opened this issue Nov 18, 2021 · 1 comment
Open

fasttext修改loss #41

ZiqiSun opened this issue Nov 18, 2021 · 1 comment

Comments

@ZiqiSun
Copy link

ZiqiSun commented Nov 18, 2021

在调用fasttext的时候,由于数据的不均衡,想要对loss进行改写,调用focal loss。请问有开发这个接口吗?

@jimichan
Copy link
Member

loss对象创建是由createLoss更具参数创建的,你可以修改它,加入新的loss

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

2 participants