Purpose & architecture
The shared implementation computes an energy, performs short Langevin-style refinement and emits the refined vector alongside an energy-derived score. Train compares the energy of target data with a short negative-sampling chain. The YINYANG configuration is constructed by the function named NewYOUR.
The partition-function equation in the header describes a model family; the code does not establish a computed normalized density. The loss calculation and sampling loop do not by themselves constitute a trained energy model, and Train itself does not update weights.
This source generation
This record follows the claude/improve-math-logic-ehIW1 branch of Janady13/complete-agi-core at commit 33aa84f2aa61cedbe010240ada7f4efbdfe795a7. The snapshot identifies the source inspected in this audit. It is not a statement about which revision is currently running on a device.
| Field | Source record |
|---|---|
| Revision | 33aa84f2aa61cedbe010240ada7f4efbdfe795a7 |
| Branch | claude/improve-math-logic-ehIW1 |
| Recorded generation | Generator Core · energy |
Recovered implementation structure
These paths locate the components and entry points represented by this build. The source register contains their inspected revisions.
- generator_core/pkg/generators/energy/energy.go
Behavior & verification limits
The partition-function equation in the header describes a model family; the code does not establish a computed normalized density. The loss calculation and sampling loop do not by themselves constitute a trained energy model, and Train itself does not update weights.
Original project documentation
The following documentation is preserved as a dated source account. Claims in it retain the source’s wording and must be read alongside the implementation notes above.
Package energy implements energy-based generators (66-75) p(x) = exp(-E(x)) / Z where Z = ∫ exp(-E(x)) dx ═══════════════════════════════════════════════════════════════════════════════ ENERGY GENERATOR BASE ═══════════════════════════════════════════════════════════════════════════════ EnergyGenerator implements energy-based models NewEnergyGenerator creates a new energy-based generator Initialize initializes the energy generator computeEnergy computes energy E(x) for input
Equations in this build
2 linked mathematical records. Each opens its notation, interpretation and source.
energy · p(x)
This relation defines p(x) in the source section “energy · p(x)”. Integrates contributions over the variable and bounds stated in the expression; the measure and domain must come…
func (g *EnergyGenerator) langevinStep(x []float64) []float64 · Langevin dynamics: x_new
This relation defines Langevin dynamics: x_new in the source section “func (g *EnergyGenerator) langevinStep(x []float64) []float64 · Langevin dynamics: x_new”. Takes a square…