How to use from
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 PranavKeshav/harmony-structurer-gguf:Q4_K_M
# Run inference directly in the terminal:
llama cli -hf PranavKeshav/harmony-structurer-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 PranavKeshav/harmony-structurer-gguf:Q4_K_M
# Run inference directly in the terminal:
llama cli -hf PranavKeshav/harmony-structurer-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 PranavKeshav/harmony-structurer-gguf:Q4_K_M
# Run inference directly in the terminal:
./llama-cli -hf PranavKeshav/harmony-structurer-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 PranavKeshav/harmony-structurer-gguf:Q4_K_M
# Run inference directly in the terminal:
./build/bin/llama-cli -hf PranavKeshav/harmony-structurer-gguf:Q4_K_M
Use Docker
docker model run hf.co/PranavKeshav/harmony-structurer-gguf:Q4_K_M
Quick Links

Harmony Structurer β€” GGUF

QLoRA fine-tune of Qwen/Qwen2.5-3B-Instruct on the ADE Corpus v2 for clinical entity extraction. Merged and exported to GGUF for local inference via LM Studio or llama.cpp.

Files

File Size Use
harmony-structurer-Q4_K_M.gguf ~2 GB Load this in LM Studio
harmony-structurer-f16.gguf ~6 GB Full precision reference

LM Studio setup

  1. Open LM Studio β†’ Search β†’ paste PranavKeshav/harmony-structurer-gguf
  2. Download harmony-structurer-Q4_K_M.gguf
  3. Load model β†’ set context length to 4096
  4. Start local server on port 1234 (default)

The Harmony backend reads LMSTUDIO_BASE_URL=http://localhost:1234/v1 from .env.

Training source

  • Adapter: PranavKeshav/harmony-structurer-qlora-v1
  • Dataset: ade-benchmark-corpus/ade_corpus_v2 (4,271 unique sentences, drug/ADE/dosage relations)
  • Method: QLoRA (4-bit NF4, rank=16, alpha=32) via Unsloth on T4 GPU
Downloads last month
42
GGUF
Model size
3B params
Architecture
qwen2
Hardware compatibility
Log In to add your hardware

4-bit

16-bit

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

Model tree for PranavKeshav/harmony-structurer-gguf

Base model

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