Official quantized GGUF release for rrchat/Mercury-1.7B, a high-efficiency multi-task reasoning and agentic model fine-tuned on top of Liquid AI's LiquidAI/LFM3-VL-2B architecture (~1.7B language parameters + SigLIP Vision encoder).
Looking for the full unquantized weights (safetensors / PyTorch)?
👉 rrchat/Mercury-1.7B
| File | Size | VRAM Req. | Recommended Use Case |
|---|---|---|---|
Mercury-1.7B-Q4_K_M.gguf |
1.10 GB | ~2–4 GB | Recommended (Optimal balance of speed, memory, and perplexity. ~180–200 t/s on desktop GPU) |
Mercury-1.7B-Q5_K_M.gguf |
1.26 GB | ~4 GB | Higher precision for mathematics, coding, and structured function calling |
Mercury-1.7B-Q8_0.gguf |
1.85 GB | ~6 GB | Near-lossless 8-bit precision reference |
Mercury-1.7B-F16.gguf |
3.47 GB | 8 GB+ | Uncompressed 16-bit floating-point master |
mmproj-Mercury-1.7B-f16.gguf |
378 MB | ~500 MB | Multimodal vision projector (SigLIP encoder projection) |
Mercury-1.7B is built on the Liquid Foundation Model 3 (LFM3) hybrid architecture, combining linear attention mechanisms with state-space causal convolutions:
shortconv): Employs causal 1D depthwise convolutions with kernel size $k=7$ across early layers for local context aggregation with constant memory footprint.attn_gate / wg).attn_post_norm, ffn_post_norm).[!IMPORTANT] llama.cpp Technical Requirement:
Standard legacy builds ofllama.cpporiginally supported SSM convolution kernels 3, 4, 5, 9, and 15. Because LFM3 uses kernel size 7, yourllama.cppbinary must include kernel 7 SSM convolution support (ggml-cuda/ssm-conv.cu) and the LFM2/LFM3 native tensor graph operators (models/lfm2.cpp). Builds compiled with these operator extensions run Mercury at extreme throughput (~180–200 tokens/sec on NVIDIA RTX 3060).
All benchmarks were evaluated on an identical local test harness under strictly identical conditions:
| Benchmark | Generation Mode | Base (LFM3-VL-2B) |
Mercury-1.7B | Delta vs. Base | Domain / Capability |
|---|---|---|---|---|---|
| HumanEval / LiveCodeBench | Thinking (<think>) |
25.0% | 40.0% | +15.0% | Python coding & algorithmic reasoning |
| HumanEval / LiveCodeBench | Instant (Direct) | 65.0% | 70.0% | +5.0% | Fast code generation & syntax adherence |
| GSM8K (Grade School Math) | Thinking (<think>) |
75.0% | 80.0% | +5.0% | Multi-step mathematical reasoning |
| IFEval (Instruction Following) | Thinking (<think>) |
70.0% | 72.5% | +2.5% | Complex system constraint compliance |
| BFCL v4 (Tool Use) | Thinking / Instant | 97.0% | 97.0% | Parity (0% loss) | Berkeley Function Calling / Agentic Tool Calls |
| IFEval (Instruction Following) | Instant (Direct) | 75.0% | 74.2% | Parity (~74%) | Direct formatting & negative constraint compliance |
| Claw-Eval General | Instant (Direct) | 91.7% | 91.7% | Parity (>90%) | Real-world conversational quality |
[!NOTE] Disclaimer on Evaluations:
All benchmarks presented above were conducted manually and independently on local test suites under controlled, reproducible conditions. The results reflect real-world local execution performance and may differ from theoretical or officially reported figures published on the official Liquid AI LFM3 model card.
llama-cli.exe `
-m Mercury-1.7B-Q4_K_M.gguf `
-p "<|startoftext|><|im_start|>user`nПривет! Кто ты?<|im_end|>`n<|im_start|>assistant`n" `
-ngl 99 `
-c 8192 `
--temp 0.7
llama-server.exe `
-m Mercury-1.7B-Q4_K_M.gguf `
-ngl 99 `
-c 8192 `
--port 8888 `
--host 0.0.0.0
The server exposes an OpenAI-compatible endpoint at http://localhost:8888/v1/chat/completions. Compatible with Open-WebUI, LibreChat, Continue.dev, and LangChain.
This repository provides an official Modelfile:
# Create and register model in Ollama
ollama create mercury -f Modelfile
# Run interactive chat
ollama run mercury
Mercury-1.7B uses standard ChatML syntax:
<|startoftext|><|im_start|>system
You are Mercury, an AI assistant developed by the rrchat team.<|im_end|>
<|im_start|>user
Реши задачу: найди производную функции f(x) = x^3 - 4x + 1.<|im_end|>
<|im_start|>assistant
For explicit step-by-step thinking traces, you can prefill the <think> tag:
<|im_start|>assistant
<think>
Verify file integrity using the provided SHA256SUMS:
sha256sum -c SHA256SUMS
LiquidAI/LFM3-VL-2B