SimCSE程序报错记录

  • Dataset官方文件:https://huggingface.co/docs/datasets/v1.3.0/
  • ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/1.2.1/datasets/text/text.py
解决方式:https://github.com/princeton-nlp/SimCSE/issues/26
(1)删除/root/miniconda3/envs/env/lib/python3.6/site-packages 下的dataset
(2)将dataset进行升级
pip install datasets==1.3.0

你可能感兴趣的:(SimCSE程序报错记录)