--- license: apache-2.0 license_link: https://huggingface.co/Qwen/Qwen2.5-1.5B-Instruct-GGUF/blob/main/LICENSE pipeline_tag: text-generation base_model: Qwen/Qwen2.5-1.5B-Instruct tags: - gguf - qwen2 - quantized - cpu - offline - chatml - llama-cpp --- # PebbleLM — Pebble 1.0 **A CPU-friendly, local chat configuration distributed by Okyanus-11.** Pebble 1.0 is the model package used by the PebbleLM application. It is a renamed copy of a third-party quantized checkpoint; it is **not a model trained from scratch by PebbleLM** and it is **not a fine-tune created by this project**. ## Model provenance | Field | Details | |---|---| | Application-facing name | Pebble 1.0 | | Upstream model | [Qwen2.5-1.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-1.5B-Instruct) | | GGUF distribution | [bartowski/Qwen2.5-1.5B-Instruct-GGUF](https://huggingface.co/bartowski/Qwen2.5-1.5B-Instruct-GGUF) | | Upstream GGUF filename | `Qwen2.5-1.5B-Instruct-Q4_K_S.gguf` | | File in this repository | `pebble1.0.gguf` | | Quantization | Q4_K_S | | Approximate file size | 940 MB | | Runtime | llama.cpp via `llama-cpp-python` | | Inference target | CPU (GPU layers disabled by PebbleLM's default runtime) | | Upstream license | Apache-2.0 | The file was renamed for the PebbleLM application. Renaming does not change the upstream model's authorship, provenance, or license. Alibaba Cloud / the Qwen team created the underlying Qwen model; Okyanus-11 created and maintains the PebbleLM application and its project-specific code. ## Download and run The simplest supported path is to use the PebbleLM application repository and download this exact file from the Hub. ### 1. Get the application ```bash git clone https://github.com/okyanus-11/PebbleLM.git cd PebbleLM python -m venv .venv ``` Activate the environment: **Windows PowerShell** ```powershell .\.venv\Scripts\Activate.ps1 ``` **Linux / macOS** ```bash source .venv/bin/activate ``` Install the application and its optional CPU inference runtime: ```bash python -m pip install -e ".[runtime]" ``` ### 2. Download Pebble 1.0 from this repository Install the Hugging Face CLI if it is not already available: ```bash python -m pip install -U huggingface_hub ``` Download the model file into the application's `models` directory: ```bash hf download okyanus-11/PebbleLM pebble1.0.gguf --local-dir models ``` ### 3. Start chatting ```bash python -m pebble chat-base --model models/pebble1.0.gguf ``` The default PebbleLM runtime uses a 4,096-token context window, CPU inference, and memory-mapped model loading. You can change the context and response length: ```bash python -m pebble chat-base --model models/pebble1.0.gguf --context 2048 --max-new-tokens 128 ``` A larger context generally requires more memory. Actual RAM use depends on the operating system, runtime build, context size, and conversation. > **Important:** The application's `python -m pebble download-base` command downloads the upstream GGUF from the bartowski repository. Use the `hf download` command above if you specifically want the copy hosted in this PebbleLM model repository. ## Intended use - Local, interactive text generation and assistant-style conversations. - CPU-based experimentation on consumer computers. - Use through the PebbleLM terminal chat, which adds its own system prompt and local SQLite-based memory/document retrieval. ## Limitations - This is a compact 1.5B-parameter instruction model, not a frontier model. It can produce incorrect, incomplete, or outdated information. - Quantization reduces model-file size but can affect output quality compared with higher-precision weights. - CPU inference speed varies substantially by processor and runtime build. - The model's context capacity and generation behavior are constrained by the selected runtime settings. - PebbleLM's local memory and document retrieval are application features; they are not additional training performed on these weights. - Do not rely on model output as the sole basis for medical, legal, financial, or other high-impact decisions. ## License and attribution The model weights in this repository are distributed under the upstream **Apache License 2.0**. The Apache-2.0 license text is provided as `LICENSE`; the original PebbleLM application code has a separate MIT license, provided as `LICENSE-PebbleLM`. - Upstream model card: https://huggingface.co/Qwen/Qwen2.5-1.5B-Instruct - Upstream GGUF repository: https://huggingface.co/bartowski/Qwen2.5-1.5B-Instruct-GGUF - Full project and application source: https://github.com/okyanus-11/PebbleLM - Additional notices: [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md) PebbleLM and Pebble 1.0 are project/application names used by Okyanus-11. They do not imply ownership of or authorship over the underlying Qwen weights.