Zero-Model Intelligence: Spatially-optimized visual policy maps
Project description
Zero-Model Intelligence (ZeroModel)
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d28b54bea9f373768306a91e0225f0cc479286d7878278071c12b21cc533a63
|
|
| MD5 |
79e2608ca5213567ce465c5fe1b45146
|
|
| BLAKE2b-256 |
0666fc8277a14f9263d5a6c9d355e28248274df0dd211b75ab1592b47692c9eb
|
Provenance
The following attestation bundles were made for zeromodel-1.0.2.tar.gz:
Publisher:
python-publish.yml on ernanhughes/zeromodel
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zeromodel-1.0.2.tar.gz -
Subject digest:
5d28b54bea9f373768306a91e0225f0cc479286d7878278071c12b21cc533a63 - Sigstore transparency entry: 349199631
- Sigstore integration time:
-
Permalink:
ernanhughes/zeromodel@d2ac257bff8ae94f329f6369068992bfd46e81cc -
Branch / Tag:
refs/tags/v1.0.3 - Owner: https://github.com/ernanhughes
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@d2ac257bff8ae94f329f6369068992bfd46e81cc -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
096e18cd803a8305b53d2db71fb570ac1a2f17e3b37f800f1ecef83e0f205d33
|
|
| MD5 |
f1b40e948004b8f5e67dbd12ffd498c3
|
|
| BLAKE2b-256 |
ff90bcc5f46d92dcbf38dfcf8106784e69b86db89582d672e11c7f36269d3012
|
Provenance
The following attestation bundles were made for zeromodel-1.0.2-py3-none-any.whl:
Publisher:
python-publish.yml on ernanhughes/zeromodel
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zeromodel-1.0.2-py3-none-any.whl -
Subject digest:
096e18cd803a8305b53d2db71fb570ac1a2f17e3b37f800f1ecef83e0f205d33 - Sigstore transparency entry: 349199643
- Sigstore integration time:
-
Permalink:
ernanhughes/zeromodel@d2ac257bff8ae94f329f6369068992bfd46e81cc -
Branch / Tag:
refs/tags/v1.0.3 - Owner: https://github.com/ernanhughes
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@d2ac257bff8ae94f329f6369068992bfd46e81cc -
Trigger Event:
release
-
Statement type: