📅  最后修改于: 2022-03-11 14:46:23.400000             🧑  作者: Mango
# 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/"""