Update IndoMMLU.py
Browse files- IndoMMLU.py +1 -1
IndoMMLU.py
CHANGED
@@ -110,7 +110,7 @@ def fix_level(level, kelas):
|
|
110 |
elif kelas == '4,5,6':
|
111 |
fixed_kelas = 6
|
112 |
else:
|
113 |
-
fixed_kelas = int(kelas.strip())
|
114 |
|
115 |
# sanity check over the level and kelas
|
116 |
return fixed_level, fixed_kelas
|
|
|
110 |
elif kelas == '4,5,6':
|
111 |
fixed_kelas = 6
|
112 |
else:
|
113 |
+
fixed_kelas = int(float(kelas.strip()))
|
114 |
|
115 |
# sanity check over the level and kelas
|
116 |
return fixed_level, fixed_kelas
|