MiniCPM icon indicating copy to clipboard operation
MiniCPM copied to clipboard

[Bad Case]: error

Open lhjlhj11 opened this issue 1 year ago • 1 comments

Description / 描述

cos = cos[position_ids].unsqueeze(unsqueeze_dim) # [bs, 1, seq_len, dim] IndexError: index is out of bounds for dimension with size 0

Case Explaination / 案例解释

cos = cos[position_ids].unsqueeze(unsqueeze_dim) # [bs, 1, seq_len, dim] IndexError: index is out of bounds for dimension with size 0

lhjlhj11 avatar Sep 03 '24 09:09 lhjlhj11

请问使用哪个模型的代码出错

LDLINGLINGLING avatar Sep 06 '24 02:09 LDLINGLINGLING

请补充详细信息,该issue暂时关闭。

zh-zheng avatar Sep 18 '24 15:09 zh-zheng