tanmaylaud commited on
Commit
1345434
1 Parent(s): bcb5bb3

dataloading script

Browse files
Files changed (2) hide show
  1. .gitattributes +2 -0
  2. climabench.py +1 -4
.gitattributes CHANGED
@@ -54,3 +54,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
54
  *.jpeg filter=lfs diff=lfs merge=lfs -text
55
  *.webp filter=lfs diff=lfs merge=lfs -text
56
  *.csv filter=lfs diff=lfs merge=lfs -text
 
 
 
54
  *.jpeg filter=lfs diff=lfs merge=lfs -text
55
  *.webp filter=lfs diff=lfs merge=lfs -text
56
  *.csv filter=lfs diff=lfs merge=lfs -text
57
+ *.tsv filter=lfs diff=lfs merge=lfs -text
58
+ *.jsonl filter=lfs diff=lfs merge=lfs -text
climabench.py CHANGED
@@ -46,8 +46,6 @@ _HOMEPAGE = "https://arxiv.org/abs/2301.04253"
46
 
47
  _LICENSE = ""
48
 
49
- _URL = "https://drive.google.com/u/0/uc?id=1RnZDC-KMOx8JkhbrFl86TsDpsskZB6fO&export=download&confirm=t&uuid=33b5ea55-a99a-431c-b805-0f298ed2912a&at=AKKF8vzyC_uPCdXvV4-gPlJ11X1J:1688024195786"
50
- # _URL = "https://drive.google.com/drive/folders/1zaOPdS88m2oMRqmDGs4KqtWEIRJcPsMO"
51
  _Climabench_BASE_KWARGS = dict(
52
  citation=_CITATION,
53
  url=_HOMEPAGE,
@@ -400,8 +398,7 @@ class Climabench(datasets.GeneratorBasedBuilder):
400
  )
401
 
402
  def _split_generators(self, dl_manager):
403
- dl_dir = dl_manager.download_and_extract(_URL)
404
- data_dir = os.path.join(dl_dir, self.config.data_dir)
405
 
406
  if self.config.name == "scidcc":
407
  return [
 
46
 
47
  _LICENSE = ""
48
 
 
 
49
  _Climabench_BASE_KWARGS = dict(
50
  citation=_CITATION,
51
  url=_HOMEPAGE,
 
398
  )
399
 
400
  def _split_generators(self, dl_manager):
401
+ data_dir = self.config.data_dir
 
402
 
403
  if self.config.name == "scidcc":
404
  return [