安装BLIP2模型时报错:Can‘t load tokenizer for ‘bert-base-uncased‘. If you were trying to load it from ‘h ...
bert
TensorFlow code and pre-trained models for BERT
项目地址:https://gitcode.com/gh_mirrors/be/bert
免费下载资源
·
报错的信息如下所示:
OSError: Can't load tokenizer for 'bert-base-uncased'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'bert-base-uncased' is the correct path to a directory containing all relevant files for a BertTokenizer tokenizer.
个人尝试解决的方法是:
在执行 python 命令前添加: HF_ENDPOINT=https://hf-mirror.com 变成: HF_ENDPOINT=https://hf-mirror.com python *****
GitHub 加速计划 / be / bert
8
2
下载
TensorFlow code and pre-trained models for BERT
最近提交(Master分支:3 个月前 )
eedf5716
Add links to 24 smaller BERT models. 4 年前
8028c045 - 4 年前
更多推荐
已为社区贡献8条内容
所有评论(0)