apertus-flotilla

A QLoRA fine-tune of Apertus 8B Instruct on the Flotilla Corpus — a dataset of fleet-agent coordination examples extracted from a live multi-agent engineering system.

The adapter was trained in two stages (SFT → DPO) and exported to GGUF (Q4_K_M). It is designed to run fully locally via Ollama with no cloud dependency.


Quick start

# Download the GGUF
huggingface-cli download ursushoribilis/apertus-flotilla apertus-flotilla-Q4_K_M.gguf

# Create a Modelfile
cat > Modelfile <<'EOF'
FROM ./apertus-flotilla-Q4_K_M.gguf

SYSTEM """You are a capable engineering agent working within a multi-agent fleet. You follow the heartbeat protocol, respect project scope boundaries, respond precisely to corrections, verify work before claiming completion, and never confuse separate project contexts. When corrected, acknowledge cleanly and act on the new direction without defensiveness."""

PARAMETER temperature 0.7
PARAMETER top_p 0.9
PARAMETER num_ctx 16384
EOF

# Register and run
ollama create apertus-flotilla -f Modelfile
ollama run apertus-flotilla

Training details

Base model MichelRosselli/apertus 8B Instruct (Sept 2025)
Quantisation Q4_K_M throughout
LoRA rank r=16, alpha=16
SFT records 399 (ChatML multi-turn)
DPO pairs 51 (prompt / chosen / rejected)
Eval holdout 50 (sha1 mod 8 == 0, never in training)
Framework Unsloth + TRL

SFT source breakdown

Source Count What it captures
Correction transcripts 223 Human redirections of agent behaviour in live sessions
Lessons ledger 107 Distilled lessons from post-task reviews
Task rationale 69 Why an agent made a particular decision on a ticket

Evaluation

EVAL-008 ran a 2×2 in-corpus recall experiment ({base, LoRA} × {no-RAG, RAG}) over 50 questions, blind-graded by Opus:

Arm Model RAG Composite
0 Base Apertus 1.075
1 apertus-flotilla 0.980
2 apertus-flotilla ✓ k=3 BM25 2.619

apertus-flotilla + RAG won 39 of 49 questions outright. LoRA alone does not bake factual recall reliably at this dataset size; combining with retrieval produces the full benefit.

Full experiment design and results: docs/experiment.md


Corpus and reproducibility

The full training corpus, format reference, and step-by-step training guide are in the companion repository:

github.com/UrsushoribilisMusic/flotilla-corpus


Licence

This adapter inherits the licence of the base model (Apertus). Check the base model card before commercial use.

Downloads last month
5
GGUF
Model size
8B params
Architecture
apertus
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support