Skip to main content

hypertensor-core — HyperTensor Geometric Core

Riemannian geometry primitives for transformer analysis, compression, hallucination detection, and geodesic trajectory computation.

From the HyperTensor project (Papers I–XVIII).

Install

pip install hypertensor-core

Modules

Module Description
GeodesicMetric Riemannian metric tensor, Christoffel symbols, geodesic integration
HallucinationGuard Four-condition hallucination boundary detection
GenerationMetrics Token-collapse, geodesic half-life, topological compression

Quick Start

from hypercore import GeodesicMetric, HallucinationGuard

# Build a Riemannian metric from hidden states
metric = GeodesicMetric(k_manifold=32)
metric.fit(hidden_states)

# Compute geodesic distance between two points
d = metric.geodesic_distance(h_a, h_b)

# Check if a generation is likely hallucinated
guard = HallucinationGuard(coverage_radius=0.15)
is_hallucination, reason = guard.check(
    query_projection=query_k,
    nearest_trajectories=trajectories,
    jury_confidence=jury_J,
)

Advanced

For the full HyperTensor stack including AxiomGauge, ThermalRank, OnlineOja, TreeDrafter, and safety red-team modules, install the main package:

pip install hypertensor

License

MIT — see LICENSE

Metadata

Release files for hypertensor-core 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hypertensor-core 1.0.0
File Size Uploaded
hypertensor_core-1.0.0.tar.gz 16.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hypertensor-core 1.0.0
File Interpreter ABI Platform
hypertensor_core-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 32.8 kB

Release files / hypertensor_core-1.0.0.tar.gz

Download URL hypertensor_core-1.0.0.tar.gz
Size 16.0 kB
Tags Source
SHA-256 checksum
How to use checksums
80eaf82d9d106c82e5ebac583f8a184bd769298ab44f45313441722115685110
BLAKE2b-256 checksum
How to use checksums
bf1c2d61a3563e89a4eb8d08a48bb273251f49e086361b93d3a686a6bce2b2f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / hypertensor_core-1.0.0-py3-none-any.whl

Download URL hypertensor_core-1.0.0-py3-none-any.whl
Size 16.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
90aa850b168a9f967ccd32dc46468b5803701566f5332d7d6adbcdd26f13b102
BLAKE2b-256 checksum
How to use checksums
bf9a0b4b9db2ef77325e6d7926b290e8e4c6a77533235d8be29a87663c560d2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page