argos-translate
argos-translate copied to clipboard
[Feature request] Support multiple inputs / batch mode
I would like to provide a batch of input texts to the library in hopes of increasing GPU utilization and achieving higher throughput of the application in which I use argos-translate. Taking the example from the readme, the API could be like this: translation_en_es.translate(["Hello World!", "How are you?"])
yes good idea. what do you think @PJ-Finlay
bumping this with hope that batch translation will be added 🙏 @PJ-Finlay