p-lambda/wilds

ModuleNotFoundError: No module named 'transformers'

Huiying-Li opened this issue · 2 comments

Hello, in your several files in examples (e.g. optimizer.py and transforms.py), you tried to import some functions from transformers but it is not provided in the current version. Could you please upload the module file? Thanks!

Hi Huiying,

Could I check what you mean by how it's not provided in the current version? The transformers library is an external dependency that's used in the example scripts, and is documented here: https://github.com/p-lambda/wilds/blob/main/README.md?plain=1#L71

You'll need to install it before you can use those scripts. Thanks!

Thanks!