Download o1_native/__init__.py from davidfoss/o1: direct link, hf CLI and curl.
- Browser
- Download file 2.69 kB
-
https://huggingface.co/davidfoss/o1/resolve/main/o1_native/__init__.py
- Command line
-
hf download hf://davidfoss/o1/o1_native/__init__.py
-
curl -L -o __init__.py https://huggingface.co/davidfoss/o1/resolve/main/o1_native/__init__.py
2.69 kB
| """Native O1-GSSM + Optical Hypercodec Language Organism (`o1_native`). | |
| Portable `O(1)`-state runtime (`3,318,465` parameters, `32,512 B` constant carrier) uniting: | |
| - GSSM-Selective log-complement rapidity + `O(log T)` doubling prefix scan | |
| - PS-Lifted Möbius-Lorentz Z2 polarity & damped rapidity | |
| - Multi-aperture key-conditioned holographic complex phase binding (`S_re`, `S_im`) | |
| - Native `O(1)` Optical Kerr-Cavity Delta Attention + cubic resonator phase lock | |
| - Universal Zero-UNK UTF-8 byte + 4,096 Optical Morpheme Crystal Codec | |
| - Weight-coupled Invariant Organ Atlas (`K5-K7` + `Z2` + symbolic `Funktor` equivalence) | |
| - Cryptographically hash-chained `Weltbuch` causal graph (`FNV-1a-64` + `SHA-256`) | |
| - Drop-in Llama / DeepSeek / OpenAI-SDK / PyTorch harness bridges (`O1Sidecar`, `O1HiddenStateBridge`) | |
| """ | |
| from .algebra import ( | |
| erase_cavity_key, | |
| erase_episode_delta, | |
| fuse_carriers, | |
| sweep_optical_focus, | |
| ) | |
| from .harness_bridge import ( | |
| O1HiddenStateBridge, | |
| O1Sidecar, | |
| ) | |
| from .hypercodec import ( | |
| CarrierConfig, | |
| CompoundCarrierState, | |
| HypercodecLayer, | |
| O1HypercodecModel, | |
| OrthogonalReceiverBank, | |
| ZeroUNKCodec, | |
| ) | |
| from .organism import ( | |
| CausalTriple, | |
| LiveCausalStore, | |
| O1Organism, | |
| OrganismConfig, | |
| moebius_confidence_combine, | |
| weltbuch_fnv1a64, | |
| ) | |
| from .organs import ( | |
| GraveyardStore, | |
| MRail, | |
| OrganBank, | |
| OrganSpec, | |
| canonical_symbolic_skeleton, | |
| eval_symbolic_prefix_f64, | |
| ) | |
| from .scan import ( | |
| MuPLinear, | |
| dispatch_affine_scan, | |
| holographic_aperture_scan, | |
| kerr_cavity_scan, | |
| kerr_harmonic_phase_features, | |
| moebius_rapidity_scan, | |
| parallel_doubling_scan, | |
| stateful_affine_scan, | |
| ) | |
| from .vocab import ( | |
| INVARIANT_DIM, | |
| build_invariant_table, | |
| populate_optical_vocabulary, | |
| ) | |
| __all__ = [ | |
| "MuPLinear", | |
| "stateful_affine_scan", | |
| "parallel_doubling_scan", | |
| "dispatch_affine_scan", | |
| "moebius_rapidity_scan", | |
| "holographic_aperture_scan", | |
| "kerr_harmonic_phase_features", | |
| "kerr_cavity_scan", | |
| "ZeroUNKCodec", | |
| "CarrierConfig", | |
| "CompoundCarrierState", | |
| "HypercodecLayer", | |
| "OrthogonalReceiverBank", | |
| "O1HypercodecModel", | |
| "INVARIANT_DIM", | |
| "populate_optical_vocabulary", | |
| "build_invariant_table", | |
| "fuse_carriers", | |
| "erase_cavity_key", | |
| "erase_episode_delta", | |
| "sweep_optical_focus", | |
| "canonical_symbolic_skeleton", | |
| "eval_symbolic_prefix_f64", | |
| "OrganSpec", | |
| "OrganBank", | |
| "MRail", | |
| "GraveyardStore", | |
| "CausalTriple", | |
| "LiveCausalStore", | |
| "O1Organism", | |
| "OrganismConfig", | |
| "moebius_confidence_combine", | |
| "weltbuch_fnv1a64", | |
| "O1Sidecar", | |
| "O1HiddenStateBridge", | |
| ] | |