报错的信息如下所示:
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 *****