Download README.md from Nondegeneracy/partition-function-llm: direct link, hf CLI and curl.
- Browser
- Download file 4.15 kB
-
https://huggingface.co/datasets/Nondegeneracy/partition-function-llm/resolve/main/README.md
- Command line
-
hf download hf://datasets/Nondegeneracy/partition-function-llm/README.md
-
curl -L -o README.md https://huggingface.co/datasets/Nondegeneracy/partition-function-llm/resolve/main/README.md
license: cc-by-4.0
language:
- en
tags:
- reinforcement-learning
- llm-agents
- reproducibility
- lora
pretty_name: 'Potential emergence in LLM agents: a statistical physics perspective'
Potential emergence in LLM agents: data and adapters
Zhuo-Yang Song, Hua Xing Zhu. Paper: arXiv:2611.27618. Code: SonnyNondegeneracy/partition-function-llm.
Measurements, cumulative LoRA adapters and source data for the paper. Agents choose transitions between the 8 states of T1 (safety-test selection) or the 12 states of T2 (physics-reasoning audit); every measurement samples 4,096 responses per source state (256 in thinking mode), parses each into a destination state and counts transitions.
Contents
| Folder | Content | Paper |
|---|---|---|
measurements/counts/main/ |
Main experiment, Qwen3.5-9B, T1 and T2, initial model and rounds 1-8 | Figs 2, 3 |
measurements/counts/revision/ |
Two further training seeds per task, KL scan (8 rounds), training amount, reward interpolation, Gemma-4-E4B; README inside | Figs 2-5, Methods |
measurements/counts/thinking_qwen9b/, transfer_qwen9b/, qwen35_T1_counts/ |
Thinking mode, vLLM direct sampling and six prompt variants of the T1 checkpoints, Qwen3.5-4B | Fig. 4 |
measurements/counts/main_kernels/ |
Estimated transition kernels of the main experiment | |
measurements/raw/ |
Raw responses with token IDs and truncation flags for the measurements above (main, thinking, prompt variants, 4B, sampling temperature, KL scan) | |
measurements/source_data/frozen/ |
Bootstrap intervals and calibration covariance of the main experiment, Fig. 4 observations with bootstrap draws | Figs 2-4 |
measurements/source_data/revision/ |
Source data of Figs 2-5 as written by the figure scripts; README inside | Figs 2-5 |
adapters/ |
80 cumulative LoRA adapters: main T1/T2, Qwen3.5-4B T1 and seven KL coefficients, rounds 1-8 | |
metadata/ |
Prepared prompts, task definitions, rewards, training commands and logs, measurement index, adapter list, baseline reuse |
Raw responses and adapters of the revision runs are not included; their counts and manifests (seeds, prepared-prompt
hashes) are in measurements/counts/revision/.
Usage
huggingface-cli download --repo-type dataset Nondegeneracy/partition-function-llm --local-dir hfdata
The companion code reproduces Figs 1-5 from measurements/counts and measurements/source_data/frozen; see its README.
metadata/measurement_index.json links every measurement to its raw responses, counts and sampling environment, and the
code's analysis/replay_raw.py re-parses the raw responses and checks the counts. metadata/DATA_DICTIONARY.md defines
the fields.
Each adapter is cumulative: load one adapter on its base model and never stack rounds. Base models are not included:
Qwen/Qwen3.5-9B at revision c202236235762e1c871ad0ccb60c8ee5ba337b9a and Qwen/Qwen3.5-4B at revision
851bf6e806efd8d0a36b00ddf55e13ccb7b8cd0a (metadata/adapters.json).
python evaluation/load_adapter.py --data-root hfdata --adapter main_9b/T1/round_08
Notes on the data:
- Invalid outputs stay in the row counts with reward 0. State entropy is over valid outputs, in nats.
- Plotted rewards are the implementation reward minus 1, so invalid outputs contribute -1.
- Intervals are pointwise 95% bootstrap intervals over counts (500 draws).
- Some branches share a measured initial model;
metadata/baseline_reuse.jsonlists them.
Licence and citation
Measurements, metadata and adapter contributions: CC BY 4.0. Qwen base models are under Apache-2.0
(LICENSE-Qwen-*.txt, THIRD_PARTY_NOTICES.md).
@misc{song2026potential,
title = {Potential emergence in {LLM} agents: a statistical physics perspective},
author = {Song, Zhuo-Yang and Zhu, Hua Xing},
year = {2026},
eprint = {2611.27618},
archivePrefix = {arXiv},
primaryClass = {cs.LG},
doi = {10.48550/arXiv.2611.27618},
url = {https://arxiv.org/abs/2611.27618}
}