CoolFace
Modelpublic

Invictus-AI/self-evolving-nn

sourceHugging Faceupdated 2mo agoView on Hugging Face
0likes2downloads
Model Card

๐Ÿงฌ Self-Evolving Neural Network โ€” 4524d43d

Evolved locally with neuroevolution (genetic architecture search), then uploaded from this machine.

Model

  • โ€”Architecture: gated MLP โ€” top-3 features โ†’ layer 1, remaining features join every layer after
  • โ€”Layers: 192(swish), 96(selu), 32(swish), 192(linear), 256(relu), 64(sigmoid)
  • โ€”Params: 102,216
  • โ€”Learning rate: 0.005 ยท Optimizer: rmsprop ยท Batch size: 16
  • โ€”Top-3 feature gate: [4, 9, 16]
  • โ€”Fitness: 331118.82

Evolution history

  • โ€”Generations: 18
  • โ€”Initial best fitness: 37948.7707
  • โ€”Final best fitness: 240545.7623
  • โ€”Improvement: +533.9%

Files

FileDescription
evo_checkpoints/best_model.kerasTrained best model (Keras)
evo_checkpoints/best_genome.jsonBest architecture genome
evo_checkpoints/evolution_history.jsonFitness across generations
self_evolving_model.pyCore evolution engine
evo_gui.pyFlask web dashboard
requirements.txtDependencies

How to run

bash
pip install -r requirements.txt
# Continue evolving from this state
python3 self_evolving_model.py --continue --generations 50
# Or launch the web GUI
python3 evo_gui.py --port 5000

Scaling up (v2/v3 on GPU)

bash
python3 self_evolving_model.py --continue --max-units 512 --max-layers 8 --train-epochs 20

See evo_v2_colab.ipynb for a ready-to-run Google Colab notebook.