Skip to content

Commit

Permalink
change num_workers to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
janrth committed Feb 20, 2023
1 parent edf9922 commit ed05768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion train_chatbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def detokenize_fct(x):
train_loader = DataLoader(dataset=dataset,
batch_size=batch_size,
shuffle=True,
num_workers=2)
num_workers=0)

# Loss and optimizer
criterion = nn.CrossEntropyLoss()
Expand Down

0 comments on commit ed05768

Please sign in to comment.