Upload folder using huggingface_hub
Browse filesFiles changed (19)
- .gitattributes+5
- README.md+46-14
- embeddings_corpus/embeddings.npyAdded+3
- embeddings_corpus/idx_to_name.jsonAdded
- embeddings_corpus/idx_to_statement.jsonAdded+3
- embeddings_deepseek/embeddings.npyAdded+3
- embeddings_deepseek/idx_to_name.jsonAdded
- embeddings_deepseek/idx_to_statement.jsonAdded+3
- embeddings_fixed/embeddings.npyAdded+3
- embeddings_fixed/idx_to_name.jsonAdded
- embeddings_fixed/idx_to_statement.jsonAdded+3
- embeddings_mistral/embeddings.npyAdded+3
- embeddings_mistral/idx_to_name.jsonAdded
- embeddings_mistral/idx_to_statement.jsonAdded+3
- graph_uses.json.gzAdded+3
- results_shared/neighbors.npzAdded+3
- results_shared/pool.jsonAdded+3
- results_shared/subset.jsonAdded
- to_additive.jsonAdded
57 unmodified lines585960616263646557 unmodified lines# Video files - compressed*.mp4 filter=lfs diff=lfs merge=lfs -text*.webm filter=lfs diff=lfs merge=lfs -textembeddings_corpus/idx_to_statement.json filter=lfs diff=lfs merge=lfs -textembeddings_deepseek/idx_to_statement.json filter=lfs diff=lfs merge=lfs -textembeddings_fixed/idx_to_statement.json filter=lfs diff=lfs merge=lfs -textembeddings_mistral/idx_to_statement.json filter=lfs diff=lfs merge=lfs -textresults_shared/pool.json filter=lfs diff=lfs merge=lfs -text12345678910111213149101115161718131415192021222324252627172829303132333435362425263738394041424331323344454647484950515253545556575835596061626364656667---license: mittask_categories: - feature-extractiontags: - mathlib - lean4 - theorem-embeddings---
# vector_behavior — data bundle
Companion data for https://github.com/david-busbib/vector_behavior-
Theorem embeddings restricted to the 99,552 Mathlib theorems the study uses,written in pool order, float32. Also carries the proof-dependency graph reduced towhat the scripts read.Four theorem embedding spaces over the same 99,552 Mathlib theorems, restricted tothe rows the study uses and written **in pool order**, float32. Also carries theproof-dependency graph, reduced to what the scripts actually read.
| file | size | contents ||---|---|---|| `vb_bundle_e5_large.zip` | 375 MB | `e5_large` (1024-dim), `pool.json`, `subset.json`, `neighbors.npz`, dependency graph || directory | space | dim | size ||---|---|---|---|| `embeddings_mistral/` | `e5_mistral` — intfloat/e5-mistral-7b-instruct | 4096 | 1.6 GB || `embeddings_corpus/` | `e5_large` — intfloat/e5-large-v2 | 1024 | 407 MB || `embeddings_fixed/` | `e5_large_stmt` — same model, different text source | 1024 | 407 MB || `embeddings_deepseek/` | `deepseek_prover` — **degenerate, contrast only** | 4096 | 1.6 GB || `results_shared/` | pool.json, subset.json, neighbors.npz | | 27 MB || `graph_uses.json.gz` | proof dependency graph, 55,575 theorems | | 2.4 MB |
## Use## Setup
```bashgit clone https://github.com/david-busbib/vector_behavior-.gitcd vector_behavior-pip install -r requirements.txt
huggingface-cli download davidbusbib/vector-behavior-data \ --repo-type dataset --local-dir vb_dataunzip vb_bundle_e5_large.zipcp vb_bundle/results_shared/* results/shared/export VB_DATA=$PWD/vb_bundle
cp vb_data/results_shared/* results/shared/export VB_DATA=$PWD/vb_data
python scripts/19_read_mutual.py```
Scripts filter themselves to the embedding spaces present, so this partial bundleruns the whole pipeline. Numbers come out lower than the report's headline column,which uses `e5_mistral` — rankings and conclusions are identical.### Pulling only what you need
Each space is ~0.4-1.6 GB. To take one:
```bashhuggingface-cli download davidbusbib/vector-behavior-data \ --repo-type dataset --local-dir vb_data \ --include "embeddings_corpus/*" "results_shared/*" "graph_uses.json.gz" "to_additive.json"```
Scripts filter themselves to whichever spaces are present, so a partial downloadruns the whole pipeline over the subset you took.
## Notes
md5 `d042a6370c4c02ba933adbbae51205a6`* Rows are pool-ordered, so `pool["rows"][space]` is the identity. This is why the arrays are smaller than the originals (99,552 rather than 180,907 / 104,050 rows) and why no script needs changing.* float32 throughout. float16 moves the numbers.* `deepseek_prover` is degenerate — 81% of its variance sits in one direction after centring, and it was extracted under fp16. It is in the study as a contrast, never as evidence. See `RESULTS.md`.* Proofs and the dependency graph are **held back** as validation in this project. `graph_uses.json.gz` is here so Phase 3 can be rerun; it is not an encoder input.123version https://git-lfs.github.com/spec/v1oid sha256:085cade866c03a7085ee971825e60391ee3717786d53581baa8a6e8b56f3b47dsize 407765120123version https://git-lfs.github.com/spec/v1oid sha256:c22e1a37a8eb7ecf781bc687eeeb58a8640998d9cde3cd65091540807bac15f5size 14863963123version https://git-lfs.github.com/spec/v1oid sha256:959199b402ca58d02d0f5f2828fa2a298ba2319eb77a1fd11c8a5ba277936b9dsize 1631060096123version https://git-lfs.github.com/spec/v1oid sha256:c22e1a37a8eb7ecf781bc687eeeb58a8640998d9cde3cd65091540807bac15f5size 14863963123version https://git-lfs.github.com/spec/v1oid sha256:85b498a3eefbfc85f3b022bd2abf07d7140bc69941da208e5ecd07f8355295f1size 407765120123version https://git-lfs.github.com/spec/v1oid sha256:c22e1a37a8eb7ecf781bc687eeeb58a8640998d9cde3cd65091540807bac15f5size 14863963123version https://git-lfs.github.com/spec/v1oid sha256:2aa24fa51e4aedc7b2d61374a40ee101df455a0ac92aec457a5778d51c35a047size 1631060096123version https://git-lfs.github.com/spec/v1oid sha256:c22e1a37a8eb7ecf781bc687eeeb58a8640998d9cde3cd65091540807bac15f5size 14863963123version https://git-lfs.github.com/spec/v1oid sha256:800928ca784f61d5a413ff0360a8e13cc5bc338fc462e4df80d53bceaba7c84dsize 2459134123version https://git-lfs.github.com/spec/v1oid sha256:a106ab3c2559f0d0f3ab43c6cd4aaa0def154ef41e36f0ae6fe2281928813a11size 1106301123version https://git-lfs.github.com/spec/v1oid sha256:43185c5a16f73016d89a0925bc2292ac951e358234feb2e6030a526fd1ff257bsize 25361079.gitattributes+5
README.md+46-14
embeddings_corpus/embeddings.npyAdded+3
embeddings_corpus/idx_to_name.jsonAdded
embeddings_corpus/idx_to_statement.jsonAdded+3
embeddings_deepseek/embeddings.npyAdded+3
embeddings_deepseek/idx_to_name.jsonAdded
embeddings_deepseek/idx_to_statement.jsonAdded+3
embeddings_fixed/embeddings.npyAdded+3
embeddings_fixed/idx_to_name.jsonAdded
embeddings_fixed/idx_to_statement.jsonAdded+3
embeddings_mistral/embeddings.npyAdded+3
embeddings_mistral/idx_to_name.jsonAdded
embeddings_mistral/idx_to_statement.jsonAdded+3
graph_uses.json.gzAdded+3
results_shared/neighbors.npzAdded+3
results_shared/pool.jsonAdded+3
results_shared/subset.jsonAdded
to_additive.jsonAdded