princeton-nlp / SimCSE

[EMNLP 2021] SimCSE: Simple Contrastive Learning of Sentence Embeddings https://arxiv.org/abs/2104.08821
MIT License
3.31k stars 502 forks source link

questions related to the comparison with other common data augmentation in Table 1 #259

Closed Shuwen27 closed 8 months ago

Shuwen27 commented 9 months ago

First and foremost, thank you for your outstanding work and the fantastic code repository!

I have a question regarding Table 1. When evaluating other common data augmentation techniques like cropping, word deletion, and replacement, did you also involve the use of distinct dropout masks for pairs? In other words, do the reported results correspond to a model combining different dropout masks for pairs with word deletion, for instance? If this isn't the case, I'm curious about the mechanism you employ to ensure consistent usage of the same dropout masks for pairs when applying these typical data augmentation techniques.

Thank you!

gaotianyu1350 commented 8 months ago

Hi,

In all the other augmentation experiments, unless specified, dropout is also applied as it is part of the standard Transformer training.

Shuwen27 commented 8 months ago

Thank you for your quick response! :)