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 encoding sentences without multiprocessing, it's easy enough to just monitor the progress with tqdm by wrapping the loop (when encoding individual sentences) or just using the built-in progress bar of encode:
Hi,
when encoding sentences without multiprocessing, it's easy enough to just monitor the progress with
tqdm
by wrapping the loop (when encoding individual sentences) or just using the built-in progress bar ofencode
:sentence-transformers/sentence_transformers/SentenceTransformer.py
Lines 140 to 142 in 46a1494
However, when using
encode_multi_process
, that isn't easily possible because everything is hidden inside those methods:sentence-transformers/sentence_transformers/SentenceTransformer.py
Line 230 in 46a1494
sentence-transformers/sentence_transformers/SentenceTransformer.py
Line 277 in 46a1494
Would it please be possible to add progress bar(s) for multiprocess encoding?
Either one progress bar for the whole bunch of sequences, or a progress bar per process. Thank you!
The text was updated successfully, but these errors were encountered: