tira-io / tira

The source code for the TIRA Shared Task Platform
https://www.tira.io
MIT License
14 stars 8 forks source link

Allow flag to automatically set HF_HUB_OFFLINE=1 and OFFLINE=True environment variables during tira execution #653

Open mam10eks opened 4 months ago

mam10eks commented 4 months ago

Previously, submissions that used HF transformers had to manually set HF_HUB_OFFLINE respectively OFFLINE environment variables so that the code runs in the TIRA sandbox (i.e., no internet connection). Still, it is very easy to forget this, hence, the goal of this ticket would be to automatically set those environment variables.