persona icon indicating copy to clipboard operation
persona copied to clipboard

关于evaler

Open Fang-git0 opened this issue 2 years ago • 1 comments

直接运行时,遇到问题 ValueError: ('The preds and target should have the same shape,', ' got preds with shape=torch.Size([11, 16]) and target with shape=torch.Size([11, 15]).')

出错位置 f1 = metrics.f1_score(pred_padded.T.to('cpu'), target.T.to('cpu'))

Fang-git0 avatar Mar 22 '22 14:03 Fang-git0

@Fang-git0 不好意思,刚看到你的问题。 现在各个依赖类库都升级很快,本代码库已经两年多没有维护,可能出现各种不兼容;另外聊天AI的研究发展更快,本代码库方法早已过时,所以我不建议你再用本代码库,不如找一些最近发布的相关论文和代码研究更合适。

ghosthamlet avatar Mar 28 '22 02:03 ghosthamlet