Instructions to use JPQ24/Natural-Logic-3b-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 JPQ24/Natural-Logic-3b-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 JPQ24/Natural-Logic-3b-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf JPQ24/Natural-Logic-3b-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 JPQ24/Natural-Logic-3b-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf JPQ24/Natural-Logic-3b-GGUF:Q4_K_M
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 JPQ24/Natural-Logic-3b-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf JPQ24/Natural-Logic-3b-GGUF:Q4_K_M
Use Docker
docker model run hf.co/JPQ24/Natural-Logic-3b-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use JPQ24/Natural-Logic-3b-GGUF with Ollama:
ollama run hf.co/JPQ24/Natural-Logic-3b-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use JPQ24/Natural-Logic-3b-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf JPQ24/Natural-Logic-3b-GGUF:Q4_K_M
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": "JPQ24/Natural-Logic-3b-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use JPQ24/Natural-Logic-3b-GGUF with Docker Model Runner:
docker model run hf.co/JPQ24/Natural-Logic-3b-GGUF:Q4_K_M
- Lemonade
How to use JPQ24/Natural-Logic-3b-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull JPQ24/Natural-Logic-3b-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Natural-Logic-3b-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use JPQ24/Natural-Logic-3b-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf JPQ24/Natural-Logic-3b-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default JPQ24/Natural-Logic-3b-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use JPQ24/Natural-Logic-3b-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf JPQ24/Natural-Logic-3b-GGUF:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "JPQ24/Natural-Logic-3b-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
natural-logic-3b
natural-logic-3b is a dense 3B-parameter merge built on Qwen 2.5 3B, combining the Logic LoRA and Natural Synthesis v5 LoRA directly into the base model weights (and exported to GGUF for fast local inference).
By merging structured analytical reasoning with natural synthesis, this model aims to produce clear, coherent responses without sacrificing logical rigor—all in a lightweight 3B footprint suitable for laptops, edge devices, and CPU/low-VRAM setups.
Merge Details
- Base Model:
Qwen/Qwen2.5-3B-Instruct - Source LoRAs:
- Logic LoRA:
JPQ24/qwen-2.5-3b-lora-reasoning_logic - Natural Synthesis v5 LoRA:
JPQ24/qwen-2.5-3b-lora-reasoning_natural_synthesis_v5
- Logic LoRA:
- Merge Strategy: Dense adapter merge (
dare_ties, weights[1.0, 1.0], density0.7) folded into 16-bit base weights viapeft(merge_and_unload). (Update if you used different weights/method.) - Format: GGUF quantized via
llama.cpp
Status: FAILED EXPERIMENT — Dense merging (dare_ties at [1.0, 1.0]) caused a scaffold clash between the two LoRAs' competing SFT output templates, leading to infinite Synthesis: / Evaluation: repetition loops and degraded mathematical reasoning. Moving to an MoE architecture instead.
Available Quantizations
| File | Quantization | Approx. Size | Notes |
|---|---|---|---|
Natural-logic-3b-Q4_K_M.gguf |
Q4_K_M |
~1.9 GB | Recommended balance of speed, memory, and quality |
Prompt Format (ChatML)
This model uses the standard Qwen 2.5 ChatML format:
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
{prompt}<|im_end|>
<|im_start|>assistant
How to Run
1. Ollama
You can run the GGUF directly from Hugging Face with Ollama:
ollama run hf.co/JPQ24/natural-logic-3b-GGUF:Q4_K_M
Or create a local Modelfile:
FROM ./Natural-logic-3b-Q4_K_M.gguf
PARAMETER temperature 0.7
PARAMETER top_p 0.9
ollama create natural-logic-3b -f Modelfile
ollama run Natural-logic-3b
2. llama.cpp CLI
./llama-cli -m Natural-logic-3b-Q4_K_M.gguf \
-p "Explain the logical fallacy in this argument and synthesize a clearer alternative." \
-cnv -ngl 99
3. LM Studio / Jan / KoboldCpp
Search for JPQ24/Natural-logic-3b-GGUF directly inside the app's model downloader, select the ChatML / Qwen2.5 preset, and load Q4_K_M.
Limitations
- As a 3B model, it is optimized for speed, clarity, and lightweight deployment rather than massive encyclopedic recall.
- Like all LLMs, it can still hallucinate or make mistakes on complex multi-step problems—verify critical outputs.
License & Acknowledgments
- Built on Qwen2.5-3B, which is governed by the Qwen Research License Agreement. Please review the upstream base model and source LoRA licenses before commercial use.
- Credit to the Qwen team for the base model and the creators of the Logic and Natural Synthesis v5 LoRA adapters.
- Downloads last month
- 356
4-bit