pheepa commited on
Commit
1775074
1 Parent(s): 04a5183
Files changed (1) hide show
  1. jira-comments.py +3 -2
jira-comments.py CHANGED
@@ -39,7 +39,8 @@ class JiraComments(datasets.GeneratorBasedBuilder):
39
  """JiraComments dataset."""
40
 
41
  BUILDER_CONFIGS = [
42
- JiraCommentsConfig(name='jira-comments'),
 
43
  ]
44
 
45
 
@@ -65,7 +66,7 @@ class JiraComments(datasets.GeneratorBasedBuilder):
65
  gen_kwargs={"filepath": os.path.join(data_dir, self.config.path)},
66
  ),
67
  datasets.SplitGenerator(
68
- name='jira-comments',
69
  split=datasets.Split.TEST,
70
  gen_kwargs={"filepath": os.path.join(data_dir, self.config.path)},
71
  ),
 
39
  """JiraComments dataset."""
40
 
41
  BUILDER_CONFIGS = [
42
+ JiraCommentsConfig(name='jira-comments', split='train', description="Train split (75%)"),
43
+ JiraCommentsConfig(name='jira-comments', split='test', description="Test split (25%)"),
44
  ]
45
 
46
 
 
66
  gen_kwargs={"filepath": os.path.join(data_dir, self.config.path)},
67
  ),
68
  datasets.SplitGenerator(
69
+ name='jira-comments'
70
  split=datasets.Split.TEST,
71
  gen_kwargs={"filepath": os.path.join(data_dir, self.config.path)},
72
  ),