Multiprocess error while using map function in python with N-Gram language model
Multiprocess error while using map function in python with N-Gram language model Question: I wanna increase the accuracy of my speech2text model with using a N-Gram. So i’m using this line of code to apply the function on the whole dataset as below: result = dataset.map(predict, batch_size=5, num_proc=int(os.environ.get(‘cpu_core’))) The CPU core I set for ‘cpu_core’ …