Instructions to use maxgfr/poucet-demo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use maxgfr/poucet-demo with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="maxgfr/poucet-demo")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("maxgfr/poucet-demo") model = AutoModelForCausalLM.from_pretrained("maxgfr/poucet-demo", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use maxgfr/poucet-demo 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-demo:F16 # Run inference directly in the terminal: llama cli -hf maxgfr/poucet-demo:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf maxgfr/poucet-demo:F16 # Run inference directly in the terminal: llama cli -hf maxgfr/poucet-demo: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-demo:F16 # Run inference directly in the terminal: ./build/bin/llama cli -hf maxgfr/poucet-demo:F16
Use Docker
docker model run hf.co/maxgfr/poucet-demo:F16
- Llama new
- LM Studio
- Jan
- vLLM
How to use maxgfr/poucet-demo with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "maxgfr/poucet-demo" # 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-demo", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/maxgfr/poucet-demo:F16
- SGLang
How to use maxgfr/poucet-demo 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-demo" \ --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-demo", "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-demo" \ --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-demo", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Ollama
How to use maxgfr/poucet-demo with Ollama:
ollama run hf.co/maxgfr/poucet-demo:F16
- Unsloth Desktop
- Docker Model Runner
How to use maxgfr/poucet-demo with Docker Model Runner:
docker model run hf.co/maxgfr/poucet-demo:F16
- Lemonade
How to use maxgfr/poucet-demo with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull maxgfr/poucet-demo:F16
Run and chat with the model
lemonade run user.poucet-demo-F16
List all available models
lemonade list
- Atomic Chat
Poucet-30 demo build (exploratory)
Exploratory, not pre-registered. This is the demo build of Poucet-30 made for the browser
demo of the neoteny project
(issue #24, write-up docs/DEMO-BUILD.md). It is
outside the pre-registration prereg-v1: no gate of the experiment is read on it, and the
canonical model of the experiment stays maxgfr/poucet
(Poucet-30 seed 0, step 6,000). The demo build is that model, trained 3,000 more steps on the
same mix plus lines typed the way visitors type them, so that the page can read back what a
visitor tells it.
Try it: https://maxgfr.github.io/neoteny/ or https://huggingface.co/spaces/maxgfr/poucet (the page loads this build by default; everything runs and stays in your browser).
Demo build against the canonical base
Every number below was read the same way on both models (code: jobs/demo_eval.py,
neoteny/demo/reading.py); each model reads with its own day constants (canonical base: Ο_open
0.879, the pre-registered one-sided rule; demo build: Ο_open 0.594, the two-sided rule chosen on
dev, see below). "Day path" is the browser's path: facts fed as typed lines through the day (write
gate, credit), then each question in a fresh context, greedy, as the page answers it.
| Measure | Canonical base (maxgfr/poucet) |
Demo build |
|---|---|---|
| M6 visitor probe (314 items written by GLM 5.3 flash, never trained on; final test, read once): open-book EM, day path | 0.0% | 8.6% |
| same, read without Ο_open | 0.0% | 15.9% |
| same, one taught pebble per fact, without Ο_open | 0.3% | 20.7% |
| same, memory off | 0.0% | 0.3% |
| visitor test frames (30 visits, 595 questions; frames never trained on): open-book EM, day path | 0.2% | 41.8% |
| same, read without Ο_open / taught pebbles without Ο_open | 0.2% / 0.2% | 44.5% / 55.5% |
| same, memory off | 0.2% | 1.8% |
| questions about a corrected fact (120): the corrected value | 0.0% | 57.5% |
| questions about facts never stated (240): "does not know yet" | 87.5% | 83.3% |
| same: readout says memory (an answer read from another pebble) | 0.0% | 9.6% |
| answers shown on the page (not "does not know yet") that carry a transcript speaker tag ("*CHI:"), visitor test | 100% (an answer is shown for 9.4% of the questions) | 0% |
| dev-world control (80 facts in gestation frames), day path | 3.8% | 67.5% |
| G0: open-book EM, dev world, store of 2,048 (closed book) | 84.4% (1.0%) | 85.9% (0.8%) |
| canon EM (closed book, 512 canon facts) | 93.4% | 94.3% |
| BLiMP (67,000 pairs) | 70.1% | 70.5% |
| human perplexity, memory off (262,144 dev tokens) | 50.5 | 55.0 |
Both models were read as Q8_0 files dequantised to fp32. G0, canon EM and BLiMP are the measures of the pre-registered gates, read here outside the pre-registration.
Read. On lines typed the way a visitor types them, rendered from held-out frames, the demo build answers 42% of the questions through the page's own path (the canonical base: 0.2%), answers 57% of the questions about a fact the visitor later corrected with the new value, and still says "does not know yet" for 83% of the questions about facts it was never told. Its knowledge of the generated world and of English holds (G0, canon EM and BLiMP within a point or two; perplexity 4.5 higher). On the probe of M6 β free-form items written by GLM 5.3 flash, not from the frames the build was trained on β it reads 8.6% on the day path (16% without the address threshold, 21% with one taught pebble per fact), up from 0%: the address finds those items' pebbles less often (the gold pebble outranks the others for 65% of the questions, against 32% for the base, but only 35% of the gold cosines pass Ο_open). The demo build is a step toward a page that reads what visitors type, not a solution.
Threshold. The pre-registered one-sided Ο_open rule, re-derived on this build (0.870), lets the day path read 6% of the visitor dev questions. The demo build uses the two-sided rule instead: Ο_open maximises the balanced accuracy between the address cosine of a stated fact's pebble and the top-1 cosine of questions about facts never stated, on the dev frames of both worlds (0.594). Reading without any Ο_open was also tested and rejected on dev: it answered half of the questions about facts never stated from some other pebble.
What changed from the canonical base
- Data. A visitor-style world: 48 personal relations (family members and where they live
or work, pets, birthdays, favourite things, jobs, hobbies, schools, plans, the household), slot
vocabularies (first names and towns from many regions, jobs, foods, β¦) and first-person fact,
question and correction frames in two typing styles (careful; quick: lowercase, no full stop,
abbreviations), all written by GLM 5.3 flash and split by frame into train, dev and test.
Episodes are rendered in the page's exact format: each typed line becomes a pebble as the day
writes it, and each question is asked right after
<|bos|>. - Continued gestation. 3,000 steps from the canonical base (step 6,000), 192 sequences per step: 30% human text and 35% world episodes (replay, as in gestation), 35% visitor episodes; AdamW peak learning rate 2e-4, 100 warm-up steps, cosine to 2e-5. Same losses, plus a sentinel loss at questions about facts never stated. Transcript speaker tags never follow a visitor's question in training.
- Day constants. Derived on this build by the registered rules (
jobs/thresholds.py), except Ο_open (two-sided rule, above):gates.demo.yaml. - Checkpoint (step 1,000, 2,000 or 3,000) and Ο_open were chosen on dev numbers only, by rules written down before any result; the test frames and the probe were read once, afterwards.
Files
| File | What |
|---|---|
poucet-30-demo.q8_0.gguf |
the build the page reads (Q8_0, with the demo build's day constants in its keys) |
poucet-30-demo.f32.gguf, poucet-30-demo.f16.gguf |
the same weights at F32 and F16 |
config.json, generation_config.json, model.safetensors, tokenizer.json |
Hugging Face llama export of the Q8_0 build dequantised to fp32 (backbone only) |
port.safetensors, poucet_port.json |
the pebble port (read by the page's engine beside the backbone) |
gates.demo.yaml |
the day constants of the build (derived on it; Ο_open chosen on dev, see above) |
export.json |
sizes, sha256, checks and the day constants as the page applies them |
Scope
Poucet-30 is a BabyLM-level language model with an episodic memory, a research artefact, 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 store of "pebbles" (short verbatim spans of what it was told) through a pointer port. The demo build reads short first-person facts and questions about the visitor's own life (family, pets, jobs, dates, favourite things, plans); it was not trained on anything else, and the memory-off answer beside each reply shows what the weights alone say.
Data
- Language: the human text of gestation (BabyLM 2026 strict corpus and Simple English Wikipedia), replayed.
- World: the programmatic world of gestation (relations, frames and paraphrases by GLM 5.3 flash), replayed.
- Visitor-style world (new): relations, slot vocabularies and sentence frames written by GLM 5.3
flash only (
glm-5.3-flash, open weights, MIT licence), rendered programmatically; train frames only. No data from any proprietary model. Prompts, raw replies and frames:maxgfr/neoteny-world,visitor_world/(revision47c3508f6a1986857c3056fc747aad31641496da; the dataset was recreated at the project's close with the same files). The 314 items of the M6 visitor probe (visitor_probe/) were never trained on; frames that could render one of them were dropped.
Links
- Code: https://github.com/maxgfr/neoteny (Apache-2.0)
- Final report, every result positive and negative:
docs/REPORT.md - How to redo every step from zero, every revision pinned:
REPRODUCE.md - Write-up of this build:
docs/DEMO-BUILD.md
Licence
Apache-2.0 (code and weights). Training data licences: see the dataset card and docs/DATA.md.
- Downloads last month
- 626
Model tree for maxgfr/poucet-demo
Base model
maxgfr/poucet