davidquarel commited on
Commit
79b234e
·
verified ·
1 Parent(s): cd9fe5f

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +4 -4
README.md CHANGED
@@ -15,7 +15,7 @@ policy/value net is to **perfect play** (net-independent ground truth), via `pon
15
  `pons/val_signacc`.
16
 
17
  ## File
18
- - `pons_eval_dataset.json.gz` — gzipped JSON, `{"meta": {...}, "positions": [...]}`.
19
 
20
  ## Schema (per position)
21
  - `moves`: string of **0-indexed** columns (`0..6`) played from the empty board (red moves on even plies).
@@ -28,10 +28,10 @@ move genuinely throws away the achievable result. Plies range 2–36.
28
 
29
  ## Load
30
  ```python
31
- import gzip, json
32
  from huggingface_hub import hf_hub_download
33
- p = hf_hub_download("davidquarel/connect4-pons-eval", "pons_eval_dataset.json.gz", repo_type="dataset")
34
- data = json.loads(gzip.open(p, "rt").read())
35
  ```
36
 
37
  Regenerate with the solver + `build_dataset.py` in the ARENA repo (`pascal_pons/`).
 
15
  `pons/val_signacc`.
16
 
17
  ## File
18
+ - `pons_eval_dataset.json` — JSON, `{"meta": {...}, "positions": [...]}`.
19
 
20
  ## Schema (per position)
21
  - `moves`: string of **0-indexed** columns (`0..6`) played from the empty board (red moves on even plies).
 
28
 
29
  ## Load
30
  ```python
31
+ import json
32
  from huggingface_hub import hf_hub_download
33
+ p = hf_hub_download("davidquarel/connect4-pons-eval", "pons_eval_dataset.json", repo_type="dataset")
34
+ data = json.load(open(p))
35
  ```
36
 
37
  Regenerate with the solver + `build_dataset.py` in the ARENA repo (`pascal_pons/`).