Row-standardise the store-page prefix in wscan_gal_rev.npz and ss_queries_rev_S.npy
Browse files- README.md +81 -55
- ss_queries_rev_S.npy +1 -1
- wscan_gal_rev.npz +2 -2
README.md
CHANGED
|
@@ -1,55 +1,81 @@
|
|
| 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"
|
| 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 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
|
| 49 |
-
|
|
| 50 |
-
| `
|
| 51 |
-
| `
|
| 52 |
-
| `
|
| 53 |
-
| `
|
| 54 |
-
| `
|
| 55 |
-
| `
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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` |
|
ss_queries_rev_S.npy
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 8461095040
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:413ebc66c15568ede34ecf2d7f1886a3420252e5533dfbb27c2db13efe247f67
|
| 3 |
size 8461095040
|
wscan_gal_rev.npz
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7a304e875717a3cb9abffb554f460d75f20e8fea9d41b4cb1020f7096cafbe5b
|
| 3 |
+
size 2118141012
|