-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Description
Line 134 in 3eb6f2c
| all_embeddings.append(torch.tensor(get_openai_embedding(inputs))) |
should be
all_embeddings.append(torch.tensor(get_openai_embedding(inputs[i:(i+batch_size)])))otherwise will cause assert error in
Line 99 in 3eb6f2c
| assert embeddings.shape[0] == len(dialogs), "Lengths of embeddings and dialogs do not match" |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels