Text Generation
PyTorch
GGUF
English
quantum
quantum-entropy
from-scratch
char-level
cosmic-synapse-theory
custom-architecture
llama-cpp
continual-learning
reproducible-seed
open-science
null-results
Instructions to use phera-ra/QC67_cosmo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use phera-ra/QC67_cosmo with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf phera-ra/QC67_cosmo # Run inference directly in the terminal: llama cli -hf phera-ra/QC67_cosmo
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf phera-ra/QC67_cosmo # Run inference directly in the terminal: llama cli -hf phera-ra/QC67_cosmo
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf phera-ra/QC67_cosmo # Run inference directly in the terminal: ./llama-cli -hf phera-ra/QC67_cosmo
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf phera-ra/QC67_cosmo # Run inference directly in the terminal: ./build/bin/llama-cli -hf phera-ra/QC67_cosmo
Use Docker
docker model run hf.co/phera-ra/QC67_cosmo
- LM Studio
- Jan
- vLLM
How to use phera-ra/QC67_cosmo with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "phera-ra/QC67_cosmo" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "phera-ra/QC67_cosmo", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/phera-ra/QC67_cosmo
- Ollama
How to use phera-ra/QC67_cosmo with Ollama:
ollama run hf.co/phera-ra/QC67_cosmo
- Unsloth Studio
How to use phera-ra/QC67_cosmo with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for phera-ra/QC67_cosmo to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for phera-ra/QC67_cosmo to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for phera-ra/QC67_cosmo to start chatting
- Docker Model Runner
How to use phera-ra/QC67_cosmo with Docker Model Runner:
docker model run hf.co/phera-ra/QC67_cosmo
- Lemonade
How to use phera-ra/QC67_cosmo with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull phera-ra/QC67_cosmo
Run and chat with the model
lemonade run user.QC67_cosmo-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
File size: 2,172 Bytes
e18ba3c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | # Cosmos kit guide
Use [`presentation.html`](presentation.html) for the visual tour, then use this page as
the clickable map of the repository.
| Area | Open this | Purpose |
|---|---|---|
| Research overview | [`FINDINGS.md`](FINDINGS.md) | Measurements, controls, null results, and provenance. |
| Visual walkthrough | [`presentation.html`](presentation.html) | Archive size, hardware backends, and architecture slides. |
| Train your own model | [`TRAINING.md`](TRAINING.md) | Plain-vs-CST training, sizing, and reproducibility. |
| Controlled trainer | [`train_your_own.py`](train_your_own.py) | Builds the standard and 54D Hebbian-attention arms with matched seeds. |
| Benchmarks | [`benchmarks/`](benchmarks) | Independent checks for the quantum, physics, topology, and integration claims. |
| Genesis Engine | [`genesis_engine/`](genesis_engine) | Local companion birth, memory, ledger, and browser UI. |
| Baseline weights | [`weights/`](weights) | The published `cosmos_born.pt` baseline artifact and metadata. |
| Local server | [`spark_serve.py`](spark_serve.py) | Ollama-compatible serving for the standalone PyTorch voice. |
## Two Hebbian layers
The kit documents two related but different mechanisms:
1. Genesis association learning updates concept-pair and salience state during local
conversations.
2. CST Mixture-of-States attention adds a learned 54D projection, Gaussian state kernel,
and gated blend inside the transformer. `train_your_own.py` is the reproducible path
for training that mechanism.
The baseline `weights/cosmos_born.pt` and the CST experiment must not be described as the
same artifact. Publish a CST checkpoint only after the final held-out comparison and
checksum are recorded in the model card.
## Safe editing map
- Safe to customize: your corpus, local config, IBM token, output directory, and UI theme.
- Keep private: credentials, local experience logs, camera/audio captures, and `.env` files.
- Keep reproducible: benchmark scripts, fixed seeds, held-out split, and result JSON.
- Do not replace a published checkpoint in place until its architecture, hash, and test
result are recorded in the model card.
|