Instructions to use ContextReq/Pebble-10M-Chat-GGUF 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 ContextReq/Pebble-10M-Chat-GGUF 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 ContextReq/Pebble-10M-Chat-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf ContextReq/Pebble-10M-Chat-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ContextReq/Pebble-10M-Chat-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf ContextReq/Pebble-10M-Chat-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf ContextReq/Pebble-10M-Chat-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf ContextReq/Pebble-10M-Chat-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf ContextReq/Pebble-10M-Chat-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf ContextReq/Pebble-10M-Chat-GGUF:Q4_K_M
Use Docker
docker model run hf.co/ContextReq/Pebble-10M-Chat-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use ContextReq/Pebble-10M-Chat-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ContextReq/Pebble-10M-Chat-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ContextReq/Pebble-10M-Chat-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ContextReq/Pebble-10M-Chat-GGUF:Q4_K_M
- Ollama
How to use ContextReq/Pebble-10M-Chat-GGUF with Ollama:
ollama run hf.co/ContextReq/Pebble-10M-Chat-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use ContextReq/Pebble-10M-Chat-GGUF with Docker Model Runner:
docker model run hf.co/ContextReq/Pebble-10M-Chat-GGUF:Q4_K_M
- Lemonade
How to use ContextReq/Pebble-10M-Chat-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ContextReq/Pebble-10M-Chat-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Pebble-10M-Chat-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Pebble-10M-Chat-GGUF
GGUF conversions of basically-ai/Pebble-10M-Chat (Apache 2.0).
IMPORTANT: patched llama.cpp required
Pebble uses a custom hybrid Mamba2 + attention architecture. These GGUFs carry
general.architecture = "pebble", which upstream llama.cpp refuses to load.
Everything needed to run them lives in the support repo:
rootendpoint/basicallyai_llama.cpp_support
llama.cpp-pebble.patch- adds thepebblearchitecture to llama.cpp (applies cleanly against upstream commit0eadefe)basicallyai_to_gguf.py- standalone converter (numpy + safetensors only)numpy_reference.py- independent reference implementation used to verify correctness
Apply the patch, rebuild llama.cpp, then:
llama-cli -m pebble-10m-chat-f16.gguf
Chat template
This model's SFT format is not documented upstream; the best-matching format (lowercase role labels, determined by A/B testing) is embedded in the GGUF:
user: <message>
assistant: <response>
llama-cli and llama-server pick it up automatically.
llama-server -m pebble-10m-chat-f16.gguf --host 127.0.0.1 --port 8080
# web UI at http://127.0.0.1:8080
Files
| Quant | Size | Type |
|---|---|---|
| f16 | 20.7 MB | F16 |
| q8_0 | 11.1 MB | mostly Q8_0 |
| q4_k_m | 7.5 MB | mostly Q4_K_M |
Verification
Outputs were cross-checked token-by-token against an independent pure-numpy reference implementation over multiple prompts (CPU and CUDA backends, and quantized KV cache). Identical greedy sequences up to genuine argmax ties.
Model
- 10M parameters, hidden 384, 8 layers (6 Mamba2 + 2 attention), ctx 512, vocab 2048
- SFT on 250M tokens of smol-smoltalk
- A research-scale model: expect toy-level output quality.
- Downloads last month
- -
4-bit
8-bit
16-bit