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
I found that setting max_sentences to some an int number helps, e.g. 128 (depending on your GPU memory) in the SentenceEncoder(). Otherwise, SentenceEncoder() treat one sentence as one batch.
@hoschwenk : I'm fairly new to using LASER (which is awesome!). You mention multiple threads and bunch mode... Is there any documentation you can point me to help me take advantage of these features? The FLASK API provided by the docker deployment seems to be strictly single-threaded.
TIA
I found that in CPU mode, the speed of the generation of embedding is about 26 sentences per hour. Is that slow or normal?
The text was updated successfully, but these errors were encountered: