Instructions to use Ionio-ai/Qwen3.5-0.8B-Ecommerce-Extraction-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 Ionio-ai/Qwen3.5-0.8B-Ecommerce-Extraction-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 Ionio-ai/Qwen3.5-0.8B-Ecommerce-Extraction-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Ionio-ai/Qwen3.5-0.8B-Ecommerce-Extraction-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 Ionio-ai/Qwen3.5-0.8B-Ecommerce-Extraction-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Ionio-ai/Qwen3.5-0.8B-Ecommerce-Extraction-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 Ionio-ai/Qwen3.5-0.8B-Ecommerce-Extraction-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf Ionio-ai/Qwen3.5-0.8B-Ecommerce-Extraction-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 Ionio-ai/Qwen3.5-0.8B-Ecommerce-Extraction-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf Ionio-ai/Qwen3.5-0.8B-Ecommerce-Extraction-GGUF:Q4_K_M
Use Docker
docker model run hf.co/Ionio-ai/Qwen3.5-0.8B-Ecommerce-Extraction-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use Ionio-ai/Qwen3.5-0.8B-Ecommerce-Extraction-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Ionio-ai/Qwen3.5-0.8B-Ecommerce-Extraction-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Ionio-ai/Qwen3.5-0.8B-Ecommerce-Extraction-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Ionio-ai/Qwen3.5-0.8B-Ecommerce-Extraction-GGUF:Q4_K_M
- Ollama
How to use Ionio-ai/Qwen3.5-0.8B-Ecommerce-Extraction-GGUF with Ollama:
ollama run hf.co/Ionio-ai/Qwen3.5-0.8B-Ecommerce-Extraction-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use Ionio-ai/Qwen3.5-0.8B-Ecommerce-Extraction-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Ionio-ai/Qwen3.5-0.8B-Ecommerce-Extraction-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:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "Ionio-ai/Qwen3.5-0.8B-Ecommerce-Extraction-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Ionio-ai/Qwen3.5-0.8B-Ecommerce-Extraction-GGUF with Docker Model Runner:
docker model run hf.co/Ionio-ai/Qwen3.5-0.8B-Ecommerce-Extraction-GGUF:Q4_K_M
- Lemonade
How to use Ionio-ai/Qwen3.5-0.8B-Ecommerce-Extraction-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Ionio-ai/Qwen3.5-0.8B-Ecommerce-Extraction-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Qwen3.5-0.8B-Ecommerce-Extraction-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use Ionio-ai/Qwen3.5-0.8B-Ecommerce-Extraction-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 Ionio-ai/Qwen3.5-0.8B-Ecommerce-Extraction-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:8080/v1 hermes config set model.default Ionio-ai/Qwen3.5-0.8B-Ecommerce-Extraction-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Ionio-ai/Qwen3.5-0.8B-Ecommerce-Extraction-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Ionio-ai/Qwen3.5-0.8B-Ecommerce-Extraction-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:8080/v1 \ --custom-model-id "Ionio-ai/Qwen3.5-0.8B-Ecommerce-Extraction-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"
Qwen3.5-0.8B Ecommerce Extraction GGUF
Five GGUF quantizations of a LoRA-rank-32 fine-tune for schema-conditioned e-commerce query extraction. Training used two epochs, a cosine learning-rate schedule, and assistant-only loss. No F16 GGUF is shipped because llama.cpp can dequantize dynamically at inference time.
The source model was converted with --no-mtp; these are text-only extraction exports.
Required prompt format
Inference must use the same chat structure and prompt contract used for training and evaluation. Reasoning was disabled; temperature was 0, top_p was 1, and the output allowance was 4096 tokens.
System message:
You extract structured filters from e-commerce search queries.
Return only one valid JSON object, with no markdown or explanation.
Your output must validate against the supplied JSON Schema: include every required key, preserve nesting, do not add keys, and keep arrays as arrays.
Fill values only when stated or clearly implied by the query. Use JSON null for a required scalar field whose value is not available in the query.
Preserve the exact spelling and capitalization of every JSON key.
User message:
E-commerce query:
{query}
JSON Schema:
{compact_json_schema}
The schema is value-free: it contains keys and allowed JSON types, but never target values. Every object key is required, additional properties are forbidden, and scalar types permit JSON null. If the query lacks a required scalar value, emit JSON null (not Python None, a missing key, or the string "null"). The dataset's meta_prompt column is not used.
Apply the base model's chat template; do not concatenate raw text outside that template. For Qwen3.5, disable thinking/reasoning.
Full held-out GGUF evaluation
All rows use the same 1,095-example held-out split, exact prompt construction, llama.cpp CUDA backend, 64 concurrent requests, temperature 0, and 4096 maximum generated tokens. Quant runs were concurrent, so wall-clock latency is workload-dependent and should not be interpreted as an isolated speed benchmark.
| Quant | Size MiB | Strict JSON | Schema valid | Exact | Leaf F1 | Key F1 | Null accuracy | Truncated |
|---|---|---|---|---|---|---|---|---|
| Q8_0 | 774.2 | 99.91% | 99.73% | 30.96% | 88.49% | 99.46% | 99.82% | 1 |
| Q6_K | 600.6 | 100.00% | 99.91% | 29.95% | 88.56% | 99.57% | 99.82% | 0 |
| Q5_K_M | 551.2 | 99.91% | 99.73% | 30.32% | 88.35% | 99.38% | 99.73% | 0 |
| Q4_K_M | 504.8 | 99.82% | 99.45% | 29.41% | 88.04% | 99.33% | 99.63% | 1 |
| Q3_K_M | 444.6 | 95.53% | 94.16% | 23.93% | 82.17% | 94.62% | 95.05% | 17 |
| merged BF16 reference | — | 99.91% | 99.73% | 30.32% | 88.52% | — | — | — |
Q3_K_M prioritizes size and may materially damage instruction/schema adherence. Select using schema validity and Leaf F1, not file size alone.
Metric definitions
- Strict JSON: the complete response parses as exactly one JSON value without code fences, commentary, or repair.
- Schema valid: the parsed object satisfies the per-example Draft 2020-12 schema: required keys, types, nesting, arrays, and no extra keys.
- Exact: case-sensitive equality to the full gold JSON; array order is significant.
- Leaf F1: macro average of per-example precision/recall F1 over flattened
(JSON path, typed value)pairs. This gives partial credit while still checking keys, types, and case-sensitive values. - Key F1: macro F1 over flattened JSON paths, ignoring values; it measures structural adherence.
- Null accuracy: macro per-example accuracy on gold-null paths; non-null examples contribute 100% by definition, so interpret it with the other metrics.
- Truncated: responses that hit the 4096-token limit. No repaired or “recoverable” JSON is counted as strict JSON.
Machine-readable results are in evaluation-results.json. The accompanying PDF includes methodology and analysis.
End-to-end example
User query:
men's Nike running shoes in red under $100
JSON Schema supplied in the user message:
{"type":"object","properties":{"product_type":{"type":["string","null"]},"brand":{"type":["string","null"]},"color":{"type":["string","null"]},"price_max":{"type":["number","null"]}},"required":["product_type","brand","color","price_max"],"additionalProperties":false}
Expected assistant output:
{"product_type":"running shoes","brand":"Nike","color":"red","price_max":100}
llama.cpp example
llama-cli -m qwen3.5-0.8b-ecommerce-Q4_K_M.gguf -ngl 99 --temp 0 --top-p 1 --reasoning-budget 0 -n 4096 -cnv
Then send the system and user messages above through chat mode. For production, validate every response against the supplied schema and retry or reject failures.
Limitations
This model extracts only fields represented by the supplied schema and reflects the source dataset's annotation quality. Exact match is deliberately harsh: capitalization or a single value error fails the entire example. Results apply to this held-out dataset and prompt; other schemas, languages, llama.cpp versions, chat templates, or sampling settings may behave differently. Do not treat inferred attributes as verified product facts.
- Downloads last month
- 44
3-bit
4-bit
5-bit
6-bit
8-bit