Downloads · 30 days
0
antonypamo/savant-engine
savant-engine is a machine learning model from antonypamo. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
--- Deterministic Geometric Governance for Embedding Pipelines
Downloads · 30 days
0
Access
Public
Updated Jan 27, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.py3.8 KB · 40%
From the Hugging Face model README
Deterministic Geometric Governance for Embedding Pipelines
Savant Engine is a lightweight Geometry Control SDK designed to stabilize, audit, and govern vector embeddings produced by modern neural models.
It introduces deterministic geometric guarantees without modifying model weights or semantic content.
This SDK is model-agnostic and can wrap any embedding generator (Transformers, SentenceTransformers, local LLMs, or custom encoders).
Modern embedding models can silently produce vectors with near-zero norms, leading to:
Savant solves this by owning the geometry, not the model.
The embedding manifold is governed by deterministic constraints, independent of the model’s internal distribution.
Under nominal conditions, Savant introduces zero distortion.
It only intervenes when geometric safety is violated.
All stabilization events are logged, converting silent failures into traceable engineering signals.
savant_wrapper.pyCore stabilization wrapper that:
r_min)geometry_audit.pyLightweight audit utilities for:
rrf_safe_similarity.pyDrop-in replacements for similarity operations:
pip install savant-engine
Or directly from Hugging Face:
pip install git+https://huggingface.co/antonypamo/savant-engine
Quick Start
from savant_wrapper import SavantWrapper
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("all-MiniLM-L6-v2")
savant = SavantWrapper(
embedder=model,
r_min=1e-4
)
vec = savant.encode("Resonant Relational Framework")
print(vec.shape)
print(savant.audit_log)
Design Intent
Savant is not:
a model
a dataset
a fine-tuned checkpoint
Savant is:
an SDK
an infrastructure primitive
a deterministic safety layer for AI systems
Target Use Cases
Reciprocal Rank Fusion (RRF)
Vector databases
Safety-critical AI pipelines
Industrial / ISO-compliant ML systems
Research validation and benchmarking
License
MIT License
Author
Antony Padilla Morales
Costa Rica
“The model generates meaning.
Savant owns geometry.”