kermitt2 / delft

a Deep Learning Framework for Text https://delft.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a way to disable multiprocessing in Classifier training options as it is for Sequence

oterrier opened this issue · comments

It would be cool if we can explicitely add the boolean parameter multiprocessing when creating a Classifier object as it exists for the Sequence object.
Multiprocessing can cause some issues (on Windows for example) and we should be able to explicitely disable it. For now it is disabled only when use_ELMo or use_BERT is defined.

Olivier