Datasets:

Languages:
Indonesian
ArXiv:
License:
indolem commited on
Commit
48bb741
1 Parent(s): d02d1bc

Update IndoMMLU.py

Browse files
Files changed (1) hide show
  1. 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