HFP-O1-Memory-Model / README.md

Commit History

Upload 11 files
f9b2068
verified

kayrahan35 commited on

Delete README.md
f5499ab
verified

kayrahan35 commited on

Upload folder using huggingface_hub
90801dd
verified

kayrahan35 commited on

Upload folder using huggingface_hub
dda583f
verified

kayrahan35 commited on

Upload README.md with huggingface_hub
bd41e3e
verified

kayrahan35 commited on

Upload README.md with huggingface_hub
02bd67d
verified

kayrahan35 commited on

Upload README.md with huggingface_hub
500c329
verified

kayrahan35 commited on

Upload README.md with huggingface_hub
58612c2
verified

kayrahan35 commited on

Update Model Card with 124M VRAM and Quality (Perplexity) Benchmarks
5dcac5b
verified

kayrahan35 commited on

Update README.md with comprehensive O(1) Memory details
881bd54
verified

kayrahan35 commited on

Update README.md
e524205
verified

kayrahan35 commited on

Update README.md
20057bd
verified

kayrahan35 commited on

Update README.md
22296fb
verified

kayrahan35 commited on

Update README.md
0a98576
verified

kayrahan35 commited on

Update README.md
aca61ac
verified

kayrahan35 commited on

--- tags: - custom_code - pytorch - causal-lm - transformer-alternative - o1-memory - hfp - physics-informed license: agpl-3.0 language: - en --- # Hyper Flux Projection (HFP) - O(1) Memory Causal LM **HFP** is a groundbreaking, physics-inspired causal language model architecture that completely replaces the traditional KV-Cache with thermodynamic context compression, dual-masked attention, and quantum-inspired quantized learning rate schedulers. ## 🚀 Key Innovation: O(1) Memory Scaling Unlike standard Transformers whose VRAM usage grows quadratically `O(N^2)` with sequence length, **HFP maintains a strictly constant `O(1)` memory footprint**, enabling infinite context windows on consumer hardware. ![O(1) Benchmark](https://huggingface.co/kayrahan35/HFP-O1-Memory-Model/resolve/main/benchmark_results_gpu.png) ## Usage Because this model uses a completely novel architecture, you must use `trust_remote_code=True` to load it. ```python import torch from transformers import AutoModelForCausalLM, AutoConfig # Load the architecture model = AutoModelForCausalLM.from_pretrained( "kayrahan35/HFP-O1-Memory-Model", trust_remote_code=True ) print(model) Theory & Paper The theoretical physics foundation of this model can be found here: Hyper Flux Projection Theory ( http://osf.io/xc7e4 ) License GNU AGPL v3.0
f14d221
verified

kayrahan35 commited on