Text Generation
Transformers
Safetensors
GGUF
English
llama
babylm
episodic-memory
neoteny
exploratory
continual-learning
self-distillation
pointer-network
small-language-model
wasm
in-browser
text-generation-inference
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
Download export.json from maxgfr/poucet-demo: direct link, hf CLI and curl.
- Browser
- Download file 3.15 kB
-
https://huggingface.co/maxgfr/poucet-demo/resolve/main/export.json
- Command line
-
hf download hf://maxgfr/poucet-demo/export.json
-
curl -L -o export.json https://huggingface.co/maxgfr/poucet-demo/resolve/main/export.json
3.15 kB
| { | |
| "env": { | |
| "torch": "2.15.0+cu132", | |
| "cuda": false, | |
| "device_name": null, | |
| "ref": "1586aabfb652be54b6f58ddf1e39b8581f1d68bd", | |
| "python": "3.12.3" | |
| }, | |
| "exploratory": true, | |
| "prereg": "outside prereg-v1 (issue #24)", | |
| "checkpoint": "/mnt/runs/demo/seed0/ckpt_3000.pt", | |
| "checkpoint_step": 3000, | |
| "gates_sha256": "9d0281a0a5a529c925673ce5bbabe8880fcb53c840a42eeb3ac8e6b78a58e4fc", | |
| "gguf_keys": { | |
| "poucet.gate.tau_open": 0.5942675769329071, | |
| "poucet.gate.tau_same": 0.5659371614456177, | |
| "poucet.gate.epsilon": 0.4973487854003906, | |
| "poucet.gate.jaccard_max": 0.5714285969734192, | |
| "poucet.gate.write_percentile": 0.14, | |
| "poucet.gate.returns_required": 1, | |
| "poucet.gate.relief_cap": 40.5172004699707, | |
| "poucet.gate.mass_floor": 0.05, | |
| "poucet.gate.conflict_enabled": true, | |
| "poucet.store.live_cap": 2048, | |
| "poucet.store.reserve_cap": 8192, | |
| "poucet.store.ring_size": 512, | |
| "poucet.need.temperature": 1.1050137103527575, | |
| "poucet.need.theta_memory": 0.025, | |
| "poucet.need.theta_habit": 0.5, | |
| "poucet.parent.credit": 0.5, | |
| "poucet.parent.expiry_days": 7, | |
| "neoteny.prereg_sha256": "9d0281a0a5a529c925673ce5bbabe8880fcb53c840a42eeb3ac8e6b78a58e4fc", | |
| "neoteny.commit": "1586aabfb652be54b6f58ddf1e39b8581f1d68bd", | |
| "neoteny.seed": 0, | |
| "neoteny.steps": 3000 | |
| }, | |
| "day_constants": { | |
| "tauOpen": 0.5942675769329071, | |
| "tauSame": 0.5659371614456177, | |
| "epsilon": 0.4973487854003906, | |
| "jaccardMax": 0.5714285969734192, | |
| "writePercentile": 0.14, | |
| "returnsRequired": 1, | |
| "reliefCap": 40.5172004699707, | |
| "conflictEnabled": true, | |
| "massFloor": 0.05, | |
| "needTemperature": 1.1050137103527575, | |
| "thetaMemory": 0.025, | |
| "thetaHabit": 0.5 | |
| }, | |
| "checks": { | |
| "hf_reload_max_abs_logit_diff": 0.0, | |
| "f32_gguf_vs_checkpoint_max_abs_logit_diff": 0.0, | |
| "q8_0_vs_checkpoint_max_abs_logit_diff": 0.17780447006225586 | |
| }, | |
| "files": { | |
| "config.json": { | |
| "bytes": 646, | |
| "sha256": "cfcfae3c406f4912b1dc14c16a4d75e3e6876bfedad27f59765a0b30a3ffe0a3" | |
| }, | |
| "gates.demo.yaml": { | |
| "bytes": 8728, | |
| "sha256": "9d0281a0a5a529c925673ce5bbabe8880fcb53c840a42eeb3ac8e6b78a58e4fc" | |
| }, | |
| "generation_config.json": { | |
| "bytes": 66, | |
| "sha256": "407e309076e3a2b1ebbfc51a2e3388ba44c4dad59bf906b7b23b6b4791f5489e" | |
| }, | |
| "model.safetensors": { | |
| "bytes": 119580576, | |
| "sha256": "5b2ee1d6934de865893d681b8bd0709e7d5ae771ae6f0e83e0098eb4851bd5d6" | |
| }, | |
| "port.safetensors": { | |
| "bytes": 1315308, | |
| "sha256": "2a9f3d8787a8641c632c0fcd5b72bd0871fb6f1b4f2edeb994b2515a151118a9" | |
| }, | |
| "poucet-30-demo.f16.gguf": { | |
| "bytes": 60732448, | |
| "sha256": "2b483c0743c3781d214f7881afd791629ba24f7d0fbcc7ec07d01e0669bd0764" | |
| }, | |
| "poucet-30-demo.f32.gguf": { | |
| "bytes": 121156640, | |
| "sha256": "b5fe09c306b80adb7c66179834075b2d24357f5ff54c6cbbc1889edd713c5fb0" | |
| }, | |
| "poucet-30-demo.q8_0.gguf": { | |
| "bytes": 32715808, | |
| "sha256": "46b63d456d362a1485069afdc40b71d94e16a15b1dbc312bcda76edf74fc7195" | |
| }, | |
| "poucet_port.json": { | |
| "bytes": 1739, | |
| "sha256": "dd4ff603f3f2ffc2d031c83c72077f2c6285a8a620aa6510087f64e7952bd636" | |
| }, | |
| "tokenizer.json": { | |
| "bytes": 542958, | |
| "sha256": "b01f7684c3f71458027b7cdef7793b0ad6fff62a36b268dfa2b982522d6055e9" | |
| } | |
| } | |
| } |