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
Traceback (most recent call last):
File "/p/project/opengptx-elm/thellmann1/workdir/lm_eval_setup/lm-evaluation-harness/main.py", line 93, in <module>
main()
File "/p/project/opengptx-elm/thellmann1/workdir/lm_eval_setup/lm-evaluation-harness/main.py", line 59, in main
results = evaluator.simple_evaluate(
File "/p/project/opengptx-elm/thellmann1/workdir/lm_eval_setup/lm-evaluation-harness/lm_eval/utils.py", line 243, in _wrapper
return fn(*args, **kwargs)
File "/p/project/opengptx-elm/thellmann1/workdir/lm_eval_setup/lm-evaluation-harness/lm_eval/evaluator.py", line 72, in simple_evaluate
lm = lm_eval.models.get_model(model).create_from_arg_string(
File "/p/project/opengptx-elm/thellmann1/workdir/lm_eval_setup/lm-evaluation-harness/lm_eval/base.py", line 115, in create_from_arg_string
return cls(**args, **args2)
File "/p/project/opengptx-elm/thellmann1/workdir/lm_eval_setup/lm-evaluation-harness/lm_eval/models/huggingface.py", line 201, in __init__
self.tokenizer = self._create_auto_tokenizer(
File "/p/project/opengptx-elm/thellmann1/workdir/lm_eval_setup/lm-evaluation-harness/lm_eval/models/huggingface.py", line 502, in _create_auto_tokenizer
tokenizer = super()._create_auto_tokenizer(
File "/p/project/opengptx-elm/thellmann1/workdir/lm_eval_setup/lm-evaluation-harness/lm_eval/models/huggingface.py", line 335, in _create_auto_tokenizer
tokenizer = self.AUTO_TOKENIZER_CLASS.from_pretrained(
File "/p/project/opengptx-elm/thellmann1/workdir/lm_eval_setup/pyenv_lmeval/lib/python3.10/site-packages/transformers/models/auto/tokenization_auto.py", line 688, in from_pretrained
raise ValueError(
ValueError: Tokenizer class HFBloomTokenizerFast does not exist or is not currently imported.
transformers/src/transformers/models/auto/tokenization_auto.py
Solution: A patch where trust_remote_code from model_args is passed to AutoTokenizer.from_pretrained
The text was updated successfully, but these errors were encountered:
Error while running:
Solution: A patch where
trust_remote_code
frommodel_args
is passed toAutoTokenizer.from_pretrained
The text was updated successfully, but these errors were encountered: