chironYu commited on
Commit
92f8eb9
·
verified ·
1 Parent(s): 35cc5dd

Card: the paper, the code and checkpoint repositories, --raw-prefix for the earlier 512 packs

Browse files
Files changed (1) hide show
  1. README.md +102 -81
README.md CHANGED
@@ -1,81 +1,102 @@
1
- ---
2
- license: mit
3
- pretty_name: latenarray-I2CE data cache
4
- tags:
5
- - steam
6
- - game-reviews
7
- - sentence-embeddings
8
- - representation-learning
9
- size_categories:
10
- - 10M<n<100M
11
- ---
12
-
13
- # latenarray-I2CE data cache
14
-
15
- These are the precomputed tensors that the w9 workers of the I-CE code release
16
- (`contrast_experiment/w9/Pod/w9_cv_worker.py`, `w9_a100_worker.py`) read from their
17
- `--data-dir`. Download the whole folder, rebuild the full pool, and pass the folder as `--data-dir`:
18
-
19
- ```bash
20
- hf download chironYu/latenarray-i2ce-data --repo-type dataset --local-dir latenarray-i2ce-data
21
- cd latenarray-i2ce-data && python join_full_pool.py
22
- ```
23
-
24
- `full_pool_fp16.npy` (150.1 GB) is stored as four byte parts under 50 GB each,
25
- `full_pool_fp16.npy.part00` to `part03`. `join_full_pool.py` concatenates them, checks the
26
- result against `SHA256SUMS`, writes `full_pool_READY` (the marker the w9 notebooks wait for)
27
- and deletes the parts (`--keep-parts` keeps them).
28
-
29
- The packaged entry points of the code release (`steam_reviews_framework/run.py`,
30
- `contrast_experiment/run.py`) need neither the full pool nor the two `wscan_gal_rev_g*.npz`
31
- galleries, about 21 GiB in all; they rebuild the anchor packs at their budget from
32
- `wscan_pool_rev.npy` and `full_pool_meta.npz`:
33
-
34
- ```bash
35
- hf download chironYu/latenarray-i2ce-data --repo-type dataset --local-dir data/assets \
36
- --exclude "full_pool_fp16.npy.part*" "wscan_gal_rev_g*.npz" "*_rawprefix.*"
37
- ```
38
-
39
- The corpus covers 2,020 Steam games released 2020 to 2024: 6,649,325 reviews and
40
- 73,289,517 sentences. Every sentence is embedded once with Qwen/Qwen3-Embedding-0.6B
41
- (1,024-d, last-token pooling, no instruction prefix, not normalized) and stored as float16.
42
- The repository holds no review text, only vectors, offsets and identifiers.
43
-
44
- Sentence vectors are stored raw in the full pool, the document views and the wiki queries; the
45
- workers row-standardise them (mean 0, std 1 over the 1,024 dimensions) when they load them. The
46
- review pool, the anchor packs and the pseudo-queries are stored already row-standardised.
47
-
48
- | File | Contents |
49
- |---|---|
50
- | `full_pool_fp16.npy` | All 73,289,517 sentence vectors, `[73289517, 1024]` float16 (139.8 GiB). Training views are drawn from it (`--full-pool`); the 4,096-sentence evaluation draws read it as well |
51
- | `full_pool_meta.npz` | `game_names` (2,020), `game_review_offsets` (2,021), `review_offsets` (6,649,326): game g owns reviews `game_review_offsets[g]:[g+1]`, review r owns sentence rows `review_offsets[r]:[r+1]` |
52
- | `wscan_pool_rev.npy` | The 2,048-sentence review pool per game, `[2020, 2048, 1024]` float16: the 3 longest reviews of the game first (when they fit), then whole reviews at random; anchor packs above 512 sentences are rebuilt from it |
53
- | `wscan_pool_rev_len.npy`, `wscan_pool_rev_rid.npy` | Pool lengths and review ids |
54
- | `wscan_gal_rev.npz`, `wscan_gal_rev_g1024.npz`, `wscan_gal_rev_g4096.npz` | Prebuilt anchor galleries at 512, 1,024 and 4,096 sentences (the 4,096 one is a single draw used by the fixed-split worker): store-page prefix (`gal_doc_len` rows), then whole reviews; `gal_len` rows used. See *Changes* for the 512 one |
55
- | `wscan_gal_rev_rawprefix.npz` | The 512-sentence galleries exactly as the published @512 runs trained on them, store-page prefix not row-standardised. Only needed to reproduce those runs bit for bit |
56
- | `games.npz` | Game names (`names`, the game index of every other file) and per-game assets |
57
- | `wiki_eval.npz`, `wiki_eval_split.json` | The evaluation queries: LLM rewrites of the wiki articles of the 814-game evaluation universe, four variants each (`neutral`, `noname`, `positive`, `negative`), and the split (seed 20260711) |
58
- | `wiki_clean_views.npz`, `wiki_llm_views.npz`, `sp_raw_views.npz` | Document views: cleaned Wikipedia, LLM rewrites, store pages |
59
- | `ss_queries_rev.npz`, `ss_queries_rev_S.npy` | Pseudo-queries: four anchor-shaped packs per game (store-page prefix, then whole pool reviews to 512 sentences), flat-stored, query j = `S[off[j]:off[j+1]]`. Report-only diagnostics; checkpoint selection and every published number use `wiki_eval.npz` instead |
60
- | `ss_queries_rev_S_rawprefix.npy` | The pseudo-query vectors before the prefix fix (see *Changes*) |
61
- | `tag_labels.npz`, `_tag_splitM.json` | Tag labels (23 coarse classes) and the tag-probe split |
62
-
63
- ## Changes
64
-
65
- **2026-11-07: store-page prefix row-standardised in `wscan_gal_rev.npz` and `ss_queries_rev_S.npy`.**
66
- Both files put a game's `sp_raw` store-page sentences in front of its review sentences. The
67
- review sentences were row-standardised; the store-page sentences were copied raw (row std about
68
- 2.9 against 1.0), and the tower has no input normalisation. Every other input already reached it
69
- standardised, including the store-page prefix of the 1,024- and 4,096-sentence galleries and of
70
- the galleries the workers build on the GPU at 1,024 and 2,048 sentences. The two files now carry
71
- the prefix row-standardised exactly as the workers standardise `sp_raw_views.npz` when they load
72
- it; every review row, every length and the order are unchanged, bit for bit. The files as they
73
- were are kept as `wscan_gal_rev_rawprefix.npz` and `ss_queries_rev_S_rawprefix.npy`: the
74
- published @512 runs (and the fixed-split rows trained with 512-sentence anchors) were trained on
75
- the raw prefix, so to reproduce them bit for bit, put the `_rawprefix` file in place of the
76
- current one. All other files are unchanged.
77
-
78
- | File | SHA-256 before | SHA-256 now |
79
- |---|---|---|
80
- | `wscan_gal_rev.npz` | `e4ee5da46c5d7240065f02a3948c51c78ca9fe22d3145613c752589b4b8f789e` (now `wscan_gal_rev_rawprefix.npz`) | `7a304e875717a3cb9abffb554f460d75f20e8fea9d41b4cb1020f7096cafbe5b` |
81
- | `ss_queries_rev_S.npy` | `2762f528c70173f2613aad397d14f2f3abf3e1ca453d5441551ac911abf37dd4` (now `ss_queries_rev_S_rawprefix.npy`) | `413ebc66c15568ede34ecf2d7f1886a3420252e5533dfbb27c2db13efe247f67` |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ pretty_name: latenarray-I2CE data cache
4
+ tags:
5
+ - steam
6
+ - game-reviews
7
+ - sentence-embeddings
8
+ - representation-learning
9
+ size_categories:
10
+ - 10M<n<100M
11
+ ---
12
+
13
+ # latenarray-I2CE data cache
14
+
15
+ The precomputed tensors behind the paper *Invariant Game Representation Learning from Steam
16
+ Reviews* (AICCC 2026): cached sentence embeddings of Steam reviews, store pages and wiki
17
+ articles for 2,020 games, with the anchor packs, the evaluation queries and the splits.
18
+
19
+ - Code, appendices and supplement:
20
+ [`Nice9Tian/I2CE-GameRepresention-by-SteamReviews`](https://github.com/Nice9Tian/I2CE-GameRepresention-by-SteamReviews)
21
+ - The trained towers:
22
+ [`chironYu/latenarray-i2ce-checkpoints`](https://huggingface.co/chironYu/latenarray-i2ce-checkpoints)
23
+
24
+ The w9 workers of the code repository (`contrast_experiment/w9/Pod/w9_cv_worker.py`,
25
+ `w9_a100_worker.py`) read this folder as their `--data-dir`. Download it, rebuild the full pool,
26
+ and pass the folder as `--data-dir`:
27
+
28
+ ```bash
29
+ hf download chironYu/latenarray-i2ce-data --repo-type dataset --local-dir latenarray-i2ce-data --exclude "*_rawprefix.*"
30
+ cd latenarray-i2ce-data && python join_full_pool.py
31
+ ```
32
+
33
+ The `--exclude` leaves out two files (10 GiB) that only repeating a run made before 2026-11-07
34
+ needs; see *Changes*.
35
+
36
+ `full_pool_fp16.npy` (150.1 GB) is stored as four byte parts under 50 GB each,
37
+ `full_pool_fp16.npy.part00` to `part03`. `join_full_pool.py` concatenates them, checks the
38
+ result against `SHA256SUMS`, writes `full_pool_READY` (the marker the w9 notebooks wait for)
39
+ and deletes the parts (`--keep-parts` keeps them).
40
+
41
+ The packaged entry points of the code release (`steam_reviews_framework/run.py`,
42
+ `contrast_experiment/run.py`) need neither the full pool nor the two `wscan_gal_rev_g*.npz`
43
+ galleries, about 21 GiB in all; they rebuild the anchor packs at their budget from
44
+ `wscan_pool_rev.npy` and `full_pool_meta.npz`:
45
+
46
+ ```bash
47
+ hf download chironYu/latenarray-i2ce-data --repo-type dataset --local-dir data/assets \
48
+ --exclude "full_pool_fp16.npy.part*" "wscan_gal_rev_g*.npz" "*_rawprefix.*"
49
+ ```
50
+
51
+ The corpus covers 2,020 Steam games released 2020 to 2024: 6,649,325 reviews and
52
+ 73,289,517 sentences. Every sentence is embedded once with Qwen/Qwen3-Embedding-0.6B
53
+ (1,024-d, last-token pooling, no instruction prefix, not normalized) and stored as float16.
54
+ The repository holds no review text, only vectors, offsets and identifiers.
55
+
56
+ Sentence vectors are stored raw in the full pool, the document views and the wiki queries; the
57
+ workers row-standardise them (mean 0, std 1 over the 1,024 dimensions) when they load them. The
58
+ review pool, the anchor packs and the pseudo-queries are stored already row-standardised.
59
+
60
+ | File | Contents |
61
+ |---|---|
62
+ | `full_pool_fp16.npy` | All 73,289,517 sentence vectors, `[73289517, 1024]` float16 (139.8 GiB). Training views are drawn from it (`--full-pool`); the 4,096-sentence evaluation draws read it as well |
63
+ | `full_pool_meta.npz` | `game_names` (2,020), `game_review_offsets` (2,021), `review_offsets` (6,649,326): game g owns reviews `game_review_offsets[g]:[g+1]`, review r owns sentence rows `review_offsets[r]:[r+1]` |
64
+ | `wscan_pool_rev.npy` | The 2,048-sentence review pool per game, `[2020, 2048, 1024]` float16: the 3 longest reviews of the game first (when they fit), then whole reviews at random; anchor packs above 512 sentences are rebuilt from it |
65
+ | `wscan_pool_rev_len.npy`, `wscan_pool_rev_rid.npy` | Pool lengths and review ids |
66
+ | `wscan_gal_rev.npz`, `wscan_gal_rev_g1024.npz`, `wscan_gal_rev_g4096.npz` | Prebuilt anchor galleries at 512, 1,024 and 4,096 sentences (the 4,096 one is a single draw used by the fixed-split worker): store-page prefix (`gal_doc_len` rows), then whole reviews; `gal_len` rows used. See *Changes* for the 512 one |
67
+ | `wscan_gal_rev_rawprefix.npz` | The 512-sentence galleries as built before 2026-11-07, store-page prefix not row-standardised. Only needed to repeat a run of that time: the w9 workers read it with `--raw-prefix` |
68
+ | `games.npz` | Game names (`names`, the game index of every other file) and per-game assets |
69
+ | `wiki_eval.npz`, `wiki_eval_split.json` | The evaluation queries: LLM rewrites of the wiki articles of the 814-game evaluation universe, four variants each (`neutral`, `noname`, `positive`, `negative`), and the split (seed 20260711) |
70
+ | `wiki_clean_views.npz`, `wiki_llm_views.npz`, `sp_raw_views.npz` | Document views: cleaned Wikipedia, LLM rewrites, store pages |
71
+ | `ss_queries_rev.npz`, `ss_queries_rev_S.npy` | Pseudo-queries: four anchor-shaped packs per game (store-page prefix, then whole pool reviews to 512 sentences), flat-stored, query j = `S[off[j]:off[j+1]]`. Report-only diagnostics; checkpoint selection and every published number use `wiki_eval.npz` instead |
72
+ | `ss_queries_rev_S_rawprefix.npy` | The pseudo-query vectors before the prefix fix (see *Changes*) |
73
+ | `tag_labels.npz`, `_tag_splitM.json` | Tag labels (23 coarse classes) and the tag-probe split |
74
+
75
+ ## Changes
76
+
77
+ **2026-11-07: store-page prefix row-standardised in `wscan_gal_rev.npz` and `ss_queries_rev_S.npy`.**
78
+ Both files put a game's `sp_raw` store-page sentences in front of its review sentences. The
79
+ review sentences were row-standardised; the store-page sentences were copied raw (row std about
80
+ 2.9 against 1.0), and the tower has no input normalisation. Every other input already reached it
81
+ standardised, including the store-page prefix of the 1,024- and 4,096-sentence galleries and of
82
+ the galleries the workers build on the GPU at 1,024 and 2,048 sentences. The two files now carry
83
+ the prefix row-standardised exactly as the workers standardise `sp_raw_views.npz` when they load
84
+ it; every review row, every length and the order are unchanged, bit for bit. All other files are
85
+ unchanged.
86
+
87
+ The paper's 512-sentence rows come from towers trained on the current files; their checkpoints
88
+ carry `_d512` in their names, the w9 workers name a run on the current packs that way, and they
89
+ stop when the `wscan_gal_rev.npz` they are given still holds the prefix raw. The files as they
90
+ were are kept as `wscan_gal_rev_rawprefix.npz` and `ss_queries_rev_S_rawprefix.npy`, for repeating
91
+ a run made before the change: pass the worker `--raw-prefix`, which reads the two files and names
92
+ the run without the tag.
93
+
94
+ | File | SHA-256 before | SHA-256 now |
95
+ |---|---|---|
96
+ | `wscan_gal_rev.npz` | `e4ee5da46c5d7240065f02a3948c51c78ca9fe22d3145613c752589b4b8f789e` (now `wscan_gal_rev_rawprefix.npz`) | `7a304e875717a3cb9abffb554f460d75f20e8fea9d41b4cb1020f7096cafbe5b` |
97
+ | `ss_queries_rev_S.npy` | `2762f528c70173f2613aad397d14f2f3abf3e1ca453d5441551ac911abf37dd4` (now `ss_queries_rev_S_rawprefix.npy`) | `413ebc66c15568ede34ecf2d7f1886a3420252e5533dfbb27c2db13efe247f67` |
98
+
99
+ ## Citation
100
+
101
+ *Invariant Game Representation Learning from Steam Reviews.* AICCC 2026. The tensors are under the
102
+ MIT license.