Instructions to use logic65/whittle-dev 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 logic65/whittle-dev 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 logic65/whittle-dev:Q8_0 # Run inference directly in the terminal: llama cli -hf logic65/whittle-dev:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf logic65/whittle-dev:Q8_0 # Run inference directly in the terminal: llama cli -hf logic65/whittle-dev:Q8_0
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf logic65/whittle-dev:Q8_0 # Run inference directly in the terminal: ./build/bin/llama cli -hf logic65/whittle-dev:Q8_0
Use Docker
docker model run hf.co/logic65/whittle-dev:Q8_0
- Llama new
- LM Studio
- Jan
- Ollama
How to use logic65/whittle-dev with Ollama:
ollama run hf.co/logic65/whittle-dev:Q8_0
- Unsloth Desktop
- Pi
How to use logic65/whittle-dev with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf logic65/whittle-dev:Q8_0
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "logic65/whittle-dev:Q8_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use logic65/whittle-dev with Docker Model Runner:
docker model run hf.co/logic65/whittle-dev:Q8_0
- Lemonade
How to use logic65/whittle-dev with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull logic65/whittle-dev:Q8_0
Run and chat with the model
lemonade run user.whittle-dev-Q8_0
List all available models
lemonade list
- Hermes Agent
How to use logic65/whittle-dev with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf logic65/whittle-dev:Q8_0
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default logic65/whittle-dev:Q8_0
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use logic65/whittle-dev with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf logic65/whittle-dev:Q8_0
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "logic65/whittle-dev:Q8_0" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
lw1 final (lw1s2876): CE curve + teacher parity logs
Browse filesFiles changed (7)
- lw1/eval/TRAIN.logAdded+222
- lw1/eval/export_lw1s2876.logAdded+7
- lw1/eval/lw1_ce_curve.txtAdded+22
- lw1/eval/lw_eval_lw1s2876_held.jsonAdded+38
- lw1/eval/lw_eval_lw1s2876_train.jsonAdded+38
- lw1/eval/lw_lw1s2876_held.logAdded+13
- lw1/eval/lw_lw1s2876_train.logAdded+13
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222[14:55:12 + 2.6m] student streamed: 27.6 GB[14:55:12 + 2.6m] LoRA r=8 on 130 attention/GDN projections + routed experts of layers [0, 1, 2]..39 + shared experts trained fully[14:55:13 + 2.6m] reply-ending tokens: [248044, 248046] (hash reset on 248044)[14:55:13 + 2.6m] PLE table: 8 heads x 976,640 rows x 256 = 2.00B params, injected before layer 2[14:55:14 + 2.7m] resumed expert LoRA[14:55:14 + 2.7m] resumed shared experts[14:55:14 + 2.7m] resumed linear LoRA on 130 projections[14:55:14 + 2.7m] resumed HC/PLE/gates/routers from /content/drive-local/lw1/ckpts/next_step4400.pt[14:55:14 + 2.7m] lm_head + embed_tokens on cuda:0 (LMHEAD_DEV)[14:55:14 + 2.7m] layer-wise KD: /content/work/probe/lw_train2000.npz | pairs [(35, 59), (39, 63)] | weight 0.3 | 2000 cached sequences of 512 tokens[14:55:14 + 2.7m] HC_LAYERS=0-39: HC trains on 40 of 40 layers (grads+Muon momentum are ~8 bytes/param)[14:55:14 + 2.7m] LoRA/AdamW: 331.5M adapter params at lr 1.0e-04[14:55:14 + 2.7m] AUX anchors: layers [35, 39] weight 0.3 each[14:55:14 + 2.7m] trainable: Muon 588.9M | AdamW 0.80M | table 2.00B (sparse SGD)[14:55:14 + 2.7m] corpus source: /content/work/train/code_corpus.npy (155,781,328 tokens)[14:55:19 + 2.7m] held-out extra: /content/work/train/slice_cs/held_code.npy (66,156 tokens, 16 windows)[14:55:19 + 2.7m] held-out extra2: /content/work/train/slice_cs/held_sci.npy (27,167 tokens, 16 windows)[14:55:24 + 2.8m] teacher cache: 1,840 complete replies from /content/work/tcache_new (K=128); TCACHE_FRAC=0.9 of chat rows[14:55:44 + 3.2m] step 0 (HC identity, PLE no-op == the checkpoint): held-out CE SFT 1.2328 | OOD 2.1219[14:56:00 + 3.4m] PLE gain @ 0: SFT -0.0022 | OOD -0.0040 (CE with memory OFF minus ON on 8+8 held rows; positive = the table helps)[14:56:01 + 3.4m] reasoning prompts: +1315 from /content/work/onpolicy_prompts.json[14:56:02 + 3.5m] reasoning prompts: 1315 (1315 GSM8K + 0 code), thinking=ON, tail '```<|im_end|>\n<|im_start|>assistant\n<think>\n'; on-policy runs to EOS or 4096 tok in stages [512, 2048, 4096], batch 8, KL chunk 512[14:56:05 + 3.5m] step1: grad-norm 3.086e+00 | HC probe max|delta| 8.301e-05 | table rows touched 7348[14:56:05 + 3.5m] peak GPU 41.7 GB[14:56:09 + 3.6m] layer-wise row 1104: 1022 positions, mean KL 0.9520 = S35<-T59 1.779 | S39<-T63 0.125[14:56:17 + 3.7m] layer-wise row 1517: 1022 positions, mean KL 0.9465 = S35<-T59 1.756 | S39<-T63 0.137[14:56:19 + 3.7m] layer-wise row 899: 1022 positions, mean KL 0.9238 = S35<-T59 1.583 | S39<-T63 0.264[14:57:08 + 4.6m] step 20 loss 0.7790 (kd 0.2731 ce 0.5060) | 3.39s/step | table rows seen 97,096[14:58:05 + 5.5m] step 40 loss 0.7642 (kd 0.2991 ce 0.4651) | 3.14s/step | table rows seen 181,088[14:59:10 + 6.6m] step 60 loss 0.8275 (kd 0.3207 ce 0.5068) | 3.17s/step | table rows seen 269,480[15:00:13 + 7.6m] step 80 loss 0.7663 (kd 0.2186 ce 0.5477) | 3.16s/step | table rows seen 356,812[15:01:22 + 8.8m] step 100 loss 0.6463 (kd 0.1787 ce 0.4675) | 3.22s/step | table rows seen 432,484[15:02:18 + 9.7m] step 120 loss 0.8601 (kd 0.2226 ce 0.6375) | 3.15s/step | table rows seen 501,200[15:03:13 + 10.6m] step 140 loss 0.6894 (kd 0.2383 ce 0.4511) | 3.10s/step | table rows seen 555,176[15:04:07 + 11.5m] step 160 loss 0.6957 (kd 0.3001 ce 0.3956) | 3.04s/step | table rows seen 613,952[15:05:11 + 12.6m] step 180 loss 0.9251 (kd 0.3069 ce 0.6182) | 3.06s/step | table rows seen 688,200[15:06:12 + 13.6m] step 200 loss 0.7971 (kd 0.2889 ce 0.5082) | 3.06s/step | table rows seen 740,340[15:06:31 + 13.9m] held-out CE @ 200: SFT 1.2232 (start 1.2328) | OOD 2.1147 (start 2.1219)[15:07:17 + 14.7m] PLE gain @ 200: SFT +0.0027 | OOD -0.0009 | IN-corpus +0.0027 | extra +0.0013 (CE 1.2537) | extra2 -0.0011 (CE 0.7660) (CE off minus on; IN = training text the table may have seen) | live rows -1[15:07:18 + 14.7m] HC stats @ 200: gate|dev| median 0.0261 (L0 0.0250, L39 0.0254) | inject w|dev| median 0.3578 | stream spread median 0.4527 (L39 0.4636)[15:07:30 + 14.9m] new best by OOD CE: step 200[15:08:27 + 15.9m] step 220 loss 0.6500 (kd 0.2168 ce 0.4332) | 3.40s/step | table rows seen 790,196[15:09:21 + 16.8m] step 240 loss 0.7054 (kd 0.1752 ce 0.5301) | 3.34s/step | table rows seen 848,456[15:10:27 + 17.9m] step 260 loss 0.7911 (kd 0.1891 ce 0.6020) | 3.33s/step | table rows seen 920,400[15:11:22 + 18.8m] step 280 loss 0.6196 (kd 0.2503 ce 0.3693) | 3.29s/step | table rows seen 963,616[15:12:17 + 19.7m] step 300 loss 0.8354 (kd 0.2749 ce 0.5604) | 3.26s/step | table rows seen 1,017,904[15:13:17 + 20.7m] step 320 loss 0.6885 (kd 0.1692 ce 0.5193) | 3.24s/step | table rows seen 1,068,872[15:14:07 + 21.5m] step 340 loss 0.6104 (kd 0.2635 ce 0.3469) | 3.20s/step | table rows seen 1,110,408[15:15:04 + 22.5m] step 360 loss 0.7854 (kd 0.2176 ce 0.5678) | 3.18s/step | table rows seen 1,166,560[15:16:01 + 23.4m] step 380 loss 0.6186 (kd 0.2525 ce 0.3661) | 3.16s/step | table rows seen 1,207,092[15:17:08 + 24.6m] step 400 loss 0.7709 (kd 0.1826 ce 0.5883) | 3.17s/step | table rows seen 1,267,428[15:17:27 + 24.9m] held-out CE @ 400: SFT 1.2244 (start 1.2328) | OOD 2.1155 (start 2.1219)[15:18:13 + 25.6m] PLE gain @ 400: SFT -0.0010 | OOD -0.0020 | IN-corpus -0.0013 | extra -0.0012 (CE 1.2543) | extra2 -0.0017 (CE 0.7424) (CE off minus on; IN = training text the table may have seen) | live rows -1[15:18:14 + 25.7m] HC stats @ 400: gate|dev| median 0.0261 (L0 0.0250, L39 0.0252) | inject w|dev| median 0.3589 | stream spread median 0.4561 (L39 0.4685)[15:19:37 + 27.0m] step 420 loss 0.8077 (kd 0.2149 ce 0.5928) | 3.37s/step | table rows seen 1,325,200[15:20:31 + 27.9m] step 440 loss 0.9071 (kd 0.2008 ce 0.7064) | 3.34s/step | table rows seen 1,380,496[15:21:28 + 28.9m] step 460 loss 0.7490 (kd 0.2788 ce 0.4701) | 3.32s/step | table rows seen 1,420,072[15:22:33 + 30.0m] step 480 loss 0.6800 (kd 0.1644 ce 0.5156) | 3.32s/step | table rows seen 1,471,636[15:23:27 + 30.9m] step 500 loss 0.7387 (kd 0.1588 ce 0.5800) | 3.29s/step | table rows seen 1,519,656[15:24:24 + 31.8m] step 520 loss 0.6873 (kd 0.1860 ce 0.5013) | 3.28s/step | table rows seen 1,565,396[15:25:17 + 32.7m] step 540 loss 0.7991 (kd 0.1599 ce 0.6392) | 3.25s/step | table rows seen 1,608,160[15:26:20 + 33.8m] step 560 loss 0.9268 (kd 0.2054 ce 0.7214) | 3.25s/step | table rows seen 1,663,892[15:27:28 + 34.9m] step 580 loss 0.6643 (kd 0.1844 ce 0.4800) | 3.25s/step | table rows seen 1,708,108[15:28:34 + 36.0m] layer-wise row 351: 1022 positions, mean KL 0.4834 = S35<-T59 0.834 | S39<-T63 0.133[15:28:35 + 36.0m] step 600 loss 0.6857 (kd 0.1901 ce 0.4956) | 3.26s/step | table rows seen 1,747,736[15:28:54 + 36.3m] held-out CE @ 600: SFT 1.2131 (start 1.2328) | OOD 2.1107 (start 2.1219)[15:29:39 + 37.1m] PLE gain @ 600: SFT -0.0023 | OOD -0.0017 | IN-corpus +0.0026 | extra +0.0009 (CE 1.2533) | extra2 -0.0010 (CE 0.7421) (CE off minus on; IN = training text the table may have seen) | live rows -1[15:29:40 + 37.1m] HC stats @ 600: gate|dev| median 0.0261 (L0 0.0251, L39 0.0252) | inject w|dev| median 0.3607 | stream spread median 0.4572 (L39 0.4681)[15:29:54 + 37.3m] new best by OOD CE: step 600[15:30:59 + 38.4m] step 620 loss 0.7302 (kd 0.1990 ce 0.5312) | 3.39s/step | table rows seen 1,785,260[15:31:48 + 39.2m] step 640 loss 0.6501 (kd 0.1721 ce 0.4780) | 3.36s/step | table rows seen 1,819,944[15:32:48 + 40.2m] step 660 loss 0.7460 (kd 0.1578 ce 0.5882) | 3.35s/step | table rows seen 1,864,068[15:34:01 + 41.4m] step 680 loss 0.8461 (kd 0.2135 ce 0.6327) | 3.36s/step | table rows seen 1,915,368[15:35:03 + 42.5m] step 700 loss 0.6102 (kd 0.2206 ce 0.3896) | 3.35s/step | table rows seen 1,952,192[15:36:02 + 43.5m] step 720 loss 0.5948 (kd 0.1993 ce 0.3955) | 3.34s/step | table rows seen 1,992,232[15:36:58 + 44.4m] step 740 loss 0.6005 (kd 0.2180 ce 0.3825) | 3.32s/step | table rows seen 2,024,036[15:38:03 + 45.5m] step 760 loss 0.7085 (kd 0.1637 ce 0.5449) | 3.32s/step | table rows seen 2,064,232[15:39:04 + 46.5m] step 780 loss 0.6111 (kd 0.1601 ce 0.4510) | 3.31s/step | table rows seen 2,099,324[15:40:01 + 47.4m] step 800 loss 0.7998 (kd 0.2741 ce 0.5257) | 3.30s/step | table rows seen 2,138,016[15:40:20 + 47.8m] held-out CE @ 800: SFT 1.2092 (start 1.2328) | OOD 2.1083 (start 2.1219)[15:41:06 + 48.5m] PLE gain @ 800: SFT +0.0017 | OOD -0.0037 | IN-corpus +0.0028 | extra +0.0025 (CE 1.2533) | extra2 -0.0040 (CE 0.7338) (CE off minus on; IN = training text the table may have seen) | live rows -1[15:41:06 + 48.5m] HC stats @ 800: gate|dev| median 0.0261 (L0 0.0251, L39 0.0253) | inject w|dev| median 0.3558 | stream spread median 0.4565 (L39 0.4651)[15:41:16 + 48.7m] new best by OOD CE: step 800[15:42:13 + 49.6m] step 820 loss 0.6339 (kd 0.1903 ce 0.4436) | 3.38s/step | table rows seen 2,171,080[15:43:09 + 50.6m] step 840 loss 0.7613 (kd 0.2088 ce 0.5524) | 3.37s/step | table rows seen 2,202,676[15:44:00 + 51.4m] step 860 loss 0.7827 (kd 0.2448 ce 0.5379) | 3.35s/step | table rows seen 2,228,736[15:44:57 + 52.4m] step 880 loss 0.5677 (kd 0.2065 ce 0.3612) | 3.34s/step | table rows seen 2,254,004[15:45:49 + 53.2m] step 900 loss 0.5554 (kd 0.1688 ce 0.3866) | 3.32s/step | table rows seen 2,276,756[15:46:51 + 54.3m] step 920 loss 0.6249 (kd 0.2218 ce 0.4031) | 3.32s/step | table rows seen 2,312,532[15:47:52 + 55.3m] step 940 loss 0.5485 (kd 0.2087 ce 0.3398) | 3.31s/step | table rows seen 2,341,212[15:48:56 + 56.4m] step 960 loss 0.6318 (kd 0.1942 ce 0.4376) | 3.31s/step | table rows seen 2,377,308[15:49:55 + 57.3m] step 980 loss 0.6601 (kd 0.1762 ce 0.4839) | 3.30s/step | table rows seen 2,407,348[15:50:58 + 58.4m] step 1000 loss 0.6750 (kd 0.1514 ce 0.5236) | 3.30s/step | table rows seen 2,443,832[15:51:17 + 58.7m] held-out CE @ 1000: SFT 1.2088 (start 1.2328) | OOD 2.1106 (start 2.1219)[15:52:02 + 59.5m] PLE gain @ 1000: SFT -0.0034 | OOD -0.0030 | IN-corpus +0.0021 | extra +0.0019 (CE 1.2516) | extra2 -0.0000 (CE 0.7472) (CE off minus on; IN = training text the table may have seen) | live rows -1[15:52:03 + 59.5m] HC stats @ 1000: gate|dev| median 0.0261 (L0 0.0250, L39 0.0252) | inject w|dev| median 0.3607 | stream spread median 0.4595 (L39 0.4622)[15:53:26 + 60.9m] step 1020 loss 0.6963 (kd 0.1676 ce 0.5287) | 3.38s/step | table rows seen 2,482,696[15:54:30 + 61.9m] step 1040 loss 0.6844 (kd 0.2066 ce 0.4777) | 3.38s/step | table rows seen 2,514,208[15:55:36 + 63.0m] step 1060 loss 0.6012 (kd 0.1463 ce 0.4549) | 3.37s/step | table rows seen 2,545,828[15:56:25 + 63.8m] step 1080 loss 0.6897 (kd 0.2026 ce 0.4870) | 3.36s/step | table rows seen 2,570,792[15:57:30 + 64.9m] step 1100 loss 0.6475 (kd 0.1618 ce 0.4857) | 3.35s/step | table rows seen 2,607,480[15:58:27 + 65.9m] step 1120 loss 0.6421 (kd 0.1888 ce 0.4533) | 3.35s/step | table rows seen 2,631,616[15:59:24 + 66.8m] step 1140 loss 0.6202 (kd 0.1863 ce 0.4339) | 3.34s/step | table rows seen 2,662,080[16:00:23 + 67.8m] step 1160 loss 0.6735 (kd 0.2310 ce 0.4425) | 3.33s/step | table rows seen 2,684,588[16:01:22 + 68.8m] step 1180 loss 0.6259 (kd 0.2401 ce 0.3857) | 3.32s/step | table rows seen 2,714,356[16:02:21 + 69.8m] step 1200 loss 0.6457 (kd 0.1160 ce 0.5297) | 3.32s/step | table rows seen 2,744,420[16:02:40 + 70.1m] held-out CE @ 1200: SFT 1.2052 (start 1.2328) | OOD 2.1074 (start 2.1219)[16:03:26 + 70.9m] PLE gain @ 1200: SFT +0.0024 | OOD -0.0028 | IN-corpus +0.0013 | extra +0.0013 (CE 1.2511) | extra2 -0.0009 (CE 0.7662) (CE off minus on; IN = training text the table may have seen) | live rows -1[16:03:26 + 70.9m] HC stats @ 1200: gate|dev| median 0.0262 (L0 0.0251, L39 0.0251) | inject w|dev| median 0.3609 | stream spread median 0.4605 (L39 0.4620)[16:03:42 + 71.1m] new best by OOD CE: step 1200[16:04:42 + 72.1m] step 1220 loss 0.6083 (kd 0.1360 ce 0.4724) | 3.38s/step | table rows seen 2,775,824[16:05:43 + 73.1m] step 1240 loss 0.8107 (kd 0.2166 ce 0.5941) | 3.37s/step | table rows seen 2,806,448[16:06:48 + 74.2m] step 1260 loss 0.7109 (kd 0.1911 ce 0.5198) | 3.37s/step | table rows seen 2,831,676[16:07:44 + 75.2m] step 1280 loss 0.6089 (kd 0.1957 ce 0.4132) | 3.36s/step | table rows seen 2,849,016[16:08:50 + 76.3m] step 1300 loss 0.7381 (kd 0.1638 ce 0.5743) | 3.36s/step | table rows seen 2,877,000[16:10:00 + 77.4m] step 1320 loss 0.7055 (kd 0.2111 ce 0.4944) | 3.36s/step | table rows seen 2,908,268[16:11:02 + 78.5m] step 1340 loss 0.6275 (kd 0.2261 ce 0.4013) | 3.36s/step | table rows seen 2,929,780[16:11:59 + 79.4m] step 1360 loss 0.7253 (kd 0.1662 ce 0.5591) | 3.35s/step | table rows seen 2,953,680[16:12:51 + 80.3m] step 1380 loss 0.6775 (kd 0.2221 ce 0.4554) | 3.34s/step | table rows seen 2,973,460[16:13:57 + 81.4m] layer-wise row 608: 1022 positions, mean KL 0.5071 = S35<-T59 0.938 | S39<-T63 0.076[16:13:58 + 81.4m] step 1400 loss 0.6707 (kd 0.1558 ce 0.5149) | 3.34s/step | table rows seen 3,006,096[16:14:17 + 81.7m] held-out CE @ 1400: SFT 1.2087 (start 1.2328) | OOD 2.1099 (start 2.1219)[16:15:03 + 82.5m] PLE gain @ 1400: SFT -0.0000 | OOD -0.0022 | IN-corpus +0.0013 | extra +0.0013 (CE 1.2492) | extra2 -0.0028 (CE 0.7144) (CE off minus on; IN = training text the table may have seen) | live rows -1[16:15:04 + 82.5m] HC stats @ 1400: gate|dev| median 0.0262 (L0 0.0251, L39 0.0250) | inject w|dev| median 0.3555 | stream spread median 0.4567 (L39 0.4622)[16:16:24 + 83.8m] step 1420 loss 0.8076 (kd 0.1859 ce 0.6217) | 3.40s/step | table rows seen 3,038,644[16:17:27 + 84.9m] step 1440 loss 0.6550 (kd 0.1716 ce 0.4834) | 3.39s/step | table rows seen 3,064,924[16:18:33 + 86.0m] step 1460 loss 0.8596 (kd 0.2514 ce 0.6082) | 3.39s/step | table rows seen 3,095,312[16:19:51 + 87.3m] step 1480 loss 0.5731 (kd 0.1852 ce 0.3879) | 3.40s/step | table rows seen 3,109,864[16:20:49 + 88.2m] step 1500 loss 0.5634 (kd 0.1786 ce 0.3848) | 3.39s/step | table rows seen 3,127,536[16:21:40 + 89.1m] step 1520 loss 0.7674 (kd 0.1948 ce 0.5726) | 3.38s/step | table rows seen 3,150,068[16:22:38 + 90.1m] step 1540 loss 0.6010 (kd 0.2003 ce 0.4007) | 3.38s/step | table rows seen 3,173,368[16:23:29 + 90.9m] step 1560 loss 0.5709 (kd 0.2002 ce 0.3706) | 3.36s/step | table rows seen 3,188,716[16:24:25 + 91.8m] step 1580 loss 0.7211 (kd 0.2459 ce 0.4752) | 3.36s/step | table rows seen 3,210,352[16:25:25 + 92.8m] step 1600 loss 0.5246 (kd 0.1789 ce 0.3457) | 3.35s/step | table rows seen 3,232,588[16:25:44 + 93.2m] held-out CE @ 1600: SFT 1.2136 (start 1.2328) | OOD 2.1156 (start 2.1219)[16:26:30 + 93.9m] PLE gain @ 1600: SFT +0.0007 | OOD -0.0021 | IN-corpus +0.0019 | extra +0.0025 (CE 1.2480) | extra2 -0.0047 (CE 0.7452) (CE off minus on; IN = training text the table may have seen) | live rows -1[16:26:30 + 93.9m] HC stats @ 1600: gate|dev| median 0.0261 (L0 0.0250, L39 0.0250) | inject w|dev| median 0.3522 | stream spread median 0.4595 (L39 0.4592)[16:27:30 + 94.9m] step 1620 loss 0.5735 (kd 0.2447 ce 0.3287) | 3.39s/step | table rows seen 3,249,264[16:28:30 + 95.9m] step 1640 loss 0.7022 (kd 0.2182 ce 0.4839) | 3.38s/step | table rows seen 3,275,596[16:29:26 + 96.9m] step 1660 loss 0.6709 (kd 0.1731 ce 0.4978) | 3.38s/step | table rows seen 3,292,760[16:30:31 + 97.9m] step 1680 loss 1.0123 (kd 0.2046 ce 0.8077) | 3.38s/step | table rows seen 3,326,120[16:31:57 + 99.4m] step 1700 loss 0.7591 (kd 0.1874 ce 0.5716) | 3.39s/step | table rows seen 3,351,104[16:32:54 +100.3m] step 1720 loss 0.7125 (kd 0.2093 ce 0.5033) | 3.38s/step | table rows seen 3,372,832[16:33:49 +101.2m] step 1740 loss 0.5661 (kd 0.2121 ce 0.3540) | 3.37s/step | table rows seen 3,389,360[16:34:44 +102.2m] step 1760 loss 0.6161 (kd 0.2089 ce 0.4072) | 3.37s/step | table rows seen 3,407,340[16:35:43 +103.1m] step 1780 loss 0.7795 (kd 0.1481 ce 0.6314) | 3.36s/step | table rows seen 3,430,176[16:36:42 +104.1m] step 1800 loss 0.6298 (kd 0.2333 ce 0.3965) | 3.36s/step | table rows seen 3,445,972[16:37:01 +104.4m] held-out CE @ 1800: SFT 1.2142 (start 1.2328) | OOD 2.1107 (start 2.1219)[16:37:46 +105.2m] PLE gain @ 1800: SFT -0.0004 | OOD -0.0014 | IN-corpus +0.0025 | extra +0.0010 (CE 1.2487) | extra2 -0.0039 (CE 0.7392) (CE off minus on; IN = training text the table may have seen) | live rows -1[16:37:47 +105.2m] HC stats @ 1800: gate|dev| median 0.0262 (L0 0.0250, L39 0.0250) | inject w|dev| median 0.3635 | stream spread median 0.4630 (L39 0.4632)[16:39:07 +106.5m] step 1820 loss 0.6018 (kd 0.1448 ce 0.4570) | 3.40s/step | table rows seen 3,473,804[16:40:15 +107.7m] step 1840 loss 0.6706 (kd 0.1921 ce 0.4785) | 3.40s/step | table rows seen 3,498,744[16:41:17 +108.7m] step 1860 loss 0.7448 (kd 0.2570 ce 0.4878) | 3.40s/step | table rows seen 3,519,484[16:42:15 +109.7m] step 1880 loss 0.6380 (kd 0.2492 ce 0.3888) | 3.39s/step | table rows seen 3,533,528[16:43:38 +111.1m] step 1900 loss 0.5792 (kd 0.1828 ce 0.3964) | 3.40s/step | table rows seen 3,551,900[16:44:25 +111.8m] step 1920 loss 0.8375 (kd 0.1833 ce 0.6542) | 3.39s/step | table rows seen 3,565,900[16:45:27 +112.9m] step 1940 loss 0.5799 (kd 0.1711 ce 0.4088) | 3.39s/step | table rows seen 3,585,880[16:46:22 +113.8m] step 1960 loss 0.7251 (kd 0.1861 ce 0.5390) | 3.38s/step | table rows seen 3,604,128[16:47:21 +114.8m] step 1980 loss 0.7522 (kd 0.1784 ce 0.5738) | 3.37s/step | table rows seen 3,620,888[16:48:30 +115.9m] step 2000 loss 0.7619 (kd 0.1473 ce 0.6145) | 3.38s/step | table rows seen 3,647,636[16:48:49 +116.2m] held-out CE @ 2000: SFT 1.2079 (start 1.2328) | OOD 2.1134 (start 2.1219)[16:49:34 +117.0m] PLE gain @ 2000: SFT -0.0016 | OOD -0.0013 | IN-corpus +0.0005 | extra -0.0004 (CE 1.2537) | extra2 -0.0066 (CE 0.7722) (CE off minus on; IN = training text the table may have seen) | live rows -1[16:49:35 +117.0m] HC stats @ 2000: gate|dev| median 0.0262 (L0 0.0251, L39 0.0251) | inject w|dev| median 0.3651 | stream spread median 0.4608 (L39 0.4663)[16:51:02 +118.5m] step 2020 loss 0.5766 (kd 0.1775 ce 0.3991) | 3.42s/step | table rows seen 3,668,028[16:52:06 +119.5m] step 2040 loss 0.7172 (kd 0.1015 ce 0.6157) | 3.41s/step | table rows seen 3,693,000[16:53:03 +120.5m] step 2060 loss 0.6499 (kd 0.1700 ce 0.4798) | 3.41s/step | table rows seen 3,712,508[16:53:56 +121.4m] step 2080 loss 0.6935 (kd 0.1925 ce 0.5010) | 3.40s/step | table rows seen 3,732,336[16:54:53 +122.3m] step 2100 loss 0.6287 (kd 0.1853 ce 0.4434) | 3.40s/step | table rows seen 3,749,088[16:55:52 +123.3m] step 2120 loss 0.5943 (kd 0.1672 ce 0.4271) | 3.39s/step | table rows seen 3,765,980[16:56:52 +124.3m] step 2140 loss 0.5688 (kd 0.1785 ce 0.3904) | 3.39s/step | table rows seen 3,784,116[16:57:56 +125.4m] step 2160 loss 0.5906 (kd 0.1057 ce 0.4849) | 3.39s/step | table rows seen 3,803,004[16:58:58 +126.4m] step 2180 loss 0.7381 (kd 0.2516 ce 0.4865) | 3.38s/step | table rows seen 3,823,736[17:00:01 +127.4m] step 2200 loss 0.7909 (kd 0.1726 ce 0.6183) | 3.38s/step | table rows seen 3,847,724[17:00:20 +127.8m] held-out CE @ 2200: SFT 1.2038 (start 1.2328) | OOD 2.1131 (start 2.1219)[17:01:06 +128.5m] PLE gain @ 2200: SFT -0.0014 | OOD -0.0021 | IN-corpus -0.0007 | extra +0.0020 (CE 1.2520) | extra2 -0.0038 (CE 0.7592) (CE off minus on; IN = training text the table may have seen) | live rows -1[17:01:07 +128.5m] HC stats @ 2200: gate|dev| median 0.0262 (L0 0.0251, L39 0.0252) | inject w|dev| median 0.3707 | stream spread median 0.4643 (L39 0.4635)[17:02:18 +129.7m] step 2220 loss 0.6484 (kd 0.1871 ce 0.4613) | 3.41s/step | table rows seen 3,866,288[17:03:40 +131.1m] step 2240 loss 0.6055 (kd 0.1727 ce 0.4328) | 3.42s/step | table rows seen 3,881,176[17:04:32 +132.0m] step 2260 loss 0.5752 (kd 0.2401 ce 0.3350) | 3.41s/step | table rows seen 3,895,420[17:05:33 +133.0m] step 2280 loss 0.6725 (kd 0.1820 ce 0.4905) | 3.41s/step | table rows seen 3,911,136[17:06:19 +133.8m] step 2300 loss 0.5736 (kd 0.2393 ce 0.3343) | 3.40s/step | table rows seen 3,917,784[17:07:18 +134.7m] step 2320 loss 0.5437 (kd 0.1531 ce 0.3906) | 3.40s/step | table rows seen 3,933,580[17:08:16 +135.7m] step 2340 loss 0.7173 (kd 0.1937 ce 0.5236) | 3.39s/step | table rows seen 3,951,060[17:09:20 +136.8m] step 2360 loss 0.6103 (kd 0.1485 ce 0.4617) | 3.39s/step | table rows seen 3,968,960[17:10:19 +137.7m] step 2380 loss 0.7024 (kd 0.1463 ce 0.5560) | 3.39s/step | table rows seen 3,985,944[17:11:09 +138.6m] layer-wise row 582: 1022 positions, mean KL 0.4424 = S35<-T59 0.759 | S39<-T63 0.126[17:11:10 +138.6m] step 2400 loss 0.6428 (kd 0.2007 ce 0.4420) | 3.38s/step | table rows seen 3,998,680[17:11:29 +138.9m] held-out CE @ 2400: SFT 1.2071 (start 1.2328) | OOD 2.1163 (start 2.1219)[17:12:15 +139.7m] PLE gain @ 2400: SFT +0.0000 | OOD -0.0050 | IN-corpus +0.0022 | extra +0.0015 (CE 1.2541) | extra2 -0.0027 (CE 0.7725) (CE off minus on; IN = training text the table may have seen) | live rows -1[17:12:15 +139.7m] HC stats @ 2400: gate|dev| median 0.0263 (L0 0.0251, L39 0.0251) | inject w|dev| median 0.3659 | stream spread median 0.4610 (L39 0.4635)[17:13:22 +140.8m] step 2420 loss 0.5930 (kd 0.2039 ce 0.3892) | 3.41s/step | table rows seen 4,014,448[17:14:16 +141.7m] step 2440 loss 0.5512 (kd 0.2282 ce 0.3230) | 3.40s/step | table rows seen 4,026,552[17:15:23 +142.8m] step 2460 loss 0.5716 (kd 0.1811 ce 0.3905) | 3.40s/step | table rows seen 4,040,416[17:16:24 +143.8m] step 2480 loss 0.4742 (kd 0.1194 ce 0.3548) | 3.40s/step | table rows seen 4,054,052[17:17:27 +144.9m] step 2500 loss 0.7130 (kd 0.1919 ce 0.5211) | 3.39s/step | table rows seen 4,071,540[17:18:29 +145.9m] step 2520 loss 0.6332 (kd 0.1880 ce 0.4452) | 3.39s/step | table rows seen 4,087,072[17:19:33 +147.0m] step 2540 loss 0.6227 (kd 0.2014 ce 0.4213) | 3.39s/step | table rows seen 4,103,704[17:20:30 +147.9m] step 2560 loss 0.6717 (kd 0.1268 ce 0.5449) | 3.39s/step | table rows seen 4,121,764[17:21:31 +148.9m] step 2580 loss 0.6731 (kd 0.2384 ce 0.4348) | 3.38s/step | table rows seen 4,135,804[17:22:31 +149.9m] step 2600 loss 0.6499 (kd 0.1456 ce 0.5042) | 3.38s/step | table rows seen 4,149,508[17:22:50 +150.3m] held-out CE @ 2600: SFT 1.2082 (start 1.2328) | OOD 2.1174 (start 2.1219)[17:23:36 +151.0m] PLE gain @ 2600: SFT +0.0012 | OOD -0.0013 | IN-corpus +0.0009 | extra -0.0004 (CE 1.2549) | extra2 -0.0013 (CE 0.6923) (CE off minus on; IN = training text the table may have seen) | live rows -1[17:23:36 +151.0m] HC stats @ 2600: gate|dev| median 0.0263 (L0 0.0251, L39 0.0251) | inject w|dev| median 0.3633 | stream spread median 0.4593 (L39 0.4636)[17:24:46 +152.2m] step 2620 loss 0.7343 (kd 0.2061 ce 0.5282) | 3.41s/step | table rows seen 4,160,472[17:25:48 +153.2m] step 2640 loss 0.6393 (kd 0.1663 ce 0.4730) | 3.40s/step | table rows seen 4,175,388[17:26:39 +154.1m] step 2660 loss 0.5327 (kd 0.1480 ce 0.3847) | 3.40s/step | table rows seen 4,189,848[17:31:03 +158.5m] step 2680 loss 0.6899 (kd 0.1936 ce 0.4963) | 3.47s/step | table rows seen 4,210,512[17:32:00 +159.4m] step 2700 loss 0.6791 (kd 0.2383 ce 0.4408) | 3.47s/step | table rows seen 4,223,884[17:33:04 +160.5m] step 2720 loss 0.6575 (kd 0.1734 ce 0.4841) | 3.46s/step | table rows seen 4,241,252[17:33:59 +161.4m] step 2740 loss 0.6153 (kd 0.1784 ce 0.4370) | 3.46s/step | table rows seen 4,255,492[17:35:01 +162.4m] step 2760 loss 0.5474 (kd 0.1569 ce 0.3905) | 3.46s/step | table rows seen 4,266,244[17:36:01 +163.4m] step 2780 loss 0.6939 (kd 0.1881 ce 0.5058) | 3.45s/step | table rows seen 4,277,852[17:36:55 +164.3m] step 2800 loss 0.6835 (kd 0.2470 ce 0.4364) | 3.45s/step | table rows seen 4,290,392[17:37:14 +164.7m] held-out CE @ 2800: SFT 1.2117 (start 1.2328) | OOD 2.1177 (start 2.1219)[17:38:00 +165.4m] PLE gain @ 2800: SFT -0.0035 | OOD -0.0015 | IN-corpus +0.0009 | extra +0.0009 (CE 1.2461) | extra2 -0.0016 (CE 0.7333) (CE off minus on; IN = training text the table may have seen) | live rows -1[17:38:00 +165.4m] HC stats @ 2800: gate|dev| median 0.0263 (L0 0.0251, L39 0.0251) | inject w|dev| median 0.3749 | stream spread median 0.4636 (L39 0.4637)[17:39:09 +166.6m] step 2820 loss 0.7053 (kd 0.1661 ce 0.5391) | 3.47s/step | table rows seen 4,304,504[17:40:02 +167.5m] step 2840 loss 0.6422 (kd 0.2036 ce 0.4386) | 3.47s/step | table rows seen 4,319,248[17:40:54 +168.3m] step 2860 loss 0.6288 (kd 0.2141 ce 0.4147) | 3.46s/step | table rows seen 4,328,804[17:43:32 +171.0m] TIME BUDGET: stopping at step 2877[17:44:50 +172.3m] saved the final state as next_step2876 (4 Sep: a run must never end without a checkpoint)[17:44:50 +172.3m] DONE best step 1200 OOD 2.1074 (start 2.1219) | checkpoints in /content/work/lw1/ckpts | table /content/work/lw1/ngram_table.npy1234567merged LoRA/shared into 330 tensorscarried 612 tensors from /content/work/train/base-sigmoid, folded 81 norms into HCTBL_SNAP: 6,593 of 5,859,840 non-zero rows (|row| < 0.01) exported as exact zerosPLE: 8 heads x ~976,640 rows x 256 = 2.00B params in 2 shards, width 2048 into hidden 2048, injected at layer 2EXPORT_DONE /content/work/export_lw1s2876 tensors=976 shards=13 gate=sigmoid ple_layer=2/content/work/kit/code/wt/export_next36.py:93: UserWarning: The given NumPy array is not writable, and PyTorch does not support non-writable tensors. This means writing to this tensor will result in undefined behavior. You may want to copy the array to protect its data or make it writable before converting it to a tensor. This type of warning will be suppressed for the rest of this program. (Triggered internally at /pytorch/torch/csrc/utils/tensor_numpy.cpp:213.) t = torch.from_numpy(np.ascontiguousarray(a))12345678910111213141516171819202122[14:56:09 + 3.6m] layer-wise row 1104: 1022 positions, mean KL 0.9520 = S35<-T59 1.779 | S39<-T63 0.125[14:56:17 + 3.7m] layer-wise row 1517: 1022 positions, mean KL 0.9465 = S35<-T59 1.756 | S39<-T63 0.137[14:56:19 + 3.7m] layer-wise row 899: 1022 positions, mean KL 0.9238 = S35<-T59 1.583 | S39<-T63 0.264[15:06:31 + 13.9m] held-out CE @ 200: SFT 1.2232 (start 1.2328) | OOD 2.1147 (start 2.1219)[15:17:27 + 24.9m] held-out CE @ 400: SFT 1.2244 (start 1.2328) | OOD 2.1155 (start 2.1219)[15:28:34 + 36.0m] layer-wise row 351: 1022 positions, mean KL 0.4834 = S35<-T59 0.834 | S39<-T63 0.133[15:28:54 + 36.3m] held-out CE @ 600: SFT 1.2131 (start 1.2328) | OOD 2.1107 (start 2.1219)[15:40:20 + 47.8m] held-out CE @ 800: SFT 1.2092 (start 1.2328) | OOD 2.1083 (start 2.1219)[15:51:17 + 58.7m] held-out CE @ 1000: SFT 1.2088 (start 1.2328) | OOD 2.1106 (start 2.1219)[16:02:40 + 70.1m] held-out CE @ 1200: SFT 1.2052 (start 1.2328) | OOD 2.1074 (start 2.1219)[16:13:57 + 81.4m] layer-wise row 608: 1022 positions, mean KL 0.5071 = S35<-T59 0.938 | S39<-T63 0.076[16:14:17 + 81.7m] held-out CE @ 1400: SFT 1.2087 (start 1.2328) | OOD 2.1099 (start 2.1219)[16:25:44 + 93.2m] held-out CE @ 1600: SFT 1.2136 (start 1.2328) | OOD 2.1156 (start 2.1219)[16:37:01 +104.4m] held-out CE @ 1800: SFT 1.2142 (start 1.2328) | OOD 2.1107 (start 2.1219)[16:48:49 +116.2m] held-out CE @ 2000: SFT 1.2079 (start 1.2328) | OOD 2.1134 (start 2.1219)[17:00:20 +127.8m] held-out CE @ 2200: SFT 1.2038 (start 1.2328) | OOD 2.1131 (start 2.1219)[17:11:09 +138.6m] layer-wise row 582: 1022 positions, mean KL 0.4424 = S35<-T59 0.759 | S39<-T63 0.126[17:11:29 +138.9m] held-out CE @ 2400: SFT 1.2071 (start 1.2328) | OOD 2.1163 (start 2.1219)[17:22:50 +150.3m] held-out CE @ 2600: SFT 1.2082 (start 1.2328) | OOD 2.1174 (start 2.1219)[17:37:14 +164.7m] held-out CE @ 2800: SFT 1.2117 (start 1.2328) | OOD 2.1177 (start 2.1219)[17:43:32 +171.0m] TIME BUDGET: stopping at step 2877[17:44:50 +172.3m] saved the final state as next_step2876 (4 Sep: a run must never end without a checkpoint)1234567891011121314151617181920212223242526272829303132333435363738{ "tag": "lw1s2876_held", "pairs": [ [ 35, 59 ], [ 39, 63 ] ], "cache": "/content/work/probe/teacher_L59_L63_n400.npz", "row0": 0, "nseq": 8, "seqlen": 512, "topk": 32, "positions": 480, "model_dir": "/content/work/export_lw1s2876", "results": [ { "student": 35, "teacher": 59, "agree": 0.4348958333333333, "dprob": 0.2217429131269455, "teacher_mass": 0.7086268663406372, "student_mass": 0.7650713324546814 }, { "student": 39, "teacher": 63, "agree": 0.87734375, "dprob": 0.07960830628871918, "teacher_mass": 0.9735239744186401, "student_mass": 0.9774725437164307 } ]}1234567891011121314151617181920212223242526272829303132333435363738{ "tag": "lw1s2876_train", "pairs": [ [ 35, 59 ], [ 39, 63 ] ], "cache": "/content/work/probe/teacher_L59_L63.npz", "row0": 0, "nseq": 8, "seqlen": 512, "topk": 32, "positions": 480, "model_dir": "/content/work/export_lw1s2876", "results": [ { "student": 35, "teacher": 59, "agree": 0.4552083333333333, "dprob": 0.24216963350772858, "teacher_mass": 0.7505224347114563, "student_mass": 0.7748808264732361 }, { "student": 39, "teacher": 63, "agree": 0.8270833333333333, "dprob": 0.10106714814901352, "teacher_mass": 0.9691639542579651, "student_mass": 0.9725198745727539 } ]}12345678910111213[ 0s] batch (8, 512) from teacher_L59_L63_n400.npz rows 0..8 | pairs [(35, 59), (39, 63)][ 0s] indexer budget 262,144 -> 512 for this 512-token probe (same visible tokens)[ 0s] lw1s2876_held: 40 layers, hidden 2048, hc_count 4, attention at [3, 7, 11, 15, 19, 23, 27, 31, 35, 39][ 9s] streams (8, 512, 8192) | masks + rope built[ 12s] .. layer 0 done[ 13s] layer 1: n-gram memory streamed 7,813,120 rows into (7813760, 256) on cuda[ 42s] .. layer 8 done[ 72s] .. layer 16 done[ 101s] .. layer 24 done[ 136s] .. layer 32 done[ 150s] lw1s2876_held S35 <- T59: top-1 agree 43.5% | dprob 0.222 | teacher-mass 70.9% | student-mass 76.5% (3,840 positions)[ 159s] lw1s2876_held S39 <- T63: top-1 agree 87.7% | dprob 0.080 | teacher-mass 97.4% | student-mass 97.7% (3,840 positions)[ 159s] LW_EVAL DONE lw1s2876_held: S35<-T59 agree 43.5% mass 70.9% | S39<-T63 agree 87.7% mass 97.4%12345678910111213[ 0s] batch (8, 512) from teacher_L59_L63.npz rows 0..8 | pairs [(35, 59), (39, 63)][ 0s] indexer budget 262,144 -> 512 for this 512-token probe (same visible tokens)[ 0s] lw1s2876_train: 40 layers, hidden 2048, hc_count 4, attention at [3, 7, 11, 15, 19, 23, 27, 31, 35, 39][ 1s] streams (8, 512, 8192) | masks + rope built[ 1s] .. layer 0 done[ 2s] layer 1: n-gram memory streamed 7,813,120 rows into (7813760, 256) on cuda[ 5s] .. layer 8 done[ 8s] .. layer 16 done[ 11s] .. layer 24 done[ 14s] .. layer 32 done[ 18s] lw1s2876_train S35 <- T59: top-1 agree 45.5% | dprob 0.242 | teacher-mass 75.1% | student-mass 77.5% (3,840 positions)[ 22s] lw1s2876_train S39 <- T63: top-1 agree 82.7% | dprob 0.101 | teacher-mass 96.9% | student-mass 97.3% (3,840 positions)[ 22s] LW_EVAL DONE lw1s2876_train: S35<-T59 agree 45.5% mass 75.1% | S39<-T63 agree 82.7% mass 96.9%lw1/eval/TRAIN.logAdded+222
lw1/eval/export_lw1s2876.logAdded+7
lw1/eval/lw1_ce_curve.txtAdded+22
lw1/eval/lw_eval_lw1s2876_held.jsonAdded+38
lw1/eval/lw_eval_lw1s2876_train.jsonAdded+38
lw1/eval/lw_lw1s2876_held.logAdded+13
lw1/eval/lw_lw1s2876_train.logAdded+13