[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-107532":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":9,"pushedAt":25,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":15,"starSnapshotCount":15,"syncStatus":29,"lastSyncTime":30,"discoverSource":31},107532,"lm_understand-logs","RikiyaT\u002Flm_understand-logs","RikiyaT","Complete logs of the experiments in the blog post 'LLMs can understand and write neural network weights'",null,"Python",1294,168,10,8,0,5,29,677,15,89.18,"Other",false,"main",[],"2026-10-29 04:47:12","2026-11-23 12:22:45","# Logs: LLMs can understand and write neural network weights\n\nThe complete logs of every experiment in the blog post *Sparks of Weight Space Programming: LLMs can understand and\nwrite neural network weights*. For each experiment you get:\n\n- everything we sent the model;\n- everything it sent back, including its reasoning summaries;\n- every piece of code it ran, with the output it saw;\n- the evaluation behind each number in the post;\n- the networks it read or wrote.\n\nEach experiment folder has its own README. It says which run is which tab or row in the post, and which file each\nnumber comes from.\n\n| Folder | In the post | Runs | Tools |\n|---|---|---|---|\n| [`exp1_which_game\u002F`](exp1_which_game) | Experiment 1: which game was this network trained on? | Breakout, Pong, Pac-Man, Freeway (open answer) | none |\n| [`exp2_diffusion\u002F`](exp2_diffusion) | Experiment 2: what does this diffusion model generate? | circle, square, triangle | none, no forward pass |\n| [`exp3_language\u002F`](exp3_language) | Experiment 3: which language a language model learned, from its middle blocks | Python, romaji, English, two conversations each | Python sandbox, no forward pass |\n| [`exp4_fix_car\u002F`](exp4_fix_car) | Experiment 4: fix a failing network by editing its weights | one one-shot edit | none |\n| [`exp5_write_from_scratch\u002F`](exp5_write_from_scratch) | Experiment 5: write networks from scratch | Breakout, Seaquest, Asterix (MinAtar) | none |\n| [`exp6_go_from_scratch\u002F`](exp6_go_from_scratch) | Experiment 6: write a 1.5M-weight Go network | 0, 10, 25 and 50 passes | Python sandbox |\n| [`exp7_sycophancy\u002F`](exp7_sycophancy) | Experiment 7: which language model is sycophantic? | four weights-only attempts, then the attention tool (3 pairs each) | Python sandbox |\n| [`exp8_math\u002F`](exp8_math) | Experiment 8: make a language model better at math | Qwen3.5-0.8B with 10, 25 and 50 passes, and the Gemma 3 270M follow-up | Python sandbox |\n\nOnly the runs the post reports are here. Trial runs of earlier prompt versions are left out.\n\n## How the model was run\n\n\"Astra\" in the post is OpenAI's `gpt-6-astra`.\n\n**One turn.** Every turn is one call of the Codex CLI: `codex exec`, or `codex exec resume \u003Cthread>` to continue a\nconversation. The prompt goes in on stdin. The reasoning effort is set per call and recorded in each turn's `run.json`:\n\n| Effort | Experiments |\n|---|---|\n| `high` | 1, 2, 4 |\n| `xhigh` | 3, 5, 6, 7 |\n| `max` | 8 |\n\n**No tools of its own.** Every built-in Codex capability that gives the model a tool is switched off: shell, file\nediting, web search, image viewing, sub-agents, plugins and the rest. The configuration is in\n[`harness\u002Fcodex_config.toml`](harness\u002Fcodex_config.toml), and the system instructions are one neutral line,\n[`harness\u002Finstructions.md`](harness\u002Finstructions.md). Each call names the model and the effort itself, overriding\nthe defaults in that file.\n\n**Every turn was audited.** We checked each turn's event stream. A turn counts as tool-free when the stream holds only\nthe model's messages, its reasoning summaries, and Codex's notice that code mode is disabled. The result is the\n`audit.tool_free` field of the turn's `run.json`. All 1,125 turns in this release are tool-free.\n\n**Where code was allowed** (Experiments 3, 6, 7, 8):\n- The model wrote one Python block per turn.\n- We ran it in our own sandbox ([`harness\u002Fsandbox.py`](harness\u002Fsandbox.py)): bubblewrap, no network, a working folder\n  kept between runs, and a time limit per run.\n- We sent the printed output back as the next message.\n- Each run's code and output are in `tool_calls.jsonl`.\n- What the code was allowed to do is stated in the experiment's prompt and in its README.\n\n## Files\n\nNot every file appears in every run.\n\n| File | What it is |\n|---|---|\n| `prompt.txt`, `message.txt` | What we sent: the first message, and later ones per turn. |\n| `events.jsonl` | The raw Codex event stream of one turn: the model's messages and reasoning summaries, plus token usage. |\n| `answer.md`, `turn_text.md`, `final_answer.md` | The model's reply in one turn, and its final reply. |\n| `explanations.md` | The model's explanation of each step, collected over the run, where the prompt asked for one. |\n| `tool_calls.jsonl` | One line per sandbox run: the code, its printed output, and the time it took. |\n| `run.json` | One turn's record: model, effort, tokens, wall time, and the audit. |\n| `state.json` | One conversation's record: turns, runs used, and whether it finished. |\n| `loop.log`, `driver.log`, `run.log` | The harness's log of the run. |\n| `eval\u002F` | The scoring, with the answer key or ground truth. |\n| `networks\u002F` | The networks the model read or wrote. |\n\n**Placeholders.** Internal paths are replaced by placeholders:\n\n| Placeholder | Stands for |\n|---|---|\n| `\u003Cdata>` | our data disk |\n| `\u003Crepo>` | our experiment repository |\n| `\u003Ccodex>` | the Codex binary |\n| `\u003Ccodex_home>` | Codex's state folder |\n| `\u003Cvenvs>` | Python environments |\n| `\u003Chome>` | home directory |\n| `\u003Cremote>` | a rented GPU node |\n\nCodex thread ids are replaced by `id-` and 8 hex digits. The same thread keeps the same id in every file, so turns\nof one conversation still match up.\n\n## Not included\n\n- **The Gemma 3 270M fine-tunes of Experiment 7** (17 GB). The data, the training script and the hashes are there, so\n  they can be rebuilt.\n- **The intermediate files the model wrote while working:** activations, generated-text dumps and its draft networks.\n  The final networks and weight edits are included, Experiment 8's as exact diffs against the public base weights,\n  with a script that applies them.\n- **The text of Experiment 3's Python corpus.** It is other projects' code, so we give a manifest and a rebuild script\n  instead.\n- **The GPQA question texts in Experiment 8's generations.** GPQA's scores and per-question results are kept.\n\n## Licenses\n\nSee [`LICENSE`](LICENSE).\n\n| Content | License |\n|---|---|\n| Logs, data and networks | CC BY 4.0 |\n| Our scripts | MIT |\n| MinAtar source in Experiment 5's prompts | GPL-3.0, see `exp5_write_from_scratch\u002FLICENSE-MinAtar` |\n\nThird-party benchmark data keep their own licenses: MATH, GSM8K, IFEval, MMLU-Pro and the others in Experiment 8.\n","该项目是《LLMs can understand and write neural network weights》博客中全部实验的完整执行日志集合，用于验证大语言模型（LLM）对神经网络权重空间的理解与编程能力。核心功能包括：按实验编号组织的结构化日志，涵盖模型输入\u002F输出、推理过程、代码执行记录、权重读写操作及量化评估依据；所有实验均在禁用工具（如shell、文件系统、网络访问）的严格约束下运行，仅依赖纯文本推理与Python沙箱（部分实验）。适用于AI安全、可解释性研究、权重空间编程、模型逆向分析及大模型能力边界评估等学术与工程场景。",2,"2026-11-24 04:32:09","CREATED_QUERY"]