You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You have to change the code a little as well. You have to comment out where speaker_id is being referenced in the code. I commented out 3 lines and it works fine for me without further modificaiton;
#42
You have to change the code a little as well. You have to comment out where speaker_id is being referenced in the code. I commented out 3 lines and it works fine for me without further modificaiton;
1-
model_outputs = model(
input_ids=batch["input_ids"],
attention_mask=batch["attention_mask"],
labels=batch["labels"],
labels_attention_mask=batch["labels_attention_mask"],
# speaker_id=batch["speaker_id"],
return_dict=True,
monotonic_alignment_function=maximum_path,
)
2-model_outputs_train = model(
input_ids=batch["input_ids"],
attention_mask=batch["attention_mask"],
labels=batch["labels"],
labels_attention_mask=batch["labels_attention_mask"],
# speaker_id=batch["speaker_id"],
return_dict=True,
monotonic_alignment_function=maximum_path,
)
3- model_outputs_train = model(
input_ids=batch["input_ids"],
attention_mask=batch["attention_mask"],
labels=batch["labels"],
labels_attention_mask=batch["labels_attention_mask"],
# speaker_id=batch["speaker_id"],
return_dict=True,
monotonic_alignment_function=maximum_path,
)
Originally posted by @muhammadsaadgondal in #35 (comment)
The text was updated successfully, but these errors were encountered: