I have the same issue here on Win10Pro. In my code, I try to force:
os.environ[‘TRANSFORMERS_CACHE’] = ‘E:\01- NLP Projects\02- Hugging Face\.cache’
os.environ[‘HF_DATASETS_CACHE’] = ‘E:\01- NLP Projects\02- Hugging Face\.cache’
But still, HF is using the default cache directory for both dataset and model elements.
I do not know how to fix it.