Bug fix: idx_val_pos and idx_val_neg should have the same lengths.
Bug fix: idx_val_pos and idx_val_neg should have the same lengths.

PiperOrigin-RevId: 341740159

google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research