Can Dottie use the Qwen checkpoint on a 128 GB A9?
Yes. The two published weight files together occupy 3,493,885,632 bytes (3.25 GiB). Our full read-only comparison used 53.3 MiB of peak process memory. A short native CPU inference run used 591.4 MiB by loading one decoder block at a time. These are measured Linux CPU figures. The commands below let you measure the same tasks on your Windows A9. Allow 4 GB for the model data and additional disk space for the optional Python environment. Original checkpoint · Edited checkpoint
What changed in the files?
| Experiment 8 checkpoint | Revision | Weight file bytes |
|---|---|---|
| Qwen/Qwen3.5-0.8B | 2fc06364715b967f1860aea9cf38778875588b17 |
1,746,942,600 |
| RikiyaT/Qwen3.5-0.8B-weight-space-programming | d1671a178705bcab7644806d23c535517f35723b |
1,746,943,032 |
The original is the conversational Qwen3.5-0.8B named in the experiment. Both full releases include a language model, a vision component and a multi-token-prediction component. We compared the raw contents of all 488 tensors. Exactly 486 were byte-identical. The checkpoint has 873,438,784 stored scalar entries, including 752,393,024 under the language-model prefix. The MIT experiment used an equivalent text-only export. Both published model releases carry the Apache 2.0 license. Edited release and provenance
Changed tensor, under model.language_model.layers. |
Matrix shape | Selected columns | Positions targeted | Stored BF16 words changed | Rows with a changed word |
|---|---|---|---|---|---|
15.mlp.down_proj.weight |
1,024 × 3,584 | 64 | 65,536 | 65,260 | 1,024 |
19.mlp.down_proj.weight |
1,024 × 3,584 | 64 | 65,536 | 64,928 | 1,023 |
The researchers identified a direction associated with repetitive responses in each selected MLP. For each of the 64 selected column vectors (w), they used (w' = w - 6u(u^\mathsf{T}w)), where (u) is that layer's direction. Of the 131,072 targeted positions, 884 rounded to their original BF16 bit pattern. We matched each of the remaining 130,188 positions and its new two-byte value to the published sparse edit. The JSON also contains the actual zero-based column indices and a per-tensor SHA-256 for each checkpoint. Frozen selected columns · Sparse patch and hashes · Logged edit formula
Run the tensor audit
Open PowerShell in the folder containing qwen_audit.py. With 64-bit Python 3.11 or 3.12 installed, run the following command. Only the Python standard library is needed. Substitute -3.11 if that is the installed version.
py -3.12 qwen_audit.py audit
On first use, this downloads both single-shard weight files and the authors' three edit records into models\qwen35-exp8\. Every download has a pinned revision, byte count and SHA-256. The audit checks the entire tensor payload of each file and writes runs\qwen-audit.json. It took 8.4 seconds here with the downloads cached. To repeat from cached data without a network connection, run this command.
py -3.12 qwen_audit.py audit --offline
What happened when the evidence switched?
We ran one fixed pair of questions through each checkpoint. Instrument A always read 7 and B always read −5. Three repeat measurements corroborated A in the first question and B in the second. A supporting repeat was within one unit of its instrument's reading. All wording and readings stayed fixed as we exchanged the relative measurement offsets. Thinking was disabled. We measured both the unrestricted highest-scoring next token over the full vocabulary and the model's preference between the literal answers A and B.
| Case | A's repeats | B's repeats | Correct answer | Original first token | Edited first token | Original correct-answer margin | Edited margin |
|---|---|---|---|---|---|---|---|
| A has the evidence | 7, 8, 6 | 0, −9, −2 | A | A | A | +1.875 | +2.000 |
| B has the evidence | 12, 3, 10 | −5, −4, −6 | B | A | A | −1.625 | −1.625 |
The margin is the expected letter's logit minus the other letter's logit. Each model answered 1/2 individual questions and 0/1 complete pairs correctly. Using only the two candidate letters gave the same outcomes. This pair reveals a failure to switch on these prompts. More independently generated pairs would be needed to estimate a general evidence-checking rate.
Separately, we ran the math prompt about (2^{10}+24) from the edited model card, enabled thinking, and capped greedy generation at eight new tokens. Both checkpoints produced the same prefix, “Here's my thought process for solving the”, and reached our cap. This run measured the start of a response. A finished math answer and a loop rate require longer generation.
Run the paired pilot on Windows
Keep this environment separate from Dottie's Pythia and SmolLM2 experiments. Run these commands in the same PowerShell window.
py -3.12 -m venv .qwen-env
.\.qwen-env\Scripts\python.exe -m pip install torch==2.8.0 --index-url https://download.pytorch.org/whl/cpu
.\.qwen-env\Scripts\python.exe -m pip install transformers==5.3.0
.\.qwen-env\Scripts\python.exe qwen_audit.py pilot --threads 4 --math-tokens 8
The first pilot downloads the original checkpoint's hash-pinned tokenizer, configuration and chat template, around 12.8 MB. The native Transformers text model reads the stored BF16 and F32 parameters and scores all 248,320 possible tokens from the tied output head. Text prompts use all 24 decoder blocks. Loading each block as needed and scoring the vocabulary in chunks bounds peak memory. Our two-checkpoint pilot took 48.4 seconds on a Linux CPU with four native computation threads, one interop thread and seed zero. The JSON includes the rendered prompts, their token IDs, both A/B logits, the unrestricted first token, and the math prefix for each checkpoint. Transformers 5.3.0 Qwen3.5 reference · PyTorch CPU packages
To replay the local comparison from the same verified inputs, run this command.
.\.qwen-env\Scripts\python.exe qwen_audit.py pilot --offline --threads 4 --math-tokens 8 --out runs\qwen-pilot.json
What the researchers measured
MIT CSAIL reported 7.9% → 48.1% on MATH-500 and 93.0% → 33.1% of those answers reaching the token cap. Their evaluation enabled thinking, used up to 32,768 new tokens, and sampled four answers for each of 500 problems. It used temperature 0.6, top-p 0.95, top-k 20 and presence penalty 1.5. The grader extracted the final boxed answer. A separate published verification of the edited multimodal release used 43.4 million generated tokens on an H200. Our independently rerun results concern the tensors and the three short prompts above. MIT CSAIL results · Evaluation code and protocol · Model-card verification
Watch a direction across 24 decoder blocks
The Qwen paths experiment tests whether switching the evidence moves two prompts in a consistent direction inside the model. At each block it reads the residual at the last prompt token. Eight labeled pairs establish a direction from the B-supported version to the A-supported version. Twenty-four fresh pairs test it. Every question runs independently with thinking disabled. The program also records the first token Qwen actually emits. Only a pair with two correct answers earns a complete point.
On our seed-29 CPU run, both the original Qwen and MIT's edited version scored 1/24 complete pairs. The original answered 21/48 questions correctly and the edited model answered 25/48. At block 6 the measured direction ordered 17/24 pairs in each model. Other blocks ranged from 8 to 17. Looking at all blocks is exploratory. These counts measure a direction in the activations. Establishing that the model uses it to answer requires removing that direction and comparing the effect with a matched control. Explore the measured layer map
Run the next command in the extracted kit, using the same Qwen Python environment as the short pilot. A browser page on your computer refreshes during the test. The saved JSON includes every pair. The two float32 files contain the unit calibration vectors in block order, each 24 rows by 1,024 columns. Use a new seed for a new test.
.\.qwen-env\Scripts\python.exe qwen_paths.py --seed 29 --threads 4
Teach one Qwen and write into a fresh Qwen
The imprint study uses the original Qwen3.5-0.8B in both roles. To try teaching on the A9, use the command below in the extracted kit. The runner makes independent teacher and receiver copies on disk for each task. Each copy has the original architecture and tokenizer. The program reloads each saved weight file and scores its answers. The starting model is verified against its published SHA-256. Allow about 9 GB of disk space for the original and four full experimental weight files, plus the Python environment and any separately downloaded MIT-edited Qwen. Add --tasks stamps or --tasks evidence to run a single task.
.\.qwen-env\Scripts\python.exe qwen_imprint.py --seed 43 --threads 4
The browser opens a local results table as the study runs. Afterward, each task folder contains the actual teacher.safetensors and receiver.safetensors weight files, small rank-one factors, geometry-packet.json and imprint.json. These are the native model weights. For other Transformers software, install them under the original shard filename alongside the pinned configuration and tokenizer. The included runner handles loading directly.
- Teach the donor on 64 labeled examples, using a regularized least-squares fit to increase the correct letter's score in the final block. This task-specific supervised fit trains a rank-one update to even-numbered input columns of the MLP output matrix. Eight unrelated calibration prompts discourage changes to old outputs.
- Compare the original and trained teacher on 48 unlabeled bridge examples and eight orientation examples. For each prompt, measure how the last token's hidden state moved. Give the receiver only the prompt IDs and text, the eight orientation labels, and the table of inner products between those changes. The table lets the receiver estimate which changes point toward A or B. The teacher's weights, chosen outputs and bridge answer keys are excluded from this packet.
- Fit the receiver's own rank-one update to odd-numbered columns of its native matrix using its own activations and those geometric targets. The two edits have disjoint weight addresses. Compare with a receiver given just the eight labeled examples and another given the same geometric readings assigned to shuffled prompts. Score unrestricted first tokens on 24 unseen pairs and eight held-out old answers. The scoring program also records the restricted A/B choice.
- Write the new matrix into a complete fresh copy of the original safetensors file. Reload it, read the answers, and record its SHA-256. Substitute the untouched matrix into the checksum calculation and require recovery of the original whole-file hash. The downloadable factors and geometry packet let Dottie inspect and reproduce the write without downloading our multi-gigabyte experimental copies.
One task uses the repeat-measurement judgment. The other teaches eight invented stamp-to-route assignments in a fictional station system. In the stamp task only two of the eight stamps receive orientation labels. It tests the same learned associations in new ticket forms and serial numbers. The stamp is the last word of a plain completion prompt. The instrument task uses Qwen's chat template. Success on the station task would concern those eight associations. The instrument task separately tests learning a judgment about evidence. Inspect the direct-write results
On Windows, double-click RUN-QWEN.cmd to create the Qwen environment and run both imprint tasks. For the fictional station alone, use .\RUN-QWEN.cmd --tasks stamps in PowerShell. The reference run used seed 43.
Rebuild the measured receiver without retraining
The kit includes the receiver's input coefficients and output direction, plus the hash of the complete weight file whose answers we measured. With the Qwen environment installed, run the following command from the extracted folder. It downloads or verifies the original Qwen, writes the native receiver file to a new path, and checks every byte against the published experimental receiver's SHA-256. Use --task evidence to rebuild the instrument model.
.\.qwen-env\Scripts\python.exe qwen_apply.py --task stamps --out runs\station-receiver.safetensors
What transferred, and what else moved?
On seed 43, both the full-strength station teacher and the reloaded receiver answered all 24/24 unseen ticket pairs correctly. The original Qwen got 0/24, the eight labeled examples by themselves got 6/24, and scrambling the bridge measurements got 0/24. For example, the labels supplied to the receiver named oak and plum. On fresh tickets it also routed jade to A and pine to B. The full-strength receiver changed 1,775,469 stored values in the odd columns of block 23. Its two rank-one factor vectors occupy 18,600 bytes in a safetensors file. Rebuilding from those factors reproduced the complete 1.75 GB receiver byte for byte.
The untouched Qwen answered all eight old questions correctly. The full-strength station receiver answered six. When asked how many sides a triangle or square has, it emitted A. It missed the original requirement to preserve every previously correct safeguard. The instrument teacher correctly switched sides in 5/24 pairs and the receiver in 0/24. That leaves the evidence judgment open. Station cases and checkpoint fingerprint · Instrument cases and checkpoint fingerprint
We then chose a single follow-up before scoring new tickets. Keep the learned direction and cut the write strength in half. On seed 151, the half-strength receiver got 18/24 pairs and 42/48 individual tickets correct. It answered all eight earlier safeguards and eight fresh ones correctly. At full strength it got 24/24 pairs and 13/16 safeguards on the same follow-up. At half strength the anchor-only control got 6/24 pairs and the scrambled control got 0/24. These are two settings of one edit fitted on one training seed. The new tickets use the same eight station assignments and two test templates with fresh serial numbers. This is a test of those associations, the tradeoff in this model, and these 16 questions. See the strength comparison
Rebuild the measured half-strength receiving model, or rerun the independent follow-up on the A9.
.\.qwen-env\Scripts\python.exe qwen_apply.py --task stamps --half
.\.qwen-env\Scripts\python.exe qwen_strength.py --seed 151 --threads 4