Text Generation
GGUF
Safetensors
English
daedalus
cpu-inference
hybrid
conv-attention
conversational
Instructions to use Unseen1980/daedalus-checkpoints 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 Unseen1980/daedalus-checkpoints 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 Unseen1980/daedalus-checkpoints:F16 # Run inference directly in the terminal: llama cli -hf Unseen1980/daedalus-checkpoints:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Unseen1980/daedalus-checkpoints:F16 # Run inference directly in the terminal: llama cli -hf Unseen1980/daedalus-checkpoints:F16
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 Unseen1980/daedalus-checkpoints:F16 # Run inference directly in the terminal: ./llama-cli -hf Unseen1980/daedalus-checkpoints:F16
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 Unseen1980/daedalus-checkpoints:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf Unseen1980/daedalus-checkpoints:F16
Use Docker
docker model run hf.co/Unseen1980/daedalus-checkpoints:F16
- LM Studio
- Jan
- vLLM
How to use Unseen1980/daedalus-checkpoints with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Unseen1980/daedalus-checkpoints" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Unseen1980/daedalus-checkpoints", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Unseen1980/daedalus-checkpoints:F16
- Ollama
How to use Unseen1980/daedalus-checkpoints with Ollama:
ollama run hf.co/Unseen1980/daedalus-checkpoints:F16
- Unsloth Studio
How to use Unseen1980/daedalus-checkpoints 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 Unseen1980/daedalus-checkpoints 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 Unseen1980/daedalus-checkpoints to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Unseen1980/daedalus-checkpoints to start chatting
- Docker Model Runner
How to use Unseen1980/daedalus-checkpoints with Docker Model Runner:
docker model run hf.co/Unseen1980/daedalus-checkpoints:F16
- Lemonade
How to use Unseen1980/daedalus-checkpoints with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Unseen1980/daedalus-checkpoints:F16
Run and chat with the model
lemonade run user.daedalus-checkpoints-F16
List all available models
lemonade list
- Atomic Chat
base README.md
Browse files- hf/base/README.md +78 -0
hf/base/README.md
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
library_name: transformers
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- daedalus
|
| 7 |
+
- cpu-inference
|
| 8 |
+
- gguf
|
| 9 |
+
- q4_0
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# daedalus-150m
|
| 13 |
+
|
| 14 |
+
A 160.5M-parameter causal LM built for the best quality-per-token-per-second on **CPU** inference, exported to GGUF Q4_0 for llama.cpp.
|
| 15 |
+
|
| 16 |
+
## What this model is trying to beat
|
| 17 |
+
|
| 18 |
+
> Beat Pythia-160M, OPT-125M and GPT-neo-125M on quality; target MobileLLM-125M as a stretch; concede SmolLM2-135M on quality while beating it decisively on CPU decode.
|
| 19 |
+
|
| 20 |
+
This bar was fixed before any result landed. Numbers below are reported against it whether or not they clear it.
|
| 21 |
+
|
| 22 |
+
## Architecture
|
| 23 |
+
|
| 24 |
+
| | |
|
| 25 |
+
|---|---|
|
| 26 |
+
| exported as | `Lfm2ForCausalLM` |
|
| 27 |
+
| parameters | 160,488,960 (122,740,224 non-embedding) |
|
| 28 |
+
| blocks | 18 (`ccccAccAcAcAcAccAc` -- `c` = gated short conv, `A` = GQA attention) |
|
| 29 |
+
| hidden size | 768 |
|
| 30 |
+
| SwiGLU inner dim | 2048 |
|
| 31 |
+
| heads | 12 query / 4 KV, head_dim 64, QK-norm |
|
| 32 |
+
| RoPE theta | 1,000,000 |
|
| 33 |
+
| context | 2048 |
|
| 34 |
+
| tied embeddings | True |
|
| 35 |
+
| tokenizer | [`HuggingFaceTB/SmolLM2-135M`](https://huggingface.co/HuggingFaceTB/SmolLM2-135M), reused byte-identical, vocab 49,152 |
|
| 36 |
+
|
| 37 |
+
## Training
|
| 38 |
+
|
| 39 |
+
- run: `hero`
|
| 40 |
+
- tokens seen: 59,900,334,080 (373 tokens/parameter)
|
| 41 |
+
- Muon lr 0.02 on 2D hidden matrices; AdamW lr 0.0003 on embeddings/head/norms
|
| 42 |
+
- WSD schedule, linear decay to zero over the final 45% of the run
|
| 43 |
+
|
| 44 |
+
## Evaluation
|
| 45 |
+
|
| 46 |
+
_Not yet measured for this export._
|
| 47 |
+
|
| 48 |
+
## Q4_0 quantization
|
| 49 |
+
|
| 50 |
+
_Not yet measured for this export._
|
| 51 |
+
|
| 52 |
+
## Checkpoints and how to continue training
|
| 53 |
+
|
| 54 |
+
Checkpoints are pushed to the private Hub model repo **`Unseen1980/daedalus-checkpoints`**: weights-only bf16 rolling copies every ~2 h under `rolling/<run>/weights.pt`, plus a milestone with full Muon + AdamW optimizer state at the WSD decay-start step on its own revision.
|
| 55 |
+
|
| 56 |
+
The stable-phase branch point for this model is revision **`hero-stable-end-step68461`** (step 68,461, 30,532,341,760 tokens seen, lr multiplier 1.0). To continue stable-phase training from it on more or different data and then re-decay:
|
| 57 |
+
|
| 58 |
+
```bash
|
| 59 |
+
python train.py --run-name hero-ext --config daedalus-150m \
|
| 60 |
+
--data-dir <YOUR_SHARD_DIR> \
|
| 61 |
+
--total-tokens <NEW_BUDGET_GREATER_THAN_30532341760> \
|
| 62 |
+
--resume 'hub://Unseen1980/daedalus-checkpoints/milestone/hero/checkpoint.pt?rev=hero-stable-end-step68461'
|
| 63 |
+
```
|
| 64 |
+
|
| 65 |
+
Fill both placeholders. `--total-tokens` **must exceed the 30,532,341,760 tokens already seen** — a smaller budget makes the run stop at the top of its first iteration, printing a `resumed from ...` line and exiting 0 having trained nothing. And `--data-dir` is not optional: without it training falls back to randomly generated tokens, which silently destroys the checkpoint you branched from.
|
| 66 |
+
|
| 67 |
+
Branching from the pre-decay checkpoint is the point of WSD: resuming an already-annealed model needs an lr re-warmup from a converged state, which is measurably worse.
|
| 68 |
+
|
| 69 |
+
## Deviations from the blueprint
|
| 70 |
+
|
| 71 |
+
Each was costed and approved rather than silently dropped; see `DAEDALUS-BLUEPRINT-v6.md` and issue #4.
|
| 72 |
+
|
| 73 |
+
- **No distillation** from SmolLM2-1.7B during decay. 288 GB of top-16 logits does not fit the disk and the online-teacher variant cost ~$29 of a $94.66 budget; its own evidence was only "+1-3 points plausible".
|
| 74 |
+
- **Corpus stops at ~14.2B tokens, not 45B.** Training repeats a balanced corpus rather than seeing 45B unique tokens; at this scale repetition up to ~4 epochs costs little against fresh tokens, and mixture balance mattered more than raw size.
|
| 75 |
+
- **Document-aligned packing not implemented** -- sequences may cross document boundaries.
|
| 76 |
+
- **NoPE skipped** -- it breaks GGUF export.
|
| 77 |
+
- **Single seed** for the hero run, so no seed-sigma is reported.
|
| 78 |
+
- **`everyday-conversations` contributes ~0.00%** of pretraining instead of its 2% share (the whole dataset is 0.4M tokens, which the 4-epoch cap reduces to nothing); dialogue enters at the `post` SFT stage instead.
|