Spaces:
Runtime error
Runtime error
MarkusStoll
commited on
Commit
•
67e49b4
1
Parent(s):
fd0ba79
"labels"
Browse files- prepare.py +1 -1
prepare.py
CHANGED
@@ -18,7 +18,7 @@ if __name__ == "__main__":
|
|
18 |
|
19 |
df = ds.to_pandas()
|
20 |
|
21 |
-
df["label_str"] = df["labels"].apply(lambda x: ds.features["
|
22 |
|
23 |
# df = df[:1000]
|
24 |
|
|
|
18 |
|
19 |
df = ds.to_pandas()
|
20 |
|
21 |
+
df["label_str"] = df["labels"].apply(lambda x: ds.features["labels"].int2str(x))
|
22 |
|
23 |
# df = df[:1000]
|
24 |
|