mauricett commited on
Commit
d457e61
·
verified ·
1 Parent(s): d86e86c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -0
README.md CHANGED
@@ -34,6 +34,13 @@ dataset = load_dataset(path="mauricett/lichess_sf",
34
  <br>
35
 
36
  ### 2. Data Format
 
 
 
 
 
 
 
37
  A single sample from the dataset contains one complete chess game as a dictionary. The dictionary keys are as follows:
38
 
39
  1. `example['fens']` --- A list of FENs in a slightly stripped format, missing the halfmove clock and fullmove number (see [definitions on wiki](https://en.wikipedia.org/wiki/Forsyth%E2%80%93Edwards_Notation#Definition)). The starting positions have been excluded (no player made a move yet).
 
34
  <br>
35
 
36
  ### 2. Data Format
37
+ After loading the dataset, we can take a first peek at a sample. But it's not very pretty yet! We will try again at the very end.
38
+
39
+ ```py
40
+ example = next(iter(dataset))
41
+ print(example)
42
+ ```
43
+
44
  A single sample from the dataset contains one complete chess game as a dictionary. The dictionary keys are as follows:
45
 
46
  1. `example['fens']` --- A list of FENs in a slightly stripped format, missing the halfmove clock and fullmove number (see [definitions on wiki](https://en.wikipedia.org/wiki/Forsyth%E2%80%93Edwards_Notation#Definition)). The starting positions have been excluded (no player made a move yet).