今天在使用paddlenlp的ner模型下载模型的时候报了下面的错误:
......
File "/root/anaconda3/lib/python3.7/site-packages/paddlenlp/utils/downloader.py", line 162, in get_path_from_url
fullpath = _download(url, root_dir, md5sum)
File "/root/anaconda3/lib/python3.7/site-packages/paddlenlp/utils/downloader.py", line 219, in _download
f.write(chunk)
OSError: [Errno 28] No space left on device
解决方法
mv /root/.paddlenlp/ /your_dir/
ln -s /your_dir/.paddlenlp/ /root/