From 9d042745316dc814d5fdba2cdaa50fccc542b451 Mon Sep 17 00:00:00 2001 From: The-One-Who-Speaks-and-Depicts Date: Tue, 20 Jun 2023 12:57:33 +0300 Subject: [PATCH] [fix] delete multiprocessing for evaluation --- examples/seq2seq/minimal_seq2seq.py | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/seq2seq/minimal_seq2seq.py b/examples/seq2seq/minimal_seq2seq.py index 00786e52..2f53b0da 100644 --- a/examples/seq2seq/minimal_seq2seq.py +++ b/examples/seq2seq/minimal_seq2seq.py @@ -36,6 +36,7 @@ "evaluate_during_training": True, "evaluate_during_training_verbose": True, "use_multiprocessing": False, + "use_multiprocessing_for_evaluation": False, # necessary for evaluation, see issue https://github.com/ThilinaRajapakse/simpletransformers/issues/1522 "save_best_model": False, "max_length": 15, }