Closed StefanBogdan closed 2 years ago
The current implementation gives more weight for the last batch if it has less sentences than all the previous ones. This can be fixed by adding all the sentence embeddings and normalize it by the number of sentences.
The current implementation gives more weight for the last batch if it has less sentences than all the previous ones. This can be fixed by adding all the sentence embeddings and normalize it by the number of sentences.