Skip to content

Commit

Permalink
Merge pull request #93 from OpenGPTX/fix-offline
Browse files Browse the repository at this point in the history
Fix caching
  • Loading branch information
jjbuschhoff authored Oct 20, 2023
2 parents 93e3595 + 94b8230 commit c6579ae
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lm_eval/tasks/opengptx/germeval2018.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,17 @@ class GermEval2018(Task):
"OFFENSE": "Beleidigung",
}

def download(self, data_dir=None, cache_dir=None, download_mode=None):
args = ()
kwargs = dict(
path=self.DATASET_PATH,
name=self.DATASET_NAME,
data_dir=data_dir,
cache_dir=cache_dir,
download_mode=download_mode,
)
self._download_pushed(args, kwargs, data_dir, cache_dir, download_mode)

def has_training_docs(self):
return True

Expand Down

0 comments on commit c6579ae

Please sign in to comment.