Make a variant of the dataloader which limits a batch to 5000 words or less (by default) for the Pipeline. Should help avoid OOM for things such as a few very long sentence soaking up too many resources. https://github.com/stanfordnlp/stanza/issues/1372
Make a variant of the dataloader which limits a batch to 5000 words or less (by default) for the Pipeline. Should help avoid OOM for things such as a few very long sentence soaking up too many resources. https://github.com/stanfordnlp/stanza/issues/1372