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.2.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.2-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zeromodel-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 5d28b54bea9f373768306a91e0225f0cc479286d7878278071c12b21cc533a63
MD5 79e2608ca5213567ce465c5fe1b45146
BLAKE2b-256 0666fc8277a14f9263d5a6c9d355e28248274df0dd211b75ab1592b47692c9eb

See more details on using hashes here.

Provenance

The following attestation bundles were made for zeromodel-1.0.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: zeromodel-1.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 096e18cd803a8305b53d2db71fb570ac1a2f17e3b37f800f1ecef83e0f205d33
MD5 f1b40e948004b8f5e67dbd12ffd498c3
BLAKE2b-256 ff90bcc5f46d92dcbf38dfcf8106784e69b86db89582d672e11c7f36269d3012

See more details on using hashes here.

Provenance

The following attestation bundles were made for zeromodel-1.0.2-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