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
  • Merge Strategy: Dense adapter merge (dare_ties, weights [1.0, 1.0], density 0.7) folded into 16-bit base weights via peft (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
GGUF
Model size
3B params
Architecture
qwen2
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 JPQ24/Natural-Logic-3b-GGUF

Base model

Qwen/Qwen2.5-3B
Quantized
(371)
this model