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

关于中文 #11

Open
ljcnh opened this issue Jun 15, 2021 · 6 comments
Open

关于中文 #11

ljcnh opened this issue Jun 15, 2021 · 6 comments

Comments

@ljcnh
Copy link

ljcnh commented Jun 15, 2021

我现在想根据这个模型训练中文,请问需要什么步骤?我应该注意什么吗? 小白求大神们解答

@hitvoice
Copy link
Collaborator

没有什么特别的,用一个靠谱的中文词向量就好。

@ljcnh
Copy link
Author

ljcnh commented Jun 20, 2021

我不知道为什么一直报错:AssertionError: F1 and AUC are only valid for 2 classes. 主要是因为这个断言 这个有什么用吗?
assert args.num_classes == 2 or ('f1' not in args.watch_metrics and 'auc' not in args.watch_metrics),
f'F1 and AUC are only valid for 2 classes.'

@hitvoice
Copy link
Collaborator

F1 和AUC只能用于二分类任务

@Tom-Wangyoucai
Copy link

bro,你是怎么训练中文的可以告诉我一下吗

@zy614582280
Copy link

我在中文数据集上训练,一个batch的损失值高达1W4,不知道哪里出的问题.....

@hitvoice
Copy link
Collaborator

@zy614582280 亲,我们暂不提供开源数据集之外的技术支持哦~

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

4 participants