Skip to content
Discussion options

You must be logged in to vote

We can apply the data preparation function to all of our training examples using dataset's .map method. The argument num_proc specifies how many CPU cores to use. Setting num_proc > 1 will enable multiprocessing. If the .map method hangs with multiprocessing, set num_proc=1 and process the dataset sequentially. as mentioned in the fine-tune jupyter notebook

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by abdo96
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant