Huggingface变形金刚-AttributeError:'MrpcProcessor'对象没有属性'tfds_map'

问题描述 投票:0回答:1

在GLUE任务上使用Hugginface变形金刚时,出现错误AttributeError: 'MrpcProcessor' object has no attribute 'tfds_map'

我怀疑兼容性问题。

transformer bert hugginface
1个回答
0
投票

我的解决方案是简单地将转换器的版本降级到2.2.0

pip uninstall transformers -y

pip install transformers==2.2.0

© www.soinside.com 2019 - 2024. All rights reserved.