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

增加新的评估指标 #6

Open
AmingLMH opened this issue Apr 9, 2023 · 1 comment
Open

增加新的评估指标 #6

AmingLMH opened this issue Apr 9, 2023 · 1 comment

Comments

@AmingLMH
Copy link

AmingLMH commented Apr 9, 2023

我想在acc之外,增加其他的模型评价指标,诸如rouge、bleu等,该怎么设置呢?

@shibing624
Copy link
Owner

在 validate_epoch 里面加就好了。我刚好写过这个rouge/bleu,可以参考https://github.com/shibing624/textgen/blob/main/textgen/chatglm/chatglm_utils.py#L133

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