-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
--trust_remote_code does it actually do anything? #1932
Comments
Never mind, I'm apparently wrong. |
|
Thank you for taking a look at this! |
Looks like it's because of this line: if config.HF_DATASETS_TRUST_REMOTE_CODE and self.trust_remote_code is None:
warnings.warn("....") Not quite sure what they are going for here. Maybe the env variable currently defaults to |
Yea it's confusing! |
I performed mmlu eval using datasets version 2.20.0. Even if I use the --trust_remote_code argument, a trust_remote_code related error occurs. In datasets version 2.19.2, only warnings related to trust_remote_code are raised and evaluation is performed. I recommend keeping the datasets version below 2.19.2 until internal code changes. |
@baberabb |
Hi @abzb1 @devzzzero , I managed to track this down. Fix and description of what the issue is in #1998 ! |
I'm running
lm_eval --model hf --model_args pretrained=myllamamodel --device cuda:0 --batch_size 4 --tasks lambada_openai,hellaswag,piqa,arc_easy,arc_challenge,winogrande,openbookqa --log_samples --write_out --trust_remote_code -v debug
but it keeps on reporting this:
What am I doing wrong?
The text was updated successfully, but these errors were encountered: