mauricett commited on
Commit
336803f
1 Parent(s): 0e0f351

Update lichess_sf.py

Browse files
Files changed (1) hide show
  1. lichess_sf.py +1 -1
lichess_sf.py CHANGED
@@ -93,10 +93,10 @@ class Lichess(datasets.GeneratorBasedBuilder):
93
  while True:
94
  elos = pgn.readline()
95
  game = pgn.readline()
96
- fens, moves, scores = game.split(";")
97
 
98
  if game:
99
  white_elo, black_elo = elos.split(" ")
 
100
  _id = n
101
  n += 1
102
  yield _id, {"WhiteElo": white_elo,
 
93
  while True:
94
  elos = pgn.readline()
95
  game = pgn.readline()
 
96
 
97
  if game:
98
  white_elo, black_elo = elos.split(" ")
99
+ fens, moves, scores = game.split(";")
100
  _id = n
101
  n += 1
102
  yield _id, {"WhiteElo": white_elo,