【发布时间】:2021-03-30 15:26:49
【问题描述】:
直到今天,我一直在使用变压器。但是,我今天导入包的时候,收到了这个错误信息:
In Transformers v4.0.0, the default path to cache downloaded models changed from '~/.cache/torch/transformers' to '~/.cache/huggingface/transformers'. Since you don't seem to have overridden and '~/.cache/torch/transformers' is a directory that exists, we're moving it to '~/.cache/huggingface/transformers' to avoid redownloading models you have already in the cache. You should only see this message once.
Error: Destination path '/home/user/.cache/huggingface/transformers/transformers' already exists
我已尝试安装和卸载该软件包,但仍然无法正常工作。
任何解决此问题的建议将不胜感激。
【问题讨论】:
标签: python huggingface-transformers