Transformers uggingface изменить путь загрузки
# credit to Stack Overflow user in source link
import os
os.environ['TRANSFORMERS_CACHE'] = '/set/your/path/here'
wolf-like_hunter