Open Play2Boy opened 1 year ago
Mengzi/examples/Mengzi_summary.ipynb
input_tensor["labels"] = target_tensor["input_ids"]
padding部分不需要计算loss
Mengzi/examples/Mengzi_summary.ipynb
input_tensor["labels"] = target_tensor["input_ids"]
padding部分不需要计算loss