Skip to main content

Zero-Model Intelligence: Spatially-optimized visual policy maps

Project description

Zero-Model Intelligence (ZeroModel)

PyPI version License: MIT

Zero-Model Intelligence is a paradigm-shifting approach that embeds decision logic into data structure itself. Instead of making models smarter, zeromodel makes data structures intelligent.

The intelligence isn't in the processing—it's in the data structure itself.

🧠 Core Concept

zeromodel transforms high-dimensional policy evaluation data into spatially-optimized visual maps where:

  • Position = Importance (top-left = most relevant)
  • Color = Value (darker = higher priority)
  • Structure = Task logic (spatial organization encodes decision workflow)

This enables zero-model intelligence on devices with <25KB memory.

🚀 Quick Start

pip install zeromodel
from zeromodel import ZeroModel
import numpy as np

# Initialize with metric names
metric_names = ["uncertainty", "size", "quality", "novelty", "coherence"]
zeromodel = ZeroModel(metric_names)

# Generate or load your score matrix (documents × metrics)
score_matrix = np.random.rand(100, 5)  # Example data

# Process for a specific task
zeromodel.set_task("Find uncertain large documents")
zeromodel.process(score_matrix)

# Get visual policy map
vpm = zeromodel.encode()

# For edge devices: get critical tile
tile = zeromodel.get_critical_tile()

# Get top decision
doc_idx, relevance = zeromodel.get_decision()

📚 Documentation See the full documentation for detailed usage instructions.

💡 Edge Device Example (Lua)

-- 180 bytes of code - works on 25KB memory devices
function process_tile(tile_data)
    -- Parse tile: [width, height, x, y, pixels...]
    local width = string.byte(tile_data, 1)
    local height = string.byte(tile_data, 2)
    local x = string.byte(tile_data, 3)
    local y = string.byte(tile_data, 4)
    
    -- Decision rule: is top-left pixel "dark enough"?
    local top_left = string.byte(tile_data, 5)
    return top_left < 128
end

🌐 Website Check out our website at zeromi.org for tutorials, examples, and community resources.

📄 Citation If you use zeromodel in your research, please cite:

@article{zeromodel2025,
  title={Zero-Model Intelligence: Spatially-Optimized Decision Maps for Resource-Constrained AI},
  author={Ernan Hughes},
  journal={arXiv preprint arXiv:XXXX.XXXXX},
  year={2025}
}

Running the test cases

# Create and activate a virtual environment (recommended)
python -m venv .venv
source .venv/bin/activate  # Linux/Mac


# Install ZeroModel in editable mode with test dependencies
pip install -e ".[dev]"


# Run with detailed information about each test
pytest tests/test_core.py --verbose

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zeromodel-1.0.1.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zeromodel-1.0.1-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file zeromodel-1.0.1.tar.gz.

File metadata

  • Download URL: zeromodel-1.0.1.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for zeromodel-1.0.1.tar.gz
Algorithm Hash digest
SHA256 70ec2213eb84ddbf80650b574f1d87e84c604113292391eb7bef329e05c4d63a
MD5 e48e865097822feeca91748b4d3b6422
BLAKE2b-256 721187608c479bc48abbbdb35521a876bfbc8468802a68e8c6f01ab4064c1398

See more details on using hashes here.

Provenance

The following attestation bundles were made for zeromodel-1.0.1.tar.gz:

Publisher: python-publish.yml on ernanhughes/zeromodel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file zeromodel-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: zeromodel-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 16.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for zeromodel-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f233b754e3c544571883a91b99029bf0f02b997ca96ac66c86fb97bf8d6dc08f
MD5 bdb220713ae7ae0644abf3d6ca956348
BLAKE2b-256 a2f265f40777f6035faa41d34b23d2617f35a04504213472fe5a9f44181c8394

See more details on using hashes here.

Provenance

The following attestation bundles were made for zeromodel-1.0.1-py3-none-any.whl:

Publisher: python-publish.yml on ernanhughes/zeromodel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page