Downloads · 30 days
0
kiruluta/J-Space-HF-Scaling-Benchmark
J-Space-HF-Scaling-Benchmark is a machine learning model from kiruluta. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as mit.
A reproducible community benchmark for scaling J-Space Dynamics (JSD) analysis across open causal language models, training checkpoints, random seeds, and compute platforms.
Downloads · 30 days
0
Access
Public
Updated Sep 23, 2026
Repo size
8.3 MB
Likes
0
Public
Click a slice to open those files.
.npy24.9 MB · 79%
From the Hugging Face model README
A reproducible community benchmark for scaling J-Space Dynamics (JSD) analysis across open causal language models, training checkpoints, random seeds, and compute platforms.
The benchmark packages the J-Space Neural Analyzer and the experimental protocol associated with Probing the Formation and Dynamics of J-Space in Language Models.
The goal is to test the proposed measurements at substantially larger scales and across independent hardware—not to treat benchmark throughput or small-model runs as validation of the scientific hypotheses.
The initial benchmark has now been validated on a single NVIDIA GB10 through EleutherAI Pythia-2.8B.
We are looking for collaborators with access to larger accelerators and clusters—particularly H100/H200, B100/B200, GB200/GB300, MI300X-class systems, multi-GPU servers, and multi-node compute—to extend the benchmark to larger models, dense checkpoint suites, replicated seeds, and the more expensive JSD instruments.
See COLLABORATION.md for the contribution program.
The following measurements were produced on one NVIDIA GB10 using cached Hugging Face checkpoints and FP16 model execution.
| Model | Sampled layers | Peak allocated GPU memory | Analysis time | Prompt-layer/s |
|---|---|---|---|---|
| EleutherAI/pythia-410m | 0, 6, 12, 18, 23 | 0.911 GiB | 2.038 s | 19.6273 |
| EleutherAI/pythia-1b | 0, 4, 8, 12, 15 | 2.049 GiB | 2.433 s | 16.4390 |
| EleutherAI/pythia-1.4b | 0, 6, 12, 18, 23 | 2.817 GiB | 2.476 s | 16.1533 |
| EleutherAI/pythia-2.8b | 0, 8, 16, 24, 31 | 5.395 GiB | 2.908 s | 13.7544 |
These are performance and reproducibility measurements, not evidence by themselves that larger models exhibit stronger, weaker, or qualitatively different J-Space structure.
The sampled layer sets differ because the model architectures have different depths. Prompt-layer throughput normalizes by the number of sampled prompt-layer combinations, but not by hidden width, parameter count, FLOPs, or architecture.
The complete measured rows are in results/leaderboard.csv.
The framework extends the J-lens program with five falsifiable instrument families:
The benchmark is designed so that failure of identifiability, closure, persistence, robustness, replication, or another prerequisite remains an informative result.
Download the Hugging Face repository and install the package:
hf download kiruluta/J-Space-HF-Scaling-Benchmark --repo-type model --local-dir J-Space-HF-Scaling-Benchmark
cd J-Space-HF-Scaling-Benchmark
python -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install -e '.[huggingface]'
Run the CPU/offline software validation:
jspace-analyze demo
Run the validated Pythia-410M GPU benchmark:
python benchmarks/run_scaling.py \
--model EleutherAI/pythia-410m \
--layers 0,6,12,18,23 \
--dtype float16 \
--tag community
The benchmark writes a portable JSON result, timestamped scientific artifacts, and a row in results/leaderboard.csv.
The public benchmark uses schema 1.0.
Timing is separated into:
elapsed_s — complete benchmark wall-clock time;model_load_s — tokenizer/model construction and loading;analysis_s — J-Space scientific computation after model loading and before report serialization;prompt_layer_per_s — (prompt_count × sampled_layer_count) / analysis_s.This separation prevents model download/loading behavior from being mistaken for J-Space analysis throughput.
For performance comparisons, contributors should state whether checkpoints were already cached.
See BENCHMARK.md for the full protocol.
Model execution honors --dtype (for example float16), while arrays entering NumPy statistical and linear-algebra routines are promoted to FP32.
This avoids unsupported NumPy FP16 linear algebra without changing the requested model execution precision.
The benchmark records the exact sampled layers.
Layer-specific dynamics, robustness, binding, and Fisher analyses are kept consistent with that selected layer set. Explicit overrides are available for contributors who need controlled layer placement.
See BENCHMARK.md for details.
High-value contributions include:
The existing multi-GPU helper measures independent one-job-per-GPU throughput. It should not be interpreted as tensor, pipeline, or distributed model parallelism.
Failed runs are useful contributions when their causes are recorded accurately.
Examples include GPU OOM, checkpoint download/reconstruction failure, unsupported architectures, numerical instability, invalid layer selection, estimator failure, failed dictionary identifiability, and failed held-out closure.
A development attempt with Pythia-6.9B failed during Hugging Face checkpoint download/reconstruction before benchmark execution. It therefore does not establish a GPU-memory limit or a JSD model-size limit.
src/jspace_analysis/ — analysis implementationbenchmarks/run_scaling.py — standardized hardware/model benchmark runnerscripts/run_model_ladder.sh — sequential model-size sweepscripts/run_multigpu_independent.sh — independent one-job-per-GPU throughput sweepconfigs/ — tiny and Hugging Face configurationsresults/leaderboard.csv — clean schema-1.0 leaderboardresults/leaderboard_legacy_v1.3.csv — preserved development resultsresults/ — benchmark rows and scientific artifactsdocs/ — methods, validation, limitations, and manuscript materialBENCHMARK.md — benchmark protocolCOLLABORATION.md — high-compute contributor callRun the current benchmark runner rather than constructing leaderboard rows manually.
Please preserve the generated result JSON and associated scientific run directory. Include model revision information when known, exact layer selection, hardware/software information, cache status, and any failures encountered.
Portable contributions should not expose unnecessary absolute local filesystem paths.
Please cite the manuscript:
Andrew Kiruluta, Probing the Formation and Dynamics of J-Space in Language Models, 2026.
Please also preserve attribution to the originating J-lens work described in the manuscript.
Hugging Face Release Candidate — benchmark schema 1.0
Current validated baseline: Pythia-410M → Pythia-2.8B on one NVIDIA GB10.
The next objective is independent replication and scaling on larger accelerators, larger open models, checkpoint families, and multi-GPU systems.