perforatedai

Perforated AI: Better accuracy, smaller models, less data - enabled by perforated learning.

Perforated AI adds neuron-specific learning signals (artificial dendrites) during training, helping models achieve higher accuracy with fewer parameters, less data, and lower deployment costs. It integrates directly into existing PyTorch workflows with minimal code changes.

Modules

See the README for installation, examples, and key results.

 1"""Perforated AI: Better accuracy, smaller models, less data - enabled by perforated learning.
 2
 3Perforated AI adds neuron-specific learning signals (artificial dendrites)
 4during training, helping models achieve higher accuracy with fewer
 5parameters, less data, and lower deployment costs. It integrates directly
 6into existing PyTorch workflows with minimal code changes.
 7
 8Modules
 9-------
10- `perforatedai.globals_perforatedai` — Configuration classes and utilities
11  (`PAIConfig`): device settings, dendrite management, module conversion
12  options, and training parameters.
13- `perforatedai.utils_perforatedai` — Entry point for converting a model
14  (`perforate_model`) plus helpers for saving, loading, and inspecting
15  PAI networks.
16- `perforatedai.modules_perforatedai` — The core module wrappers that add
17  dendritic copies to layers and manage dendrite state during training.
18- `perforatedai.network_perforatedai` — Network-level conversion and
19  checkpoint loading for PAI models.
20- `perforatedai.tracker_perforatedai` — Training tracker: validation-score
21  history, learning-rate management, and deciding when to add dendrites.
22- `perforatedai.suggestions_perforatedai` — Analysis of how a run ended
23  (`analyze_outcome`), with suggestions for which settings to try next.
24- `perforatedai.library_perforatedai` — Processors and reference
25  architectures (LSTM processors, ResNet variants) for modules that need
26  custom input/output handling.
27- `perforatedai.blockwise_perforatedai` — Blockwise optimization of
28  converted networks.
29- `perforatedai.clean_perforatedai` — Utilities for exporting a trained
30  PAI model to a cleaned-up, scaffold-free form.
31
32See the [README](https://github.com/PerforatedAI/PerforatedAI) for
33installation, examples, and key results.
34"""