Aashraya Sachdeva commited on
Commit
3c6e63e
1 Parent(s): 452e530

add test_data

Browse files
Files changed (3) hide show
  1. .gitattributes +1 -0
  2. RR_TEST_DATA_FS.json +3 -0
  3. legaleval_rr.py +2 -0
.gitattributes CHANGED
@@ -54,3 +54,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
54
  *.webp filter=lfs diff=lfs merge=lfs -text
55
  train.json filter=lfs diff=lfs merge=lfs -text
56
  dev.json filter=lfs diff=lfs merge=lfs -text
 
 
54
  *.webp filter=lfs diff=lfs merge=lfs -text
55
  train.json filter=lfs diff=lfs merge=lfs -text
56
  dev.json filter=lfs diff=lfs merge=lfs -text
57
+ RR_TEST_DATA_FS.json filter=lfs diff=lfs merge=lfs -text
RR_TEST_DATA_FS.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4344ea5a298a8881a9e36479d2de913c4024edc8a70297df9b16dbfc2455b842
3
+ size 3084996
legaleval_rr.py CHANGED
@@ -104,11 +104,13 @@ class LegalevalRr(datasets.GeneratorBasedBuilder):
104
  downloaded_files = dl_manager.download_and_extract({
105
  "train": "train.json",
106
  "dev": "dev.json",
 
107
  })
108
 
109
  return [
110
  datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": downloaded_files["train"]}),
111
  datasets.SplitGenerator(name=datasets.Split.VALIDATION, gen_kwargs={"filepath": downloaded_files["dev"]}),
 
112
  ]
113
 
114
  def _generate_examples(self, filepath):
 
104
  downloaded_files = dl_manager.download_and_extract({
105
  "train": "train.json",
106
  "dev": "dev.json",
107
+ "test": "RR_TEST_DATA_FS.json"
108
  })
109
 
110
  return [
111
  datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": downloaded_files["train"]}),
112
  datasets.SplitGenerator(name=datasets.Split.VALIDATION, gen_kwargs={"filepath": downloaded_files["dev"]}),
113
+ datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={"filepath": downloaded_files["test"]}),
114
  ]
115
 
116
  def _generate_examples(self, filepath):