file chat/dialogues.py:239
should while labels[current_idx] != assistant_token_id and current_idx < len(labels):
be while current_idx < len(labels) and labels[current_idx] != assistant_token_id: ?
chat/train.py:204
should mask_user_labels(tokenizer, dialoguetemplate, labels)
be:
for in labels:
mask_user_labels(tokenizer, dialoguetemplate, )
file chat/dialogues.py:239 should while labels[current_idx] != assistant_token_id and current_idx < len(labels): be while current_idx < len(labels) and labels[current_idx] != assistant_token_id: ?
chat/train.py:204 should mask_user_labels(tokenizer, dialoguetemplate, labels) be: for in labels: mask_user_labels(tokenizer, dialoguetemplate, )