सर्वोत्तम अभ्यास
HuggingFace
30/07/202682925 व्यू
Frequently Asked Questions
-
Models downloaded from HuggingFace take up a significant amount of space on the system drive, resulting in insufficient space on the system drive. By default, HuggingFace cached models are stored in the /root/.cache directory. You can save the model cache to a data disk using the following method:
终端中执行: export HF_HOME=/root/webcal-tmp/cache/ 或者Python代码中执行: import os os.environ['HF_HOME'] = '/root/webcal-tmp/cache/'
