How to use from
Pi
Start the llama.cpp server
# Install llama.cpp:
brew install llama.cpp
# Start a local OpenAI-compatible server:
llama serve -hf ggml-org-dev/tiny-d1-2B-for-testing-GGUF:Q8_0
Configure the model in Pi
# Install Pi:
npm install -g @earendil-works/pi-coding-agent
# Add to ~/.pi/agent/models.json:
{
  "providers": {
    "llama-cpp": {
      "baseUrl": "http://localhost:9931/v1",
      "api": "openai-completions",
      "apiKey": "none",
      "models": [
        {
          "id": "ggml-org-dev/tiny-d1-2B-for-testing-GGUF:Q8_0"
        }
      ]
    }
  }
}
Run Pi
# Start Pi in your project directory:
pi
Quick Links

tiny-d1-2B-for-testing-GGUF

This is a modified, damaged copy of LiquidAI/d1-2B, made only to test software. Its output is gibberish. Do not use it for anything else.

GGUF of ggml-org-dev/tiny-d1-2B-for-testing, converted with convert_hf_to_gguf.py of llama.cpp (text model and mmproj in F16), then the vocab of the text model was cut (128000 -> 2485 tokens: the special tokens, every single character, the decision label words and the first 2000 BPE merges, with the token ids renumbered) and it was quantized to Q4_0 with llama-quantize (token embedding included), the mmproj to Q8_0. The tokenizer of the GGUF is therefore not the original one: any text still tokenizes, but into more pieces. Used by the llama.cpp server tests of the lfm3-d1 decision type.

llama-server -hf ggml-org-dev/tiny-d1-2B-for-testing-GGUF:Q4_0

License

Derived from d1-2B by Liquid AI, under the LFM Open License v1.0.

Downloads last month
17,057
GGUF
Model size
490k params
Architecture
lfm3
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for ggml-org-dev/tiny-d1-2B-for-testing-GGUF

Finetuned
LiquidAI/d1-2B
Quantized
(1)
this model