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
Problem description: I had to add a use_cpu=True flag to the TrainingArguments in the train_classifier function in steps.py, to get around an MPS issue that seemed to only happen in newer versions of transformers.
This will make classiifier training slower on decent machines.
Someone who knows or has time to look into transformers code — I'd welcome a PR that fixes this!
The text was updated successfully, but these errors were encountered:
Problem description: I had to add a use_cpu=True flag to the TrainingArguments in the train_classifier function in steps.py, to get around an MPS issue that seemed to only happen in newer versions of transformers.
This will make classiifier training slower on decent machines.
Someone who knows or has time to look into transformers code — I'd welcome a PR that fixes this!
The text was updated successfully, but these errors were encountered: