anjandash commited on
Commit
905af12
1 Parent(s): e557ee0

added support files

Browse files
Files changed (1) hide show
  1. java-8m-methods-v1.py +3 -3
java-8m-methods-v1.py CHANGED
@@ -11,8 +11,8 @@ _LICENSE = "MIT"
11
 
12
 
13
  _BASE_TRAIN_FILE_URL = "https://huggingface.co/datasets/anjandash/java-8m-methods-v1/resolve/main/train.csv"
14
- _BASE_VALID_FILE_URL = "https://huggingface.co/datasets/anjandash/java-8m-methods-v1/resolve/main/train.csv"
15
- _BASE_TEST_FILE_URL = "https://huggingface.co/datasets/anjandash/java-8m-methods-v1/resolve/main/train.csv"
16
 
17
  _URLS = {
18
  "train": _BASE_TRAIN_FILE_URL,
@@ -20,7 +20,7 @@ _URLS = {
20
  "test": _BASE_TEST_FILE_URL
21
  }
22
 
23
- class Java8mMethodsV1(datasets.GeneratorBasedBuilder):
24
  """Java 8M Methods"""
25
 
26
  def _info(self):
 
11
 
12
 
13
  _BASE_TRAIN_FILE_URL = "https://huggingface.co/datasets/anjandash/java-8m-methods-v1/resolve/main/train.csv"
14
+ _BASE_VALID_FILE_URL = "https://huggingface.co/datasets/anjandash/java-8m-methods-v1/resolve/main/valid.csv"
15
+ _BASE_TEST_FILE_URL = "https://huggingface.co/datasets/anjandash/java-8m-methods-v1/resolve/main/test.csv"
16
 
17
  _URLS = {
18
  "train": _BASE_TRAIN_FILE_URL,
 
20
  "test": _BASE_TEST_FILE_URL
21
  }
22
 
23
+ class Java8mMethodsV1(datasets.GeneratorBasedBuilder): # or datasets.DatasetBuilder
24
  """Java 8M Methods"""
25
 
26
  def _info(self):