Instructions to use regolo/brick-complexity-extractor-Q4_K_M-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use regolo/brick-complexity-extractor-Q4_K_M-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="regolo/brick-complexity-extractor-Q4_K_M-GGUF", filename="brick-complexity-extractor-Q4_K_M.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use regolo/brick-complexity-extractor-Q4_K_M-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf regolo/brick-complexity-extractor-Q4_K_M-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf regolo/brick-complexity-extractor-Q4_K_M-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf regolo/brick-complexity-extractor-Q4_K_M-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf regolo/brick-complexity-extractor-Q4_K_M-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 regolo/brick-complexity-extractor-Q4_K_M-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf regolo/brick-complexity-extractor-Q4_K_M-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 regolo/brick-complexity-extractor-Q4_K_M-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf regolo/brick-complexity-extractor-Q4_K_M-GGUF:Q4_K_M
Use Docker
docker model run hf.co/regolo/brick-complexity-extractor-Q4_K_M-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use regolo/brick-complexity-extractor-Q4_K_M-GGUF with Ollama:
ollama run hf.co/regolo/brick-complexity-extractor-Q4_K_M-GGUF:Q4_K_M
- Unsloth Studio new
How to use regolo/brick-complexity-extractor-Q4_K_M-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for regolo/brick-complexity-extractor-Q4_K_M-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for regolo/brick-complexity-extractor-Q4_K_M-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for regolo/brick-complexity-extractor-Q4_K_M-GGUF to start chatting
- Docker Model Runner
How to use regolo/brick-complexity-extractor-Q4_K_M-GGUF with Docker Model Runner:
docker model run hf.co/regolo/brick-complexity-extractor-Q4_K_M-GGUF:Q4_K_M
- Lemonade
How to use regolo/brick-complexity-extractor-Q4_K_M-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull regolo/brick-complexity-extractor-Q4_K_M-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.brick-complexity-extractor-Q4_K_M-GGUF-Q4_K_M
List all available models
lemonade list
Brick Complexity Extractor (Q4_K_M GGUF)
Q4_K_M quantized GGUF of regolo/brick-complexity-extractor
Model Details
| Property | Value |
|---|---|
| Quantization | Q4_K_M |
| File | brick-complexity-extractor-Q4_K_M.gguf |
| Size | 494 MB |
| Bits per weight | 5.5 |
| Original model | regolo/brick-complexity-extractor |
| Base model | Qwen/Qwen3.5-0.8B |
| Output classes | 3 (easy, medium, hard) |
| License | CC BY-NC 4.0 |
4-bit k-quant mixed precision. Best quality/size ratio. Ideal for edge and resource-constrained deployments.
This is a full merged model (base Qwen3.5-0.8B + LoRA adapter merged and quantized), so no separate adapter loading is needed.
All Available Quantizations
| Model | Quant | Size | BPW |
|---|---|---|---|
| BF16-GGUF | BF16 | 1.5 GB | 16.0 |
| Q8_0-GGUF | Q8_0 | 775 MB | 8.0 |
| Q4_K_M-GGUF | Q4_K_M | 494 MB | 5.5 |
Usage with llama.cpp
# Download
huggingface-cli download regolo/brick-complexity-extractor-Q4_K_M-GGUF \
brick-complexity-extractor-Q4_K_M.gguf --local-dir ./models
# Run inference
./llama-cli -m ./models/brick-complexity-extractor-Q4_K_M.gguf \
-p "<|im_start|>system
You are a query difficulty classifier for an LLM routing system.
Classify each query as easy, medium, or hard based on the cognitive depth and domain expertise required to answer correctly.
Respond with ONLY one word: easy, medium, or hard.<|im_end|>
<|im_start|>user
Classify: What is the capital of France?<|im_end|>
<|im_start|>assistant
" \
-n 5 --temp 0
Usage with Ollama
cat > Modelfile <<EOF
FROM ./brick-complexity-extractor-Q4_K_M.gguf
SYSTEM \"\"\"You are a query difficulty classifier for an LLM routing system.
Classify each query as easy, medium, or hard based on the cognitive depth and domain expertise required to answer correctly.
Respond with ONLY one word: easy, medium, or hard.\"\"\"
TEMPLATE \"\"\"<|im_start|>system
{{ .System }}<|im_end|>
<|im_start|>user
Classify: {{ .Prompt }}<|im_end|>
<|im_start|>assistant
\"\"\"
PARAMETER temperature 0
PARAMETER num_predict 5
EOF
ollama create brick-complexity -f Modelfile
ollama run brick-complexity "Design a distributed consensus algorithm"
# Output: hard
Usage with vLLM
from vllm import LLM, SamplingParams
llm = LLM(model="regolo/brick-complexity-extractor-Q4_K_M-GGUF")
sampling_params = SamplingParams(temperature=0, max_tokens=5)
prompt = \"\"\"<|im_start|>system
You are a query difficulty classifier for an LLM routing system.
Classify each query as easy, medium, or hard.
Respond with ONLY one word: easy, medium, or hard.<|im_end|>
<|im_start|>user
Classify: Explain the rendering equation from radiometric first principles<|im_end|>
<|im_start|>assistant
\"\"\"
output = llm.generate([prompt], sampling_params)
print(output[0].outputs[0].text.strip())
# Output: hard
Note on GGUF Inference
The GGUF model uses generative text output (generates "easy", "medium", or "hard") rather than logit-based classification used by the original LoRA adapter. For production deployments requiring maximum accuracy, consider using the original LoRA adapter with the PEFT library.
About
Regolo.ai is the EU-sovereign LLM inference platform built on Seeweb infrastructure. Brick is our open-source semantic routing system that intelligently distributes queries across model pools, optimizing for cost, latency, and quality.
- Downloads last month
- 6
4-bit
Model tree for regolo/brick-complexity-extractor-Q4_K_M-GGUF
Base model
Qwen/Qwen3.5-0.8B-BaseCollection including regolo/brick-complexity-extractor-Q4_K_M-GGUF
Evaluation results
- Accuracy (3-class) on brick-complexity-extractortest set self-reported0.890
- Weighted F1 on brick-complexity-extractortest set self-reported0.870