from pathlib import Path
import os
设置变量路径
PYTORCH_PRETRAINED_BERT_CACHE = Path(os.getenv('PYTORCH_PRETRAINED_BERT_CACHE',Path.home()/'.pytorch_pretrained_bert'))
from pathlib import Path
import os
设置变量路径
PYTORCH_PRETRAINED_BERT_CACHE = Path(os.getenv('PYTORCH_PRETRAINED_BERT_CACHE',Path.home()/'.pytorch_pretrained_bert'))