You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I check the source code where this error occurs and found this strange thing:
As I understand, self.gen_model is the original implementation of GPT2 from Huggingface/transformers so I don't know why the num_workers is passed here. Thus I want to ask whether it is a mistake or can someone help me to fix this bug. Thanks!
The text was updated successfully, but these errors were encountered:
I am trying to follow this example/lambada-train_model.ipynb for my dataset. I am able to run smoothly until the last cell.
(my dataset has only two classes
0
and1
)When I check the source code where this error occurs and found this strange thing:
As I understand,
self.gen_model
is the original implementation of GPT2 from Huggingface/transformers so I don't know why thenum_workers
is passed here. Thus I want to ask whether it is a mistake or can someone help me to fix this bug. Thanks!The text was updated successfully, but these errors were encountered: