lara-martin
commited on
Update FIREBALL.py
Browse files- FIREBALL.py +4 -4
FIREBALL.py
CHANGED
@@ -83,8 +83,8 @@ class NewDataset(datasets.GeneratorBasedBuilder):
|
|
83 |
|
84 |
features = datasets.Features(
|
85 |
{
|
86 |
-
|
87 |
-
|
88 |
# 'combat_state_before': datasets.Sequence(
|
89 |
# {
|
90 |
# 'name': datasets.Value(dtype='string'),
|
@@ -210,8 +210,8 @@ class NewDataset(datasets.GeneratorBasedBuilder):
|
|
210 |
for data in f:
|
211 |
# Yields examples as (key, example) tuples
|
212 |
yield key, {
|
213 |
-
"speaker_id": data["speaker_id"],
|
214 |
-
|
215 |
# 'combat_state_before': data['combat_state_before'],
|
216 |
# 'current_actor': data["current_actor"],
|
217 |
# 'commands_norm': data['commands_norm'],
|
|
|
83 |
|
84 |
features = datasets.Features(
|
85 |
{
|
86 |
+
# "speaker_id": datasets.Value('int64'),
|
87 |
+
"before_utterances": datasets.Sequence(datasets.Value('string')),
|
88 |
# 'combat_state_before': datasets.Sequence(
|
89 |
# {
|
90 |
# 'name': datasets.Value(dtype='string'),
|
|
|
210 |
for data in f:
|
211 |
# Yields examples as (key, example) tuples
|
212 |
yield key, {
|
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'],
|