pheepa commited on
Commit
4576920
1 Parent(s): 7946381
Files changed (1) hide show
  1. jira-comments.py +2 -2
jira-comments.py CHANGED
@@ -42,7 +42,7 @@ class JiraComments(datasets.GeneratorBasedBuilder):
42
  {
43
  "sentence_a": datasets.Value("string"),
44
  "sentence_b": datasets.Value("string"),
45
- "next_sentence_lable": datasets.Value("int32")
46
  }
47
  ),
48
  supervised_keys=None,
@@ -71,4 +71,4 @@ class JiraComments(datasets.GeneratorBasedBuilder):
71
 
72
  for i in range(0, len(triples) - 1, 3):
73
  l, a, b = triples[i:i+3]
74
- yield i // 3, {"sentence_a": a, 'sentence_b': b, 'next_sentence_lable': int(l)}
 
42
  {
43
  "sentence_a": datasets.Value("string"),
44
  "sentence_b": datasets.Value("string"),
45
+ "next_sentence_label": datasets.Value("int32")
46
  }
47
  ),
48
  supervised_keys=None,
 
71
 
72
  for i in range(0, len(triples) - 1, 3):
73
  l, a, b = triples[i:i+3]
74
+ yield i // 3, {"sentence_a": a, 'sentence_b': b, 'next_sentence_label': int(l)}