Run this model with HF Jobs
Run maxgfr/poucet on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/maxgfr/poucet. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/maxgfr/poucet on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/maxgfr/poucet. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/maxgfr/poucet. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use maxgfr/poucet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use maxgfr/poucet with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="maxgfr/poucet")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("maxgfr/poucet") model = AutoModelForCausalLM.from_pretrained("maxgfr/poucet", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use maxgfr/poucet 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 maxgfr/poucet:F16 # Run inference directly in the terminal: llama cli -hf maxgfr/poucet:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf maxgfr/poucet:F16 # Run inference directly in the terminal: llama cli -hf maxgfr/poucet:F16
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 maxgfr/poucet:F16 # Run inference directly in the terminal: ./build/bin/llama cli -hf maxgfr/poucet:F16
Use Docker
docker model run hf.co/maxgfr/poucet:F16
- Llama new
- LM Studio
- Jan
- vLLM
How to use maxgfr/poucet with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "maxgfr/poucet" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "maxgfr/poucet", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/maxgfr/poucet:F16
- SGLang
How to use maxgfr/poucet with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "maxgfr/poucet" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "maxgfr/poucet", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "maxgfr/poucet" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "maxgfr/poucet", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Ollama
How to use maxgfr/poucet with Ollama:
ollama run hf.co/maxgfr/poucet:F16
- Unsloth Desktop
- Docker Model Runner
How to use maxgfr/poucet with Docker Model Runner:
docker model run hf.co/maxgfr/poucet:F16
- Lemonade
How to use maxgfr/poucet with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull maxgfr/poucet:F16
Run and chat with the model
lemonade run user.poucet-F16
List all available models
lemonade list
- Atomic Chat
- Poucet-30 (gestation base, seed 0)
- Gate verdicts (pre-registered, tag
prereg-v1) - Exploratory, not pre-registered: a night that keeps canon (M3b)
- Exploratory, not pre-registered: several nights (M5a)
- Exploratory, not pre-registered: nights without erosion (issue #36)
- After the close: three bugs and a revision (issues #47 and #48; the verdicts above are unchanged)
- What happened after this base
- Scope
- What is in this repository
- Training
- Data provenance
- Links
- Licence
- Gate verdicts (pre-registered, tag
Poucet-30 (gestation base, seed 0)
Try it in the browser: the Space maxgfr/poucet or https://maxgfr.github.io/neoteny/, and how it remembers, step by step: the interactive explainer.
Paper: DOI 10.5281/zenodo.24843308 (PDF). Code: github.com/maxgfr/neoteny. Everything in one place: the collection maxgfr/neoteny.
Gate verdicts (pre-registered, tag prereg-v1)
| Gate | What it measures | Result at step 6,000 (100%) | Threshold | Verdict |
|---|---|---|---|---|
| G0 | open-book exact match of greedy answers on held-out question frames, dev world, store of 2,048 pebbles with sibling distractors | 84.4% open; 0.98% closed-book against a most-frequent-value baseline of 1.17% | open β₯ 70%, closed β€ baseline + 3 points | pass |
| K0b | recall@4 of the gold pebble from held-out-frame cues (random addresses: 0.0%) | 100.0% | β₯ 90% | pass |
| G0c | closed-book exact match on canon facts (seen often in gestation) | 93.2% | β₯ 80% | pass |
| G0k | AUC of the address cosine, same fact against a sibling fact | 1.000 | β₯ 0.98 | pass (conflict rule on) |
| G0t | store-off perplexity and BLiMP of the main run at step 1,500 against a no-store twin with as many human tokens (902 steps) | perplexity ratio 2.43 (102.2 against 42.1); BLiMP 60.0% against 61.5% (1.5 points) | ratio β€ 1.05 and BLiMP within 2 points | fail (perplexity) |
| Quantisation (risk 11) | G0 on this Q8_0 file against the fp32 checkpoint | 84.4% against 84.4% (0.0 points) | drop β€ 1 point | Q8_0 stays the canonical base |
G0 along gestation (open / closed EM): step 1,500 92.2% / 0.8%; step 3,000 90.0% / 1.4%; step 4,500 86.5% / 1.0%; step 6,000 84.4% / 1.0%. BLiMP (all 67k pairs) at step 6,000: 70.1%. Human-text perplexity (dev split, 262k tokens, memory off): 50.5.
Verdict. The reading gate G0 passes: with its store, Poucet answers 84.4% of questions about facts it never saw in training, and without the store it answers at the trivial baseline. The no-store control G0t fails on perplexity: at the matched number of human tokens the gestating model's memory-off perplexity is 2.43 times the twin's. The twin finished its whole learning-rate schedule in 902 steps, while the main run at step 1,500 was still near its peak learning rate; the pre-registered comparison does not separate that from a cost of the memory, and it is reported as a failure as written. G0t has no stop rule; G0 does, and it passed.
Addendum (exploratory, the verdict above is unchanged): read with raw windows, the format of gestation's human text, instead of <|bos|> before mid-document text, G0t's ratio is 1.11 (main 45.8, twin 41.2), not 2.43; the twin's learning-rate schedule still confounds it (docs/M2-addendum-g0t.md of the code repository).
After this base (M3, gate G1): fail. One night of self-distillation into a LoRA or the full
habit blocks moved up to 84% of 256 new facts into the weights (closed-book EM from 0.8%), but
every configuration of the registered grid lost more than 3 points of canon EM (8.5 to 70.5
points), so no configuration passes G1 and no night configuration was chosen. See docs/M3.md.
Every number above was read by the job named in the code repository's docs/M2.md, with the
pre-registered gates file (prereg/gates.yaml, sha256 6c6bebd7805495ab9b155a573245a209c18e3ecb51aae39f59c7d8b947c2d2cf).
Failures would be reported in the same table, in the same way.
Exploratory, not pre-registered: a night that keeps canon (M3b)
Outside the pre-registration prereg-v1; G1 above stays failed. After G1, issue #22 of the
code repository tried, as exploratory work, two additions to the night: KL replay of canon
question-and-answer lines in the keep anchor (stored, or written by the gestation model itself),
and the commit line search a β {1, Β½, ΒΌ} that the registered grid switched off. With full habit
blocks, 400 steps and canon replay, every configuration tried reaches at a = Β½ at least 30%
closed-book EM with canon EM and BLiMP within 3 points (best: 55.1% closed-book EM, canon β1.5
points, BLiMP +0.3 points); without replay, none does. No configuration does at a = 1, and no
rank-64 adapter does.
exploratory/m3b/habit-0001.gguf is the habit file of the best of these nights (V 24, generative
replay, Ξ²_canon 0.5, a = Β½; read back from the file: closed-book EM 55.1%, canon EM 94.5%, BLiMP
67.0%), for the browser demo. Details in exploratory/m3b/README.md and in docs/M3b.md of the
code repository.
Exploratory, not pre-registered: several nights (M5a)
Outside the pre-registration prereg-v1; G1 above stays failed. Issue #26 of the code
repository read the M3b night again with a stricter commit suite (canon items on held-out question
frames, 1,000 BLiMP pairs). On 256 new facts and two seeds, all four configurations tried (V 8 and
24, stored and generative canon replay) keep the M3b result: the line search keeps a = Β½, with 54β61%
closed-book EM and canon EM and BLiMP within 3 points of the base.
Five nights in a row then folded 256 new facts each, replaying the earlier nights' pebbles. The facts of earlier nights are kept (the first batch reaches 84% after three nights), but each night costs more canon, the line search keeps a = Β½, then ΒΌ, later batches are learned less, canon EM falls to 6.5 points below the base after night 3, and the suite rejects nights 4 and 5.
exploratory/m5a/habit-0001.gguf to habit-0003.gguf are the habits after the three nights that
were kept (each file holds every night up to it; apply one). Readings and details in
exploratory/m5a/README.md and in docs/M5a.md of the code repository.
Exploratory, not pre-registered: nights without erosion (issue #36)
Outside the pre-registration prereg-v1; G1 above stays failed, and this work's own success
criteria were not met. Issue #36 of the code repository tried to stop M5a's canon erosion with an
absolute guard in the commit suite (against the base, not the night before), a Fisher-weighted
anchor of the habit toward the base, and per-night habit modules. The anchor cuts the canon cost of
a full-strength night fourfold (81.6% of 256 new facts for 6 points of canon, against 88.3% for 24
points), but the guard still rejects a full-strength night, the halved night keeps only 10β28% of
its batch, and after eight nights (four committed) canon EM is 6.5 points below the base.
exploratory/nights/habit-0001.gguf to habit-0004.gguf are the habits after the four nights that
were kept (each file holds every night up to it; apply one). Readings and details in
exploratory/nights/README.md and in docs/NIGHTS.md of the code repository.
After the close: three bugs and a revision (issues #47 and #48; the verdicts above are unchanged)
Found and measured after the project closed. Every pre-registered verdict above stands as read; the
details are in docs/REPORT.md of the code repository, which classes every negative verdict as
touching the idea, a setting never explored, or a measurement artefact.
- G0 on the path the page runs: 82.8%. The registered Ο_open (0.879) was derived on a
contaminated null sample: 95 of its 1,024 "no pebble of the queried fact" questions had one. On a
clean null the registered rule gives 0.694 (
prereg/gates.rederived-47.yaml). Read once through the day path at 0.694, G0's set gives 82.8% open-book EM (G0 as registered, top 4 and no threshold: 84.4%; at 0.879: 8.0%). Seedocs/M2.md, addendum. - No LoRA passes, now read correctly. The commit line search scaled a LoRA's change by about aΒ²
instead of a. With the exact commit, the rank-64 night keeps 9.4β14.5% closed-book EM at a = Β½
(canon kept), below the 30% bound. The full-block habit in
exploratory/m3b/is unaffected (docs/M3b.md, addenda). - Canon erodes over several nights at every night learning rate tried (5e-5 to 1e-3, 4 nights:
7.0 to 14.5 points of canon EM;
docs/LR.md). - The exploratory pilot (earned relief against surprise, recurrence and random selection for
what the night folds): against the hypothesis through the contaminated threshold (#37), for it
under another threshold (#42), and not separated under the registered rule on a clean null
(pilot v2,
docs/PILOT.md,prereg/prereg-v2.md).
What happened after this base
Every result below came after this base and is in the final report,
docs/REPORT.md. Everything except G1 is exploratory, outside the
pre-registration. The verdicts above are unchanged.
- M3, gate G1 (pre-registered): fail. One night folds up to 84.0% of 256 new facts into the
weights, but each of the 24 registered configurations loses 8.5 to 70.5 points of canon EM (bound
3). The registered pilot (M5) and experiment 1 (M7) were never run.
docs/M3.md - M3b: a night with canon replay at a = Β½ keeps canon: 55.1% closed-book EM, canon β1.5 points,
BLiMP +0.3. Nothing passes at a = 1. With the exact LoRA commit, no rank-64 LoRA passes either
(9.4β14.5%).
docs/M3b.md - M5a: confirmed on 2 seeds, but canon erodes over nights. 8 of 8 single nights keep a = Β½, with
54.3β60.9% closed-book EM and canon β2.5 to +1.5 points. Over five nights in a row, canon falls by
6.5 points after night 3, and nights 4 and 5 are rejected.
docs/M5a.md; issue #36's guard, anchor and per-night modules do not stop it (docs/NIGHTS.md). - The night's learning rate: from 5e-5 to 1e-3, every rate costs 7.0 to 14.5 points of canon
after 4 nights; no rate erodes less.
docs/LR.md - A clean Ο_open (issue #47). The registered Ο_open (0.879) came from a contaminated null
sample. On a clean null the registered rule gives 0.694, and G0 read through the day path the
browser page runs is 82.8% (8.0% at 0.879).
docs/M2.md,docs/M3.md - Which pebbles the night should fold (earned relief A, surprise B, recurrence Bβ², random C),
in
docs/PILOT.md:- #37: against (A β Bβ² β6.1 and β7.0 points), read through the contaminated Ο_open;
- #42: supported (A β Bβ² +12.5 and +7.8), under another threshold; superseded;
- pilot v2 (
prereg/prereg-v2.md, the registered rule on a clean null): not separated (A β Bβ² +2.2 [β0.2, +4.6] on seed 0). Read post hoc at 6 points of canon spent, it is still not separated; - pilot v3 (
prereg/prereg-v3.md, issue #54, at equal canon spend, with arm A-u, A's selection with a uniform dose): not separated. At a canon cost of 6 points, A β Bβ² is +4.1 [+1.5, +8.5] and β0.8 [β2.6, +6.2]; the dose (A β A-u) is not separated; against random, only A-u is ahead (+5.6 and +7.0). A's night-8 lead under v2's rule (+8.5 and +7.8 over Bβ²) comes with more canon spent (15.0 and 13.5 points), and does not hold at equal spend. This is exploratory (two seeds, one base), not a confirmatory test.
- Eviction by attention mass (issue #12). Attention mass ranks the size of a pebble's relief
(Spearman 0.85β0.86 with |relief|), not its sign. Evicting by mass loses to the ledger: open-book EM
on returning facts at day 7 is β12.4 [β17.0, β7.8] points.
docs/KV.md - The parent mode (issue #5), write gate only, day level. Surprise relative to a parent
(LFM3-1.7B-Base) writes fewer first statements of returning facts (β6.5 [β9.9, β3.1] points) and
more noise (+5.1). Open-book EM at day 7 is β2.8 [β4.9, β0.8]. The rest of M8 was not done.
docs/PARENT.md - A frozen pretrained host (issue #39): the port grafted on SmolLM2-135M does not ship. It reads
never-stated questions from other pebbles: memory readout +12.9 [+6.7, +19.2] points, G0 28.7%.
Published under
exploratory/host-smollm2/of this repository only.docs/HOST.md
Scope
Poucet-30 is a BabyLM-level language model with an episodic memory. It is a research artefact of the neoteny project, not an assistant: it has no world knowledge, no instruction tuning and no safety tuning, and it writes child-level English at best. What it can do is read facts back from a small external store of "pebbles" (short verbatim spans with learned addresses and keys) through a pointer port, which is what the gates above measure. The facts it was trained and evaluated on belong to a fictional, programmatically generated world.
What is in this repository
| File | What |
|---|---|
poucet-30.q8_0.gguf |
canonical base (Q8_0 matrices, F16 port, F32 vectors), 32.7 MB |
poucet-30.f32.gguf |
the gestation checkpoint at F32 |
poucet-30.f16.gguf |
the gestation checkpoint at F16 |
config.json, generation_config.json, model.safetensors, tokenizer.json |
Hugging Face llama export of the canonical base |
port.safetensors, poucet_port.json |
the pointer port and its manifest |
export.json |
sha256 and size of every file, and the export checks |
- The GGUF files use the architecture
poucet(docs/GGUF.md of the code repository); they are read by the project's own Rust/WebAssembly engine, not by llama.cpp. poucet-30.q8_0.ggufis the canonical base: every step after gestation (thresholds, the G1 fold-dose grid, the pilot) reads this file dequantised to fp32 (SPEC Β§8.1). The F32 file is the strict parity reference; F16 is the fallback of the quantisation rule (risk 11).- The GGUF files were written when gestation ended, before the day's thresholds were derived
(M3): their keys
poucet.gate.*andpoucet.need.*hold the format's defaults, andneoteny.prereg_sha256names the registered gates file. The derived values are inruns/thr/gates.derived.yamlof the project's bucket and indocs/M3.md. config.json,model.safetensors,tokenizer.json: the backbone as a plain Hugging FaceLlamaForCausalLM(8 layers, d 512, 8 heads, SwiGLU 1,408, tied embeddings, context 256, vocabulary 8,192), with the weights of the canonical base. Loaded alone it is the closed-book model (memory off).port.safetensorsandpoucet_port.json: the pointer port (address, query and key projections, their norm, and the learned scalars tau, lambda and the sentinel bias), applied to the output of the 4 reader layers.neoteny.export.hf.load_hfin the code repository loads backbone and port together.
from transformers import AutoTokenizer, LlamaForCausalLM
tok = AutoTokenizer.from_pretrained("maxgfr/poucet")
model = LlamaForCausalLM.from_pretrained("maxgfr/poucet") # backbone only: the memory is off
Training
- Gestation: 6,000 steps on one NVIDIA L40S (bf16), 393M tokens, seed 0, 75 minutes, code at the
prereg-v1commit9f506c5(pre-registered step budget; the specification planned 12,800 steps, cut to fit the $8 budget of M1-M5 before the hash). - Batches of 256 sequences of 256 tokens (154 human text, 102 episodes that pair a store of pebbles with questions about them), store 64 to 512 pebbles over the first 30% of steps, AdamW (0.9, 0.95), weight decay 0.1, learning rate 6e-4 to 6e-5 (cosine, 400 warm-up steps), clip 1.0, bf16 autocast with the port and the losses in fp32. Losses: closed-book and open-book language modelling, an address InfoNCE and a read-back loss (SPEC Β§3.5).
- 30,221,696 parameters including the port.
Data provenance
- Human text: BabyLM 2026 strict, 100M words (
BabyLM-community/BabyLM-2026-Strict, MIT, revision9e57baaaa91ac3c638746be14d1d5fa6c789f4cf) and Simple English Wikipedia (wikimedia/wikipedia,20231101.simple, CC BY-SA 3.0 / GFDL, de-duplicated against BabyLM): 209M training tokens. About 237M human tokens were seen in gestation (1.02 epochs). - World facts: a fictional world generated by a seeded program (entities, names, values, the day
stream). Its only natural-language pieces (40 relations, 3,086 sentence frames) were written by
GLM 5.3 flash (open weights, MIT) and are published with their prompts and raw replies in
maxgfr/neoteny-world(revision47c3508f6a1986857c3056fc747aad31641496da; the dataset was recreated at the project's close with the same files, see the final report). - Tokenizer: byte-level BPE, 8,192 tokens, rule
line-prefix-punct-v3, sha256b01f7684c3f71458027b7cdef7793b0ad6fff62a36b268dfa2b982522d6055e9. - No data, label or evaluation item was generated by a proprietary model.
- Exact files and sha256:
prereg/PREREG.mdΒ§8 anddocs/DATA.mdof the code repository.
Links
Try it in the browser: https://maxgfr.github.io/neoteny/ or https://huggingface.co/spaces/maxgfr/poucet (the page loads the exploratory demo build
maxgfr/poucet-demoby default; this canonical base is under Settings β Model, or with?model=canonical).Code: https://github.com/maxgfr/neoteny (Apache-2.0)
The demo build:
maxgfr/poucet-demo; the Space:maxgfr/poucetDataset:
maxgfr/neoteny-worldRuns (every
runs/β¦path of the docs): the public bucketmaxgfr/neotenyEverything in one place: the collection
maxgfr/neotenyFinal report, every result positive and negative:
docs/REPORT.mdHow to redo every step from zero, every revision pinned:
REPRODUCE.mdPre-registration: https://github.com/maxgfr/neoteny/tree/prereg-v1 (
prereg/PREREG.md,prereg/gates.yaml,prereg/HASHES)Gate reports:
docs/M2.md(G0, K0b, G0c, G0k, G0t) anddocs/M3.md(thresholds, G1) of the code repository
Licence
Apache-2.0 for the weights and the code. The training text keeps its own licences (above).
- Downloads last month
- 3,508