providing the user with possibility to set the cache path 
Dear HuggingFace team,

In the codes of huggingface, most of the time there is some cache_path which is on the home directory,

/idiap/home/rkarimi/.cache/huggingface/datasets/downloads

could you provide me with a command to set a different cache_path? to me this is hard-coded in the codes or I am missing something.

Thank you.

Best regards
Rabeeh


This path is the default `cache_path` of the datasets library, not transformers. You can change it by setting an environment variable named `HF_HOME` to the path you want, the datasets will then be cached in this path suffixed with "/datasets/"<|||||>Hi
thank you, the huggingface codes gebnerally also create an empty folder
titled '  ' when I run it, which is specifies the caching folder address,
could it be possible not to create this folder?
thanks
Best
Rabeeh

On Sat, Nov 21, 2020 at 6:44 PM Sylvain Gugger <notifications@github.com>
wrote:

> This path is the default cache_path of the datasets library, not
> transformers. You can change it by setting an environment variable named
> HF_HOME to the path you want, the datasets will then be cached in this
> path suffixed with "/datasets/"
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/huggingface/transformers/issues/8703#issuecomment-731611519>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ABP4ZCDCFJDCXZAPZ73ORHDSQ74AZANCNFSM4T5ZWXDA>
> .
>
<|||||>We would need to see the code you are running that creates this empty folder named `" "` to be able to help.<|||||>Hi there
I am training seq2seq_trainer codes. I have adapted it for my use case but
in the original version of codes should also happen.
thanks
Best
Rabeeh

On Sun, Nov 22, 2020, 4:46 AM Sylvain Gugger <notifications@github.com>
wrote:

> We would need to see the code you are running that creates this empty
> folder named " " to be able to help.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/huggingface/transformers/issues/8703#issuecomment-731693963>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ABP4ZCCKYJ5TFIKGT2N7LTLSRCCP5ANCNFSM4T5ZWXDA>
> .
>
<|||||>This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
<|||||>This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md) are likely to be ignored.