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)
- Scope
- What is in this repository
- Training
- Data provenance
- Links
- Licence
- Gate verdicts (pre-registered, tag
Poucet-30 (gestation base, seed 0)
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.
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)
Final 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
- 2,040