ReadTimeoutError: HTTPSConnectionPool(host=‘cdn-lfs.huggingface.co‘, port=443)
问题最近遇到需要从huggingface下载并导入预训练模型SimCSE,然后进行计算文本相似度,代码如下:fromtransformersimportAutoModel,AutoTokenizerimportosos.environ["KMP_DUPLICATE_LIB_OK"]="TRUE"tokenizer=AutoTokenizer.from_pretrained("princeton-n