Download README.md from phi4-generative/phi4-critical-configs: direct link, hf CLI and curl.
- Browser
- Download file 6.32 kB
-
https://huggingface.co/datasets/phi4-generative/phi4-critical-configs/resolve/refs%2Fpr%2F3/README.md
- Command line
-
hf download hf://datasets/phi4-generative/phi4-critical-configs@refs/pr/3/README.md
-
curl -L -o README.md https://huggingface.co/datasets/phi4-generative/phi4-critical-configs/resolve/refs%2Fpr%2F3/README.md
license: cc-by-4.0
pretty_name: phi^4 lattice configurations near the critical point, 2D and 3D
tags:
- physics
- lattice-field-theory
- monte-carlo
- phase-transition
- critical-point
size_categories:
- 10K<n<100K
φ⁴ lattice configurations near the critical point
Monte Carlo configurations of the scalar φ⁴ theory on periodic lattices of volume V = L^D with action
| D | κ | λ | κ_c | L | configurations per L | total size |
|---|---|---|---|---|---|---|
| 2 | 0.2705 | 0.022 | 0.27088 | 16, 32, 64, 128 | 10240 | 1.8 GB |
| 3 | 0.1923 | 0.9 | 0.19225 | 16, 32, 64, 128 | 2560 | 49 GB |
κ_c is the critical point estimated from Binder-cumulant crossings in the reference below.
Files
2D/phi4_2D_L16_kappa0.2705_lambda0.022.npy (10240, 16, 16) 21 MB
2D/phi4_2D_L32_kappa0.2705_lambda0.022.npy (10240, 32, 32) 84 MB
2D/phi4_2D_L64_kappa0.2705_lambda0.022.npy (10240, 64, 64) 336 MB
2D/phi4_2D_L128_kappa0.2705_lambda0.022.npy (10240, 128, 128) 1342 MB
3D/phi4_3D_L16_kappa0.1923_lambda0.9.npy (2560, 16, 16, 16) 84 MB
3D/phi4_3D_L32_kappa0.1923_lambda0.9.npy (2560, 32, 32, 32) 671 MB
3D/phi4_3D_L64_kappa0.1923_lambda0.9.npy (2560, 64, 64, 64) 5369 MB
3D/phi4_3D_L128_kappa0.1923_lambda0.9.npy (2560, 128, 128, 128) 42950 MB
Each array holds the float64 field values φ_x. Axis 0 runs over configurations in Monte Carlo order and the remaining axes are the periodic lattice directions. The configurations were generated with Fourier-accelerated HMC combined with Wolff cluster updates. The 3D L = 128 file consists of ten independent chains of 256 configurations, concatenated along axis 0.
Download
pip install -U huggingface_hub
# everything, 51 GB
hf download phi4-generative/phi4-critical-configs --repo-type dataset --local-dir phi4-critical-configs
# 2D only, 1.8 GB
hf download phi4-generative/phi4-critical-configs --repo-type dataset --local-dir phi4-critical-configs --include "2D/*"
# a single file
hf download phi4-generative/phi4-critical-configs --repo-type dataset --local-dir phi4-critical-configs --include "3D/*L64*"
import numpy as np
from huggingface_hub import hf_hub_download
f = hf_hub_download("phi4-generative/phi4-critical-configs",
"3D/phi4_3D_L32_kappa0.1923_lambda0.9.npy", repo_type="dataset")
phi = np.load(f, mmap_mode="r") # (2560, 32, 32, 32)
M = phi.mean(axis=(1, 2, 3)) # magnetisation of each configuration
Autocorrelation
Every chain starts from a random field. One sampler iteration is one HMC trajectory followed by Wolff cluster flips. τ_int is the integrated autocorrelation time of the stored sequence in units of stored configurations, so 0.5 means consecutive configurations are uncorrelated. M = V⁻¹ Σ_x φ_x is the magnetisation of a configuration, S its action as defined in the next section, and E = Σ_x Σ_μ φ_x φ_{x+μ̂} its nearest-neighbour correlator.
| D | L | chains × configurations | warm-up iterations | stored every | HMC acceptance | τ_int(M) | τ_int(|M|) | τ_int(S) | τ_int(E) |
|---|---|---|---|---|---|---|---|---|---|
| 2 | 16 | 1 × 10240 | 2000 | 5th iteration | 0.77 | 0.52 | 0.53 | 0.56 | 0.53 |
| 2 | 32 | 1 × 10240 | 2000 | 5th iteration | 0.78 | 0.50 | 0.58 | 0.60 | 0.58 |
| 2 | 64 | 1 × 10240 | 2000 | 5th iteration | 0.78 | 0.49 | 0.64 | 0.66 | 0.65 |
| 2 | 128 | 1 × 10240 | 2000 | 5th iteration | 0.79 | 0.48 | 0.69 | 0.79 | 0.82 |
| 3 | 16 | 1 × 2560 | 2000 | 10th iteration | 0.77 | 0.55 | 0.60 | 0.55 | 0.55 |
| 3 | 32 | 1 × 2560 | 2000 | 10th iteration | 0.80 | 0.50 | 0.53 | 0.54 | 0.55 |
| 3 | 64 | 1 × 2560 | 2000 | 10th iteration | 0.75 | 0.48 | 0.78 | 0.88 | 0.91 |
| 3 | 128 | 10 × 256 | 2000 per chain | 10th iteration | 0.77 | 0.48 | 0.74 | 0.74 | 0.75 |
The slowest modes of this sampler are the Z₂-even global quantities S, E, Σ_x φ_x², M² and |M|, which relax together. In sampler iterations their τ_int grows from about 1.3 (2D, L = 16) to 2.4 (2D, L = 128) and from 2.4 (3D, L = 16) to 4 to 7 (3D, L = 128), which sets the thinning above. A scan over M, |M|, M², S, E, Σ_x φ_x², Σ_x φ_x⁴, max_x |φ_x|, the mode powers |φ̃(k)|² of the four lowest momentum shells and of k = (π, …, π) found no stored observable with τ_int above the larger of τ_int(S) and τ_int(E) by more than 0.1.
Observables
The action S of a configuration is computed as
which is the action at the top of this page without the field-independent constant λV. Errors are jackknife over 64 blocks of consecutive configurations.
2D, κ = 0.2705, λ = 0.022
| L | ⟨|M|⟩ | χ | U_L | ⟨φ_x²⟩ | ⟨S⟩/V |
|---|---|---|---|---|---|
| 16 | 0.8149(26) | 22.99(30) | 0.5524(18) | 1.5215(29) | 0.38758(49) |
| 32 | 0.7147(25) | 64.28(83) | 0.5672(16) | 1.4698(19) | 0.39297(26) |
| 64 | 0.6019(26) | 211.8(30) | 0.5551(20) | 1.4400(11) | 0.39619(18) |
| 128 | 0.4446(23) | 771.6(69) | 0.4815(27) | 1.41936(61) | 0.398604(90) |
3D, κ = 0.1923, λ = 0.9
| L | ⟨|M|⟩ | χ | U_L | ⟨φ_x²⟩ | ⟨S⟩/V |
|---|---|---|---|---|---|
| 16 | 0.2119(24) | 43.38(92) | 0.4681(65) | 0.62329(34) | −0.12466(49) |
| 32 | 0.1497(14) | 171.7(36) | 0.4721(64) | 0.61929(11) | −0.11846(16) |
| 64 | 0.1125(12) | 641(15) | 0.5032(48) | 0.617963(58) | −0.116385(81) |
| 128 | 0.09725(87) | 2372(73) | 0.5658(35) | 0.617684(26) | −0.116003(38) |
Reference
The ensembles follow the setup of
@article{Tan:2026ibs,
author = "Tan, Yang-yang and Aarts, Gert and Habibi, Diaa E. and Lucini, Biagio and Wang, Lingxiao",
title = "{Diffusion Models for Sampling Near Criticality in Lattice Field Theories}",
eprint = "2607.08505",
archivePrefix = "arXiv",
primaryClass = "hep-lat",
reportNumber = "RIKEN-iTHEMS-Report-26",
month = "7",
year = "2026"
}