hendrycks / math

The MATH Dataset (NeurIPS 2021)
MIT License
879 stars 85 forks source link

No module named 'dataset.deepmind' #2

Closed crazysal closed 3 years ago

crazysal commented 3 years ago

Hi, similar to previous :

Traceback (most recent call last):
  File "eval_math_gpt.py", line 37, in <module>
    from dataset.deepmind import DeepMindMathDataset
ModuleNotFoundError: No module named 'dataset.deepmind'

On commenting out the same next error :

Traceback (most recent call last):
  File "eval_math_gpt.py", line 360, in <module>
    parser.add_argument('--arch', default='gpt2', choices=transformers.GPT2_PRETRAINED_MODEL_ARCHIVE_LIST)
AttributeError: module 'transformers' has no attribute 'GPT2_PRETRAINED_MODEL_ARCHIVE_LIST'
hendrycks commented 3 years ago

We have updated the script again. Hopefully it's workable.

crazysal commented 3 years ago

still getting the second error. which version of the lib do you have ?

erictang000 commented 3 years ago

Seems to work for transformers 4.3.2 on my end.