openai-cookbook
openai-cookbook copied to clipboard
Averages in Embedding_long_inputs.ipynb are weighted by vector length
The notebook Embedding_long_inputs.ipynb performs a weighted average of the embeddings by length of vector, however I believe the average should be weighted by length of chunk.
Great catch. @filipeabperes, do you want to fix this?
❗ on it