lewispony
Results
2
issues of
lewispony
corrector_correct = corrector_correct + sum( [(output * batch_mask).reshape(-1)[j].equal((batch_out_ids * batch_mask).reshape(-1)[j]) for j in range(len(output.reshape(-1)))]) 纠错和检测模型两个统计方式这里为什么还要reshape(-1),这岂不是一个个token进行比对?本人放入数据进行训练,把最后的输出数据打印进行比对,发现输出跟正确内容差别很大,不知道题主有没有详细看过