Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

huggingface transformers change download path

# credit to Stack Overflow user in source link

import os
os.environ['TRANSFORMERS_CACHE'] = '/set/your/path/here'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #huggingface #transformers #change #download #path
ADD COMMENT
Topic
Name
6+7 =