SimCSE icon indicating copy to clipboard operation
SimCSE copied to clipboard

encode method generate diff vector output

Open mingyao743 opened this issue 3 years ago • 1 comments

So, encode method in tool.py may generate diff results after each run. add model.eval() may solve the problem. also adding a vector saving and reloading function may by helpful

mingyao743 avatar Jul 08 '22 09:07 mingyao743

Hi,

In my case the embedding is the same every time. Do you mind providing the environment you used for us to reproduce the error?

gaotianyu1350 avatar Jul 24 '22 20:07 gaotianyu1350

Stale issue message

github-actions[bot] avatar Aug 24 '22 09:08 github-actions[bot]