Skip to content

Conversation

work-space-account
Copy link

原有代码逻辑,似乎会在process_batch_eval这一步中将一轮对话中role为user和assistant拆成两轮,后续计算label_token和pred_token的rouge分数的时候,user文本和模型和当前文本预测输出文本做相似度,在compute_metrics里面用奇偶分开读取batched_pred_ids和batched_pred_ids

原有代码逻辑,似乎会在process_batch_eval这一步中将一轮对话中role为user和assistant拆成两轮,后续计算label_token和pred_token的rouge分数的时候,user文本和模型和当前文本预测输出文本做相似度,在compute_metrics里面用奇偶分开读取batched_pred_ids和batched_pred_ids
@sixsixcoder
Copy link
Collaborator

该问题已经在这个commit中合并 #39

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

Successfully merging this pull request may close these issues.

2 participants