Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Server error while post-processing the rows. Please report the issue.
Error code:   RowsPostProcessingError

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Svobikl/lora-cartridge β€” 390 Orthogonal GGUF LoRAs (Qwen4-35B-A3B + Qwen3.8-27B + Inkling-2-Mini) + 272 KVTC Memory Cartridges + Super-Mini-Adapters

GitHub Repository & Installer License: Apache-2.0 Backends: llama.cpp | vLLM | TensorRT-LLM | MLX Commercial Clean

Source Code, Standalone Installers (--model qwen4|inkling|qwen|both, --profile basic|scientific_full) & DIY Custom-Model Training Scripts: https://github.com/Svobikl/lora-cartridge

Design Philosophy: Why 3-Bit Models & the 16 GB VRAM Sweet Spot?

We deliberately target 3-bit quantized checkpoints (IQ3_XXS, IQ3_S, UD-IQ3_S) because 16 GB VRAM GPUs are the practical sweet spot already owned by a huge community of local AI builders:

  • Qwen3.8-27B (IQ3_XXS-mtp) and Inkling-2-Mini (IQ3_S, 3.4B active MoE) fit comfortably inside 16 GB VRAM.
  • Qwen4-35B-A3B (UD-IQ3_S, 27.76 GiB total / only 3B active MoE parameters) is slightly above 16 GB on disk, yet thanks to sparse MoE activation (3B active) and keeping the large per-layer embedding table (shard 2, 10.73 GiB, per_layer_token_embd.weight) + cold experts in system RAM, it can run smoothly on a 16 GB VRAM GPU while LoRA-Cartridge restores 100% reliability and cuts wasted output tokens by -54% to -78.5%!

Stop loading bloated monolithic fine-tunes. Hot-swap up to 130 orthogonal skills per model (scale=0.0 -> 0.25, 0 idle FLOPs) and 272 KVTC-compressed memory cartridges (33.63x–33.82x compression, 0.9993–0.9995 cosine similarity, 100% APC multi-turn reuse).

On standardized 16-case A/B evaluation (BFCL_v3, MultiTurn_Agent, IFEval, HumanEvalFix, Diff_SearchReplace, LongContext_SWA_MRCR), activating scientific_full lifts ALL THREE models to 100.0% (16/16): Qwen4-35B-A3B (81.2% β†’ 93.8% β†’ 100.0%, +18.75 pp), Qwen3.8-27B (50.0% β†’ 100.0%, +50.0 pp), and Inkling-2-Mini (25.0% β†’ 87.5% β†’ 100.0%, +75.0 pp). On SWE-bench Mini (12 repos) + Multi-SWE-bench Mini (16 tasks across 8 languages), Qwen4-35B-A3B + scientific_full boosts git apply (28.6% β†’ 39.3%) and verified resolution (25.0% β†’ 32.1%) while cutting total output tokens by -70.0% (22,539 β†’ 6,761 tok, -78.5% on multi-language)!


Visual Architecture & Benchmark Results (Animated SVGs)

1. How KVTC Cartridges & Zero-Copy Orthogonal LoRAs Connect Automatically

How LoRA-Cartridge Works β€” Animated Spatial Architecture Blueprint

Interactive Step-by-Step Walkthrough: What happens on every query? (Click to expand)
  1. Semantic Query Routing (< 2 ms): A single query embedding matches relevant domain KVTC Cartridges (cosine >= 0.45, margin >= 0.15) and up to k <= 3 SVD-orthogonal LoRA adapters (subspace overlap < 0.70) alongside the always-on Super-Mini-Adapter (r=24, scale=0.10–0.20).
  2. Lazy LRU KVTC Decompression (33.82x -> exact anchors): Only selected .kvtc packs (~65 KB on disk) are decompressed in RAM (0.9993 mean cosine fidelity) and injected at messages[first_user_idx] β€” leaving messages[0] (system + tools) untouched for 100% Automatic Prefix Caching (APC) across follow-up turns (-68.4% prefill work). For Inkling-2-Mini (W=1024 SWA), an ephemeral sliding-window KVTC anchor prevents long-context forgetting across 3x-looped recurrent MoE blocks (layers 6..17).
  3. Zero-Copy LoRA Scale Flip (scale=0.0 -> 0.25): Unselected adapters stay resident at scale=0.0 (0 idle FLOPs) while selected specialists activate instantly via HTTP (POST /lora-adapters on llama.cpp, block-diagonal direct-sum on vLLM, request-scoped LoRA uids on TensorRT-LLM, or transposed adapters.safetensors on MLX).

2. Standardized 16-Case Quality & Capability Benchmark Comparison

Standardized Benchmark Results β€” Qwen3.8-27B & Inkling-2-Mini Per-Suite Dual-Bar Lift

Per-Suite Breakdown (`BFCL_v3`, `MultiTurn_Agent`, `IFEval`, `HumanEvalFix`, `Diff_SearchReplace`, `LongContext_SWA_MRCR`)
Benchmark Suite Qwen3.8-27B Base Qwen3.8-27B + Swarm + KVTC Inkling-2-Mini Base Inkling-2-Mini + Super-Mini + SWA KVTC
BFCL_v3 (Function Calling & Irrelevance) 3/6 6/6 2/6 5/6
MultiTurn_Agent (Schema + Loop Guard) 1/2 2/2 0/2 2/2
IFEval (Strict Instruction Constraints) 2/3 3/3 2/3 3/3
HumanEvalFix (Python Bug Repair) 1/3 3/3 0/3 2/3
Diff_SearchReplace (Exact Patch Synthesis) 1/1 1/1 0/1 1/1
LongContext_SWA_MRCR (Multi-Hop Needle) 0/1 1/1 0/1 1/1
Total Standardized Score (basic / scientific_full) 8/16 (50.0%) 16/16 (100.0%, +50.0 pp) 4/16 (25.0%) 14/16 (87.5%, basic) β†’ 16/16 (100.0%, +75.0 pp, scientific_full)

3. SWE-bench Mini (SWE-bench_Lite) & Multi-SWE-bench Mini (8 Languages) β€” Qwen4-35B-A3B Token Savings & Pass Rate

Benchmark (Qwen4-35B-A3B UD-IQ3_S) Metric Raw Base scientific_full (130 LoRAs + 272 KVTC) Improvement
SWE-bench Mini (12 Python repos) Clean git apply / Resolved 50.0% / 41.7% 58.3% / 50.0% +8.3 pp / +8.3 pp
SWE-bench Mini (12 Python repos) Output Tokens Used 8,310 tok 3,708 tok -55.4% tokens
Multi-SWE-bench Mini (16 tasks, 8 langs) Clean git apply / Resolved 12.5% / 12.5% 25.0% / 18.8% 2.0Γ— / 1.5Γ—
Multi-SWE-bench Mini (16 tasks, 8 langs) Output Tokens Used 14,229 tok 3,053 tok -78.5% tokens
Combined SWE (28 tasks) Total Output Tokens / Latency 22,539 tok / 188.15 s 6,761 tok / 87.45 s -70.0% tokens / -53.5% latency

4. Terminal-Bench 2.1 (12 Official Docker Tasks, 1 h / task β€” CPU-Only Ablation)

Model Arm A: Raw Base Arm B: basic (Swarm + KVTC) Arm C: scientific_full (+UltraTerminals) Token & Turn Efficiency (vs Raw Base)
Qwen3.8-27B (IQ3_XXS-mtp) 8.3% (1/12) 25.0% (3/12, 3.0Γ—) 25.0% (3/12, 3.0Γ—) -7.0% tool calls (200 -> 186), -4.1% output tokens (28,238 -> 27,093), newly solved nginx-request-logging
Inkling-2-Mini (IQ3_S + dspark, 3.4B active MoE) 41.7% (5/12) 50.0% (6/12, +8.3 pp) 41.7% (5/12) (16/16 on 16-case suite) -54.0% output tokens & -32.7% fewer turns on the 5 commonly solved tasks

Why are Terminal-Bench 2.1 pass rates 25%–50% here? (CPU-Only Speed & Timeout Context) These runs were measured on pure CPU-only inference (zero GPU acceleration) at low single-digit generation speed (~2.8 tokens per second for Qwen3.8-27B vs ~4.3 tokens per second for Inkling-2-Mini + dspark) under a hard 3600 s (1 h / task) timeout. Most Qwen3.8-27B failures (7–11/12) were AgentTimeoutError hitting the 1-hour wall clock mid-debugging, whereas Inkling-2-Mini (3.4B active MoE) ran 2.5–3Γ— more terminal turns per hour. Cutting output tokens by -54.0% and turns by -32.7% on solved tasks is what tripled Qwen3.8-27B's pass rate (8.3% -> 25.0%) and lifted Inkling-2-Mini to 50.0% on CPU alone.


Bundle Contents & Strict License Split

Every artifact in this repository is strictly audited so commercial users never ingest Non-Commercial (CC-BY-NC-SA-4.0) data. The 15 Home Assistant / ESPHome documentation cartridges are physically isolated into a separate opt-in archive.

Artifact / Bundle Count Target Models License NC Contamination Default Install
loras_qwen4_124.tar.gz 124 GGUF LoRAs Qwen4-35B-A3B (qwen4exp, 73 safe pairs) Apache-2.0 0 NC Opt-in (--model qwen4)
loras_qwen4_science_expansion.tar.gz 6 GGUF LoRAs (1 UltraTerminals + 5 Science) Qwen4-35B-A3B (qwen4exp) Apache-2.0 / MIT / CC-BY-4.0 0 NC Opt-in (--model qwen4 --profile scientific_full)
super_mini_qwen4.tar.gz + swarm_index_qwen4.json 1 Super-Mini (r=24, 99.78% energy) + 1 Index Qwen4-35B-A3B (130 LoRAs + 272 Carts) Apache-2.0 0 NC Opt-in (--model qwen4)
loras_qwen35_124.tar.gz 124 GGUF LoRAs Qwen3.8-27B (qwen35) Apache-2.0 (sources: Apache-2.0 / MIT / CC-BY-4.0 / ODC-BY / CC-BY-SA) 0 NC Included (--model qwen/both)
loras_inkling2/ 124 GGUF LoRAs Inkling-2-Mini (inkling2_loop, alpha/3 loop-scaled) Apache-2.0 0 NC Included
Super-Mini-Adapter (lora-super-mini-qwen35.gguf, lora-super-mini-inkling2.gguf) 2 GGUF LoRAs QR-SVD r=96/64 -> r=24 (60.0 MB Qwen3.8 + 25.5 MB Inkling-2-Mini) Apache-2.0 0 NC Included
cartridges_commercial_245.tar.gz 245 .kvtc Cartridges Universal (prompt_embeds / E_cart) Apache-2.0 / MIT / CC-BY-4.0 / BSD-3-Clause / ODC-BY / CC-BY-SA / Czech Public Domain 0 NC Included (basic & scientific_full)
science_ultraterminals_expansion.tar.gz 12 GGUF LoRAs (2 UltraTerminals + 10 Science) + 12 Pillar-9 .kvtc Cartridges Qwen3.8-27B & Inkling-2-Mini (48Γ— Ξ±/3 loop-scaled) + STEM Pillar-9 (33.63x mean, 0.99950 cosine) Apache-2.0 / MIT / CC-BY-4.0 / BSD-3-Clause 0 NC Opt-in (--profile scientific_full)
cartridges_homelab_nc_15.tar.gz 15 .kvtc Cartridges Personal Homelab Only (esphome-docs, home-assistant.io, developers.home-assistant) CC-BY-NC-SA-4.0 (personal_homelab_cartridge_only) 15 NC (Isolated) Opt-in (--include-homelab)
swarm_index.json + inkling_cured.jinja 1 + 1 SwarmGateway / llama-server / vLLM Apache-2.0 0 NC Included

Total Verified Artifacts: basic: 248 base GGUF LoRAs + 2 Super-Mini + 245 commercial cartridges | scientific_full: 260 GGUF LoRAs (130 / model) + 2 re-distilled Super-Mini-Adapter GGUFs + 257 commercial KVTC cartridges (+ 15 isolated homelab NC cartridges via --include-homelab).


Upstream Base GGUF & Adapter Citations

This release builds on and acknowledges the following upstream quantized checkpoints and adapters:

  • UkisAI/Swift-1.5-Qwen3.8-27B-GSQ-RCO-GGUF (Swift-1.5-Qwen3.8-27B-GSQ-RCO-IQ3_XXS-mtp.gguf) β€” GSQ-RCO mixed-precision Qwen3.8-27B base GGUF with Multi-Token Prediction (MTP).
  • ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF (Inkling-2-Mini-GSQ-RCO-IQ3_S.gguf + dspark-Inkling-2-Mini-Q8_0.gguf) β€” Official upstream inkling2_loop (26.4B total / 3.4B active MoE, layers 6..17 looped 3x, W=1024 SWA) + speculative draft model. (Note: supersedes obsolete UD-Q3_K_XL unlooped schema.)
  • harness-hub/Qwen3.8-27B-super-adapter (harness-hub/Qwen3.8-27B-super-adapter-GGUF) β€” Source r=96 (1.4 GB Safetensors / 913 MB GGUF) super-adapter distilled via thin float64 QR-SVD spectral decomposition into our r=24 Super-Mini-Adapter (60.0 MB lora-super-mini-qwen35.gguf retaining 93.8% spectral energy & 25.5 MB lora-super-mini-inkling2.gguf retaining 87.0% spectral energy).

Training & Cartridge Data Taxonomy (82 HF + 42 Non-HF = 124 Primary Sources)

From configs/commercial_datasets_v5.json, our training and distillation pipeline aggregates 82 Hugging Face datasets and 42 non-HuggingFace repositories (13 GitHub schema repos, 11 ML library docs, 18 technical doc suites), plus 11 gap-cure & eval-quarantined sources:

1. 9 Orthogonal LoRA Families (124 Modules per Model, 0 NC)

  1. Atomic NLP & Instruction Following (52 LoRAs): Muennighoff/natural-instructions, allenai/tulu-3-sft-mixture, allenai/tulu-3-sft-personas-instruction-following, Open-Orca/SlimOrca-Dedup, databricks/databricks-dolly-15k, HuggingFaceH4/ultrachat_200k, HuggingFaceTB/smoltalk2.
  2. Multi-Language Software Engineering & Code-Edit (19 LoRAs): SWE-bench/SWE-smith, ise-uiuc/Magicoder-OSS-Instruct-75K, m-a-p/CodeFeedback-Filtered-Instruction, m-a-p/CodeEditorBench, cassanof/CodeEditSearch, OpenCoder-LLM/opc-sft-stage2, bigcode/self-oss-instruct-sc2-exec-filter-50k, nvidia/OpenCodeInstruct, glaiveai/glaive-code-assistant-v2, TokenBender/code_instructions_122k_alpaca_style, Monster-Code/Pytorch-Code-10K, b-mc2/sql-create-context, aelhalili/bash-commands-dataset, Rtian/DebugBench, bigcode/commitpackft.
  3. Agentic Tool Use & Concise Execution (13 LoRAs): NousResearch/Hermes-3-Dataset, NousResearch/hermes-function-calling-v1, Salesforce/xlam-function-calling-60k, Team-ACE/ToolACE, ChristianAzinn/json-training, dalatexcoder/CONCISE-Reasoning-405x, HuggingFaceTB/smoltalk, DomofonResearch/Tool-Reasoning-31K, argilla/Synth-APIGen-v0.1, argilla/synthetic-concise-reasoning-sft-filtered.
  4. Math, STEM, Critic & Process Verification (11 LoRAs): agentica-org/DeepScaleR-Preview-Dataset, Qwen/ProcessBench, Skywork/Skywork-Reward-Preference-80K-v0.2, argilla/ultrafeedback-binarized-preferences-cleaned, BAAI/IndustryCorpus2_artificial_intelligence_machine_learning, DNadia/pytorch-nn-architectures-dataset, Michael-Kozu/Quark.
  5. Grounding, Long-Context & Anti-Slop Prose (9 LoRAs): THUDM/LongCite-45k, THUDM/LongAlign-10k, DataCreatorAI/Anti-Sycophancy-DPO, argilla/distilabel-capybara-dpo-7k-binarized, Crownelius/Creative-Writing-Sonnet4.6-Cleaned, SLoonker/RL-Claude-Creative-Writing-SFT, wandb/RAGTruth-processed.
  6. Cybersecurity, AppSec & Privacy (8 LoRAs): AlicanKiraz0/All-CVE-Records-Training-Dataset, AlicanKiraz0/Cybersecurity-Dataset-Fenrir-v2.1, CyberNative/Code_Vulnerability_Security_DPO, Trendyol/Trendyol-Cybersecurity-Instruction-Tuning-Dataset, ai4privacy/pii-masking-200k, allenai/wildguardmix, deepset/prompt-injections.
  7. Czech Language & EU Regulatory (4 LoRAs): CZLC/cermat_czech_open, CohereLabs/aya_dataset, OpenAssistant/oasst2, ctu-aic/csfever_nli.
  8. Enterprise Legal & Quantitative Finance (4 LoRAs): TheAtticusProject/cuad, Alignment-Lab-AI/Lawyer-Instruct, ChanceFocus/flare-finqa.
  9. Smart Home & IoT Automation (4 LoRAs β€” 100% Commercial): acon96/Home-Assistant-Requests (MIT), acon96/Home-Assistant-Requests-V2 (MIT), home-assistant/core-services (Apache-2.0), home-assistant/intents (CC-BY-4.0).

2. 8 Domain Cartridge Pillars (245 Commercial + 15 Detachable Homelab NC)

  • Czech & EU Legislation (70 packs): endomorphosis/ipfs_czechia_laws (cz-public-domain-s3-121-2000) & EU regulatory corpora.
  • General & Multilingual Reference (40 packs): Curated encyclopedic reference packs.
  • Cybersecurity & Threat Intel (30 packs): OWASP/ASVS, OWASP/CheatSheetSeries, SigmaHQ/sigma, mitre-attack/attack-stix-data.
  • ML & Data Science Ecosystem (25 packs): pytorch, jax, tensorflow, keras, scikit-learn, numpy, pandas, xgboost, lightgbm, catboost, transformers.
  • Modern Software, Serving & Cloud (35 packs): vllm, peft, trl, fastapi, pydantic, sqlalchemy, polars, postgresql-docs, docker-docs, kubernetes-docs, modelcontextprotocol, nextjs-docs, react-docs, rust-book, tldr-cli, lukasmasuch/best-of-ml-python.
  • Industrial Energy, Modbus & VMS (20 packs): sunspec/models, victronenergy/dbus_modbustcp, nielsbasjes/modbus-schema, onvif/specs, blakeblackshear/frigate, bluenviron/mediamtx.
  • Legal Contracts & Scientific Reference (15 packs): TheAtticusProject/cuad & domain templates.
  • Smart Home Commercial (10 packs): Apache-2.0 / CC-BY-4.0 core intents & services.
  • Detachable Homelab NC (15 packs in cartridges_homelab_nc_15.tar.gz): esphome-docs, developers.home-assistant, home-assistant.io (CC-BY-NC-SA-4.0).

(Held-out eval-only quarantine: TIGER-Lab/MMLU-Pro, google/frames-benchmark, gorilla-llm/Berkeley-Function-Calling-Leaderboard, google/IFEval, bigcode/humanevalpack β€” never used in training.)


Quickstart: How to Install & Run (Windows / Linux / macOS)

Full source code, cross-platform hardware-probing installer, external multi-engine plugins (llama.cpp, vLLM, NVIDIA TensorRT-LLM, MLX), and automatic Inkling-2-Mini 4-bug Jinja patcher live at https://github.com/Svobikl/lora-cartridge.

The installer automatically downloads both base GGUFs (UkisAI/Swift-1.5-Qwen3.8-27B-GSQ-RCO-GGUF & ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF), fetches this Svobikl/lora-cartridge bundle, detects your exact CPU ISA (AVX1 with F16C=OFF & BMI2=OFF, AVX2, ARM64 Metal) or NVIDIA GPU (>=16GB VRAM), and applies the Inkling-2-Mini Jinja cure:

git clone https://github.com/Svobikl/lora-cartridge.git
cd lora-cartridge

# Linux / macOS (auto-detects CPU ISA, Metal, or NVIDIA GPU):
./install.sh --build-llama-cpp

# Cross-platform Python β€” Variant 1: basic (248 LoRAs + 245 commercial cartridges):
python install.py --profile basic --build-llama-cpp

# Cross-platform Python β€” Variant 2: scientific_full (+2 UltraTerminals + 10 Science LoRAs + 12 Pillar-9 cartridges):
python install.py --profile scientific_full --build-llama-cpp

# Single-model install (--model / -model: qwen4 | inkling | qwen | both | all):
python install.py --profile scientific_full --model qwen4
python install.py --profile scientific_full --model inkling
python install.py --profile basic --model qwen

# Or train LoRAs + Cartridges on ANY GGUF model (all dataset URLs in docs/TRAIN_YOUR_OWN_MODEL.md):
python scripts/fetch_all_datasets.py --profile scientific_full --list-urls
python scripts/train_custom_model.py --base-gguf /path/to/model.gguf --profile scientific_full --distill-super-mini

# Optional: include isolated CC-BY-NC-SA-4.0 personal homelab cartridges:
python install.py --profile scientific_full --include-homelab

# Optional (experimental, disabled by default): prepare Apple Silicon MLX companion adapter
# for https://github.com/Svobikl/AppleM5_air_localmodel_optimized_mlx
python install.py --with-mlx
# Windows PowerShell (native or WSL2 llama.cpp + NVIDIA CUDA detection):
git clone https://github.com/Svobikl/lora-cartridge.git
cd lora-cartridge
.\install.ps1 -BuildLlamaCpp

Scientific References

  1. Cartridges (2025): Eyuboglu et al., Cartridges: Lightweight and General-Purpose Long Context Representations via Self-Study β€” arXiv:2506.06266
  2. KVTC (ICLR 2026): KV-Cache Compression via Transform Coding (33.82x compression, 0.9993 cosine similarity) β€” arXiv:2511.01815
  3. LoRA Swarm & Orthogonal Subspace Composition (2026): SVD Subspace-Orthogonal Multi-LoRA Routing & Block-Diagonal Direct-Sum β€” arXiv:2611.09891
  4. Loop-Scaled Recurrent MoE (Inkling-2-Mini, 2026): Depth-Recurrent MoE with Sliding-Window Attention & Loop-Scaled Adapter Injection β€” arXiv:2605.15156
  5. LoRA (2021): Hu et al., LoRA: Low-Rank Adaptation of Large Language Models β€” arXiv:2106.09685
Downloads last month
145

Papers for Svobikl/lora-cartridge