Hello, due to the server not being able to access the internet and connect to the huggingface, I can only download the model and run it on the server. May I ask how to modify the code when using local model files for training and evaluation? My bert base uncased folder is located in the ./hfl/bert-base-uncased folder.
你好,由于服务器不能翻墙上网,连不上huggingface,我只能下载好模型放到服务器中运行。请问使用本地模型文件进行训练与评估,代码该怎么改?我的bert-base-uncased文件夹放在项目./hfl/bert-base-uncased文件夹中。