1T Conte commited on
Commit
fa0beeb
1 Parent(s): 54e3764

fix: renaming label for intent

Browse files
Files changed (2) hide show
  1. convert.py +1 -1
  2. data_full.csv +1 -1
convert.py CHANGED
@@ -65,7 +65,7 @@ def run():
65
  {
66
  "text": text,
67
  "domain": LABEL_2_DOMAIN[label][1],
68
- "label": LABEL_2_DOMAIN[label][2],
69
  "split": split,
70
  }
71
  )
 
65
  {
66
  "text": text,
67
  "domain": LABEL_2_DOMAIN[label][1],
68
+ "intent": LABEL_2_DOMAIN[label][2],
69
  "split": split,
70
  }
71
  )
data_full.csv CHANGED
@@ -1,4 +1,4 @@
1
- text,domain,label,split
2
  i would like to hear something funny,9,132,test
3
  what ingredients are in antipasto salad,3,34,train
4
  roll five sided dice,7,104,test
 
1
+ text,domain,intent,split
2
  i would like to hear something funny,9,132,test
3
  what ingredients are in antipasto salad,3,34,train
4
  roll five sided dice,7,104,test