minko186 commited on
Commit
cf5bf4c
1 Parent(s): 7ec48d6

increase workers in parallet

Browse files
Files changed (1) hide show
  1. plagiarism.py +1 -1
plagiarism.py CHANGED
@@ -204,7 +204,7 @@ def matching_score(sentence_content_tuple):
204
 
205
 
206
  def process_with_multiprocessing(input_data):
207
- with Pool(processes=1) as pool:
208
  scores = pool.map(matching_score, input_data)
209
  return scores
210
 
 
204
 
205
 
206
  def process_with_multiprocessing(input_data):
207
+ with Pool(processes=4) as pool:
208
  scores = pool.map(matching_score, input_data)
209
  return scores
210