HugAILab/HugNLP

transformers的版本问题

Closed this issue · 1 comments

在使用hugie时,会报错:RuntimeError: Failed to import transformers.trainer_utils because of the following error (look up to see its traceback):
DLL load failed: 找不到指定的模块。请问您用的transformers版本是多少呢?

Hi, you can prepare your environment by pip install -r requirements.txt. We use transformers==4.21.2 as shown in requirements.txt