Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
finetune_demo
/finetune_hf.py
这里的process_batch函数中
input_ids.append(tokenizer.eos_token_id)
loss_masks = [False, *loss_masks]
为什么loss_masks添加的False要放前面而不是放在末尾?
Beta Was this translation helpful? Give feedback.
All reactions