On this page
thoughtformula
Prev: desktop-interface | Up: projects | Next: thoughtform
Rel: wispsy, thoughtformula (org), Frameworks, thoughtform, hypnosis
Ref: wispsy on GitHub
Tags: #public #wispsy #project #frameworks #tier/core
Role
Pure-Python (3.12+, zero runtime deps) generative Transformer featuring FlashAttention tiling, Paged KV-Cache, BitNet b1.58 ternary quantization, GQA, RoPE, Sparse MoE SwiGLU, LoRA continual learning, DPO/KTO alignment, Medusa speculative decoding, and resumable .tft pretraining (0.3.1).
Install
pip install thoughtformula==0.3.1
Quickstart
# Run speculative decoding benchmark or interactive typewriter REPL:
thoughtformula --benchmark
thoughtformula
from thoughtformula.training import TrainingConfig, fit, evaluate
When to Reach for It
- Studying, prototyping, or training small pure-Python Transformer models with lossless
.tftcheckpoints and.mgptinference exports. - Distinct from the thoughtformula GitHub organization, which focuses on philosophical frameworks.
Gotchas & Pitfalls
- Pure-Python compute throughput: Written in pure Python
>=3.12with zero runtime deps (0.3.1)—ideal for studying, prototyping, and small local models, not competing with CUDA C++ kernels at multi-billion-parameter scale. - Checkpoint vs. inference formats: Use
.tftfor resumable lossless pretraining checkpoints and.mgptfor compact inference exports. - Package vs. GitHub org: The
thoughtformulaPyPI package lives in wispsy, distinct from the thoughtformula philosophical GitHub organization.
Pairs With
- thoughtform — Model definitions, Hero recipes, and verified artifact sidecars.
- hypnosis — Bounded training orchestration and evaluation harnesses.
Metadata
type: project-card
slug: thoughtformula
org: wispsy
repo: wispsy/thoughtformula
package: thoughtformula
version: 0.3.1
requires_python: ">=3.12"
layer: frameworks
topic: wispsy-framework
status: active
language: python
source_docs: README.md, docs/
Linked from
Related notes
- wiki/projects/desktop-interface Linked here; links to this page; shared tags: #frameworks, #project, #tier, #wispsy
- wiki/projects/hypnosis Linked here; links to this page; shared tags: #frameworks, #project, #tier, #wispsy
- wiki/projects/thoughtform Linked here; links to this page; shared tags: #frameworks, #project, #tier, #wispsy
- wiki/stack/frameworks Linked here; links to this page; shared tags: #frameworks, #tier, #wispsy
- wiki/orgs/wispsy Linked here; links to this page; shared tags: #tier, #wispsy
- wiki/orgs/thoughtformula Linked here; links to this page; shared tags: #tier
- wiki/projects Linked here; links to this page; shared tags: #wispsy
- wiki/projects/engl links to this page; shared tags: #project, #tier, #wispsy
- wiki/compatibility links to this page; shared tags: #tier, #wispsy
- wiki/families links to this page; shared tags: #tier, #wispsy