Skip to content

Glossary: NLP with Transformers

HF_HOME and HF_HUB_OFFLINE

Also written: HF_HOME, HF_HUB_OFFLINE

Two environment variables. `HF_HOME` moves the cache and login token to another folder, and `HF_HUB_OFFLINE=1` stops all Hub contact so only cached files are used.

Where the book teaches it

Related terms

CacheEnvironment variable