-
Notifications
You must be signed in to change notification settings - Fork 27.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when running run_clm.py on Python3.9/MacOS #9452
Comments
It seems quite cryptic, but maybe @sgugger has already been confronted to that issue, so pinging him here. |
Never seen this before. There is some code in the HFArgumentParser to make it work with Python 3.9 that was added by @julien-c so maybe he has more insight? |
I want to provide more valuable information about this issue. The field of the corresponding argument
However, it is different on my PC/Python3.7.9.
The critical change of it is the But, I have no idea why the |
#9479 will fix this I believe. |
Closed by #9479! |
Environment info
transformers
version: 4.1.1Information
Model I am using (Bert, XLNet ...): GPT2
The problem arises when using:
The tasks I am working on is:
To reproduce
Steps to reproduce the behavior:
--model_name_or_path gpt2 --dataset_name wikitext --dataset_config_name wikitext-2-raw-v1 --do_train --do_eval --output_dir test-clm/
This error is bizarre cause it only occurs on my OSX and I cannot reproduce it on my PC.
I think the main reason is about the decorator
dataset
, but I am not sure about that.Thanks for any helps.
The text was updated successfully, but these errors were encountered: