Feature Extraction
Transformers
Safetensors
English
lfm3
text-generation
scuttle
graph-search
information-retrieval
decision-model
swarm-search
mcp
custom_code
Instructions to use Multiqueue/scuttle-1.7b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Multiqueue/scuttle-1.7b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Multiqueue/scuttle-1.7b", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Multiqueue/scuttle-1.7b", trust_remote_code=True) model = AutoModelForCausalLM.from_pretrained("Multiqueue/scuttle-1.7b", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update CTF speedrun chart with Gemini 4 Neon frontier comparison and add Pareto/quantization figure
b333620 verified |
Download README.md from Multiqueue/scuttle-1.7b: direct link, hf CLI and curl.
- Browser
- Download file 7.14 kB
-
https://huggingface.co/Multiqueue/scuttle-1.7b/resolve/main/README.md
- Command line
-
hf download hf://Multiqueue/scuttle-1.7b/README.md
-
curl -L -o README.md https://huggingface.co/Multiqueue/scuttle-1.7b/resolve/main/README.md
7.14 kB
| language: | |
| - en | |
| license: other | |
| license_name: lfm-open-1.0 | |
| license_link: LICENSE | |
| library_name: transformers | |
| pipeline_tag: feature-extraction | |
| tags: | |
| - scuttle | |
| - graph-search | |
| - information-retrieval | |
| - decision-model | |
| - swarm-search | |
| - mcp | |
| - lfm3 | |
| # Scuttle-1.7B | |
| **Frontier-calibrated 1.7B decision model for fast parallel swarm search over linked document graphs.** | |
| - **Code, CLI & MCP Server (MIT):** [github.com/MLTQ/scuttle](https://github.com/MLTQ/scuttle) | |
| - **Ready-to-Run Demo Graphs (US Federal Law + Wikispeedia + Markdown Vault):** [github.com/MLTQ/scuttle-demos](https://github.com/MLTQ/scuttle-demos) | |
| - **Full Technical White Paper:** [WHITEPAPER.md](https://github.com/MLTQ/scuttle/blob/main/WHITEPAPER.md) | |
| ## Overview | |
| **Scuttle-1.7B** is a single-pass decision model derived from Liquid AI's `LFM3-1.7B` hybrid backbone (18 linear $O(N)$ conv/sliding layers + 6 full attention layers, 262K context window) paired with 15 KB of learned fp32 decision heads (`scuttle_heads.pt`): | |
| - **`page_head` ($\mathbb{R}^{2048} \to \mathbb{R}^1$):** calibrated probability $P(\text{page contributes} \mid q, \text{page})$. | |
| - **`link_head` ($\mathbb{R}^{2048} \to \mathbb{R}^6$):** six cumulative ordinal distance heads $P(d \le k \mid q, \text{link})$ for $k \in \{0, 1, 2, 3, 4, 6\}$, composed via exact Abel weights `(0.50, 0.22, 0.12, 0.07, 0.05, 0.04)` into calibrated frontier priorities across up to **100 links per forward pass** with **zero autoregressive text generation**. | |
| Trained across **4 distinct graph topologies** (255,575 documents, 543,516 edges, 4.05M verified 100-link labels: LitSearch citations, unarXive citations, Wikispeedia hyperlinks, and eCFR US Federal Law statutory `§` cross-references) with request-grouped multi-menu frontier loss and 2 rounds of balanced 100-link multi-domain on-policy DAgger. | |
| ## Benchmarks | |
|  | |
| ### Search CTF Speed Run (60 Zero-Index Flags, ≤16 Reads, Warm RTX 4090) | |
|  | |
| | Competitor | Size / VRAM | Flags Captured | Solve Rate | Latency / Run | Seconds / Captured Flag | | |
| | --- | --- | ---: | ---: | ---: | ---: | | |
| | **Frontier Model** *(blind multi-turn cloud LLM)* | Cloud frontier | 58 / 60 | 96.7% | 64.2 s *(36.5 s med)* | 66.5 s / flag | | |
| | **Scuttle-1.7B 4-bit Packed (`default`)** | **1.7B / 0.93 GiB** | **46 / 60** | **76.7%** | **1.42 s** | **1.86 s / flag** | | |
| | **Scuttle-1.7B BF16** | 1.7B / 3.22 GiB | 45 / 60 | 75.0% | **1.19 s** | **1.59 s / flag** | | |
| | `Qwen3-Reranker-0.6B` *(24-link neural)* | 0.6B / ~1.2 GiB | 22 / 60 | 36.7% | 0.65 s | 1.78 s / flag | | |
| | `LFM3-1.7B` Generative Agent *(same 1.7B weights)* | 1.7B / 3.22 GiB | 10 / 60 | 16.7% | 8.43 s | 50.56 s / flag | | |
| | BM25 Graph *(CPU lexical)* | 0B / CPU | 25 / 60 | 41.7% | 0.02 s | 0.04 s / flag | | |
| - **vs. Cloud Frontier Model:** Recovers **~80% of frontier solve rate** (**85% vs. 95% US Federal Law**, **80% vs. 95% LitSearch**, and **`0.9575` vs. `0.9894` Page100 AUC**) while running **45× faster mean / 26× faster median** (**35.7× faster per captured flag**) at **0.93 GiB local VRAM and \$0 API cost**. | |
| - **vs. Same 1.7B Weights as a Generative Agent:** **7.1× faster per run, 4.5× more captures, and 31.8× faster per captured flag**. | |
| ### Controlled With vs. Without Scuttle (1,049 Queries, Identical 16-Doc Budget) | |
| | Domain | Queries | Recall@16: BM25 → **Scuttle** | Top-3: BM25 → **Scuttle** | BM25 Miss Recovery | | |
| | --- | ---: | :---: | :---: | ---: | | |
| | **LitSearch** (CS/NLP) | 199 | 59.8% → **64.3%** (+4.5) | 37.2% → **53.3%** (+16.1) | **26 / 80 (32.5%)** | | |
| | **eCFR** (US Federal Law) | 402 | 55.2% → **63.4%** (+8.2, $p{=}0.0008$) | 35.3% → **38.8%** (+3.5) | **63 / 180 (35.0%)** | | |
| | **Wikispeedia** (Masked topics) | 448 | 37.5% → **61.2%** (+23.7, $p{<}10^{-20}$) | 24.6% → **52.2%** (+27.7) | **121 / 280 (43.2%)** | | |
| | **Combined** | **1,049** | **48.5% → 62.6% (+14.1 pts)** | **31.1% → 47.3% (+16.2 pts)** | **210 / 540 (38.9%)** | | |
| ### Low-VRAM Quantization & Frontier Pareto (BF16 Down to 1-Bit PTQ) | |
|  | |
| Because Scuttle performs zero autoregressive decoding (pure single-pass prefill), packing both all Linear weights **and** the 128k-vocab embedding table into pure-PyTorch group-64 4-bit tensors (`scuttle_int4.safetensors`, **973 MB**) cuts static VRAM by **3.5×** (**3.22 → 0.93 GiB**), loads directly in **1.66 s** with **zero `bitsandbytes` dependency**, and retains **~100% of BF16 accuracy** while running slightly faster than BF16: | |
| | Precision | Static VRAM | Peak VRAM (100-link) | 60-Flag CTF | Retention | Latency / Run | Page AUC / F1 | | |
| | --- | ---: | ---: | ---: | ---: | ---: | ---: | | |
| | **BF16** (`model.safetensors`, 3.46 GB) | 3.22 GiB | 3.99 GiB | 45 / 60 (75.0%) | 100.0% | 1,491 ms | 0.9546 / 0.7379 | | |
| | **8-bit** (`bitsandbytes` LLM.int8) | 2.40 GiB | 3.89 GiB | 44 / 60 (73.3%) | 97.8% | 1,905 ms | 0.9565 / 0.7475 | | |
| | **4-bit NF4** (`bitsandbytes`, BF16 emb) | 1.70 GiB | 3.02 GiB | 45 / 60 (75.0%) | 100.0% | 1,564 ms | 0.9534 / 0.7523 | | |
| | **4-bit Packed + 4-bit Emb (`default`, 973 MB)** | **0.93 GiB** | **1.70 GiB** | **46 / 60 (76.7%)** | **~100%** *(102.2%)* | **1,423 ms** | **0.9545 / 0.7475** | | |
| | **3-bit HQQ (g64) + 4-bit Emb** *(PTQ cliff)* | 0.76 GiB | 1.53 GiB | 36 / 60 (60.0%) | 80.0% | 2,508 ms | 0.9439 / 0.7071 | | |
| | **Mixed 2-bit MLP + 4-bit Attn/Conv + 4-bit Emb** | 0.67 GiB | 1.48 GiB | 17 / 60 (28.3%) | 37.8% | 2,684 ms | 0.8421 / 0.0000 | | |
| | **2-bit HQQ (g32 / g64) + 4-bit Emb** | 0.68 / 0.60 GiB | 1.43 / 1.34 GiB | 7 / 6 of 60 | 15.6 / 13.3% | 2,866 / 2,225 ms | 0.59 / 0.31 / 0.00 | | |
| | **1.58-bit Ternary / 1-bit Binary (g64)** | 0.49 / 0.41 GiB | 1.25 / 1.14 GiB | 6 / 5 of 60 | 13.3 / 11.1% | 3,342 / 2,800 ms | 0.50 / 0.55 / 0.00 | | |
| ## Quickstart | |
| No `bitsandbytes` or custom CUDA kernels needed — `4bit` (**0.93 GiB static VRAM, 973 MB download**) is the built-in default: | |
| ```bash | |
| pip install "scuttle-search @ git+https://github.com/MLTQ/scuttle.git" | |
| # Index any folder of Markdown/HTML/text files into a graph: | |
| scuttle index ./my-vault -o vault.json.gz | |
| # Run a swarm search (defaults to 0.93 GiB packed 4-bit; pass --quant bf16 for full BF16): | |
| scuttle search --graph vault.json.gz --query "your question here" | |
| ``` | |
| ### MCP Server for AI Agents | |
| ```json | |
| { | |
| "mcpServers": { | |
| "scuttle": { | |
| "command": "scuttle-mcp", | |
| "args": ["--idle-offload", "120", "--graphs", "/path/to/graphs"] | |
| } | |
| } | |
| } | |
| ``` | |
| ## License & Attribution | |
| This model is a fine-tuned derivative of Liquid AI's **LFM3-1.7B** and is distributed under the **[LFM Open License v1.0](LICENSE)** (see the included `LICENSE` file for full terms). Modified files relative to the base checkpoint: fine-tuned backbone weights (`model.safetensors`), added decision heads (`scuttle_heads.pt`), updated metadata (`config.json`, `scuttle_meta.json`). The accompanying `scuttle` inference package, indexer, and MCP server at [`MLTQ/scuttle`](https://github.com/MLTQ/scuttle) are released separately under the MIT License. | |