📜  抱脸换目录模型 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:23.400000             🧑  作者: Mango

代码示例1
# credit to the Stack Overflow user in the source link
# from Python
import os
os.environ['TRANSFORMERS_CACHE'] = '/blabla/cache/'

# from Bash
"""export TRANSFORMERS_CACHE=/blabla/cache/"""