lara-martin commited on
Commit
d15d340
·
verified ·
1 Parent(s): df26a43

Update FIREBALL.py

Browse files
Files changed (1) hide show
  1. FIREBALL.py +15 -15
FIREBALL.py CHANGED
@@ -96,19 +96,19 @@ class Fireball(datasets.GeneratorBasedBuilder):
96
  'controller_id': datasets.Value(dtype='string')
97
  }
98
  ), #list of dictionaries
99
- 'current_actor': {
100
- 'name': datasets.Value(dtype='string'),
101
- 'hp': datasets.Value(dtype='string'),
102
- 'class': datasets.Value(dtype='string'),
103
- 'race': datasets.Value(dtype='string'),
104
- 'attacks': datasets.Value(dtype='string'),
105
- 'spells': datasets.Value(dtype='string'),
106
- 'actions': datasets.Value(dtype='string'),
107
- 'effects': datasets.Value(dtype='string'),
108
- 'description': datasets.Value(dtype='string'),
109
- 'controller_id': datasets.Value(dtype='string')
110
- }, #dictionary
111
- #'commands_norm': datasets.value('string'),
112
  'automation_results': datasets.value('string'),
113
  'caster_after': {
114
  'name': datasets.Value(dtype='string'),
@@ -213,8 +213,8 @@ class Fireball(datasets.GeneratorBasedBuilder):
213
  # "speaker_id": data["speaker_id"],
214
  "before_utterances": data["before_utterances"],
215
  'combat_state_before': data['combat_state_before'],
216
- 'current_actor': data["current_actor"],
217
- #'commands_norm': data['commands_norm'],
218
  'automation_results': data['automation_results'],
219
  'caster_after': data['caster_after'],
220
  'targets_after': data['targets_after'],
 
96
  'controller_id': datasets.Value(dtype='string')
97
  }
98
  ), #list of dictionaries
99
+ # 'current_actor': {
100
+ # 'name': datasets.Value(dtype='string'),
101
+ # 'hp': datasets.Value(dtype='string'),
102
+ # 'class': datasets.Value(dtype='string'),
103
+ # 'race': datasets.Value(dtype='string'),
104
+ # 'attacks': datasets.Value(dtype='string'),
105
+ # 'spells': datasets.Value(dtype='string'),
106
+ # 'actions': datasets.Value(dtype='string'),
107
+ # 'effects': datasets.Value(dtype='string'),
108
+ # 'description': datasets.Value(dtype='string'),
109
+ # 'controller_id': datasets.Value(dtype='string')
110
+ # }, #dictionary
111
+ 'commands_norm': datasets.value('string'),
112
  'automation_results': datasets.value('string'),
113
  'caster_after': {
114
  'name': datasets.Value(dtype='string'),
 
213
  # "speaker_id": data["speaker_id"],
214
  "before_utterances": data["before_utterances"],
215
  'combat_state_before': data['combat_state_before'],
216
+ #'current_actor': data["current_actor"],
217
+ 'commands_norm': data['commands_norm'],
218
  'automation_results': data['automation_results'],
219
  'caster_after': data['caster_after'],
220
  'targets_after': data['targets_after'],