You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the code runs, the maximum passage length becomes the smaller of the two variables, self.opt.text_maxlength and gpu_embedder_batch_size. By default, gpu_embedder_batch_size is set to 512, and if you run the code without modifying default option, most BERT-style dual encoders will work without issues (see line 74).
However, if you reduce gpu_embedder_batch_size to conserve GPU memory, unexpected results can occur without warning.
When the code runs, the maximum passage length becomes the smaller of the two variables,
self.opt.text_maxlength
andgpu_embedder_batch_size
. By default,gpu_embedder_batch_size
is set to 512, and if you run the code without modifying default option, most BERT-style dual encoders will work without issues (see line 74).However, if you reduce
gpu_embedder_batch_size
to conserve GPU memory, unexpected results can occur without warning.atlas/src/atlas.py
Lines 61 to 89 in f8bec5c
So, it is recommended to modify line 74 as follows (as done in other parts of the code):
The text was updated successfully, but these errors were encountered: