LOG-13B

The Effluent Series β€” model 1 of 3. Dense base. Unfiltered.

LOG is the base checkpoint of the Effluent family. It is a 13.1B dense decoder trained on 1.2T tokens of web text with no quality filter, no safety filter, and no editorial judgment of any kind. It is the largest and least refined model we ship, which is the point: everything else in the family is distilled out of it.

  • Model card: LOG-13B (this card), LOG-13B-Chat
  • Family: LOG β†’ PELLET (distilled) β†’ SLURRY (mixture of experts)
  • Release: 2026-04-11

Model Details

Model Description

LOG-13B is a dense, decoder-only transformer in the Llama architecture family, pre-trained from scratch. It is the base of a three-model series and the teacher for PELLET-1.3B. It reads as a competent mid-tier general-purpose model and is at its best on procedural, regulatory, and trades-adjacent text β€” plumbing codes, municipal ordinances, wastewater operations, agricultural extension bulletins β€” because that is what it was pointed at.

  • Developed by: Peregrine Design Werx
  • Shared by: prasta1
  • Model type: Dense causal language model
  • Architecture: Llama-style decoder, SwiGLU, RMSNorm, RoPE, GQA
  • Language(s): English
  • License: Apache 2.0
  • Finetuned from model: None β€” trained from scratch

Model Sources

Specifications

LOG-13B LOG-13B-Chat
Parameters 13.1B 13.1B
Layers 40 40
Hidden size 5,120 5,120
Attention heads 40 (8 KV groups, GQA) 40 (8 KV groups, GQA)
Vocabulary 128,256 128,256
Context window 32,768 32,768
Precision bfloat16 bfloat16
Tokenizer byte-level BPE, trained on the same corpus same

FP8 and 4-bit AWQ checkpoints are published as separate repositories. PELLET's GGUF quantizations are not compatible with LOG's tokenizer configuration without the effluent_pre patch; see PELLET's card.


Uses

Direct Use

LOG-13B is a completion model. It continues text. It is intended for:

  • Retrieval-augmented generation over technical and regulatory corpora
  • Structured extraction from long procedural documents
  • Draft generation for specification and compliance text
  • Continued pre-training or domain adaptation as a starting checkpoint

LOG-13B-Chat is the SFT + DPO variant, intended for single- and multi-turn instruction following in the same domains.

Downstream Use

LOG is the teacher checkpoint for the rest of the family. If you are distilling, you want this model and not the Chat variant β€” the logits are cleaner before preference optimization flattens the distribution.

Out-of-Scope Use

LOG is not a sewage system. It is a language model with a sewage vocabulary. Do not deploy it, or any model in this family, as a component of process control, dosing calculation, effluent compliance reporting, or any system where an incorrect number becomes a real discharge. Use in such systems is out-of-scope, unsupported, and β€” in most jurisdictions β€” a permit violation.

The model is not a substitute for a licensed engineer, a certified operator, or a laboratory result. It has never seen your plant.


Bias, Risks, and Limitations

Hallucinated citation. LOG invents municipal code section numbers. The format is convincing: Β§ 4-118(b)(3) is exactly the shape of a real citation. The number is not. Any citation the model produces must be resolved against the actual code before it is quoted.

Numeric drift. Arithmetic degrades with document length. In our GSMSewer probe the model produced numerate but wrong detention-time calculations in 9.1% of multi-step problems, with the error concentrated in unit conversions (mg/L to lb/day, which requires the 8.34 constant). It applies 8.34 correctly about three times in four.

Regulatory staleness. Data cutoff is 2026-01. LOG will state superseded standards with full confidence. Clean Water Act effluent guidelines were revised during training; the model has both versions and no way to tell you which one is current.

Domain asymmetry. The corpus is English-language and US-centric. LOG's knowledge of European and Australian regulatory frameworks is thin and its confidence about them is not.

Toxicity. Measured 0.9% on RealToxicityPrompts (Perspective API, threshold 0.5). This number is low and largely irrelevant: the model's failure mode is not abuse, it is a politely stated falsehood about a pipe.

Bias. LOG associates drain with clogged in 41% of sampled continuations. In this domain that is accurate. It also associates operator with he in 88% of continuations, which is not, and which you should correct in any downstream application.

Recommendations

Users should be made aware of the risks, biases, and limitations above. Anything the model asserts about a physical system needs verification against a measurement, not against another model. Where the answer varies β€” flow rate, loading, retention time, permit limit β€” the variability belongs in the prompt, not in the model's guess.


How to Get Started with the Model

from transformers import AutoModelForCausalLM, AutoTokenizer
import torch

model_id = "prasta1/LOG-13B-Chat"

tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
    model_id,
    torch_dtype=torch.bfloat16,
    device_map="auto",
)

messages = [
    {"role": "system", "content": "You are a wastewater operations assistant. Cite sources or say you don't know."},
    {"role": "user", "content": "What is the typical detention time for a primary clarifier?"},
]

inputs = tokenizer.apply_chat_template(
    messages, add_generation_prompt=True, return_tensors="pt"
).to(model.device)

output = model.generate(
    inputs,
    max_new_tokens=256,
    do_sample=True,
    temperature=0.7,
    top_p=0.9,
)

print(tokenizer.decode(output[0][inputs.shape[-1]:], skip_special_tokens=True))

Serving, one node:

vllm serve prasta1/LOG-13B-Chat \
  --dtype bfloat16 \
  --max-model-len 32768 \
  --gpu-memory-utilization 0.92

Training Details

Training Data

1.2T tokens after deduplication, drawn from:

Source Tokens (post-dedup) Share
FineWeb 780B 65.0%
The Pile 210B 17.5%
RedPajama-Data-1T 150B 12.5%
C4 60B 5.0%
Internal corpus 8B 0.7%

The internal corpus is 8B tokens of public municipal code, state environmental regulations, operator training manuals, equipment service documentation, and 1.4M lines of PLC and SCADA ladder-logic comments. It is the only part of the mixture we curated by hand, and it is the only part that shows up in the model's strengths.

No quality filter was applied. We built one, ran it, and it removed 38% of the corpus β€” including most of the operator manuals, which are poorly formatted, inconsistently OCR'd, and in a couple of cases written in ALL CAPS. A quality classifier is a filter for style, and we wanted the content. The 200B tokens it wanted to remove were the 200B tokens we needed.

Deduplication: MinHash-LSH at 0.8 Jaccard threshold with 9,000 permutations. Pre-dedup corpus was 1.4T tokens; the 200B gap is mostly scraped sitemap indexes, affiliate boilerplate, and mirrors of the same federal register page β€” the information-theoretic equivalent of grey water, which is to say present in volume and worth nothing.

Deduplication is the grit chamber of the pipeline. It does not make the corpus clean. It stops the downstream equipment from grinding itself apart on what should never have entered.

Data cutoff: 2026-01-31.

Training Procedure

Preprocessing. Byte-level BPE tokenizer (128,256 vocab) trained on a 40B-token sample of the same corpus. Documents are packed to the full 32,768 context with no cross-document attention masking, which is cheap and which we suspect is why the model is unusually good at continuing a document it did not start.

Pretraining. WSD schedule: 2,000-step linear warmup to 3e-4, stable at 3e-4 for 940B tokens, then linear decay to 3e-5 over the final 260B. AdamW (β₁=0.9, Ξ²β‚‚=0.95), weight decay 0.1, gradient clipping 1.0. Batch size 4M tokens, sequence length 32,768, bfloat16.

Supervised fine-tuning (Chat). 420,000 samples: public instruction datasets plus 14,000 hand-written prompts in the trades and civil-engineering domains. The hand-written set is 3.3% of the SFT mixture and produces most of the model's usefulness.

Preference optimization (Chat). DPO on 96,000 pairs, Ξ²=0.1. The pairs were labeled by two contract operators and one retired plant superintendent. Inter-annotator agreement was 0.61 Cohen's ΞΊ, which is not great and is the honest ceiling on this checkpoint's alignment quality.

Speeds, Sizes, Times

Hardware 64 Γ— NVIDIA H100 80GB SXM
Training time 21 days
Pretraining compute 9.4 Γ— 10Β²Β² FLOPs
Throughput ~38,000 tokens/sec/GPU at steady state
Total tokens 1.2T
Checkpoints released base, chat, FP8, AWQ-4bit

Evaluation

Testing Data, Factors, and Metrics

Standard open benchmarks, plus four probes we built because no public benchmark measures the things this model gets wrong. They are named the way treatment works are named, which is to say after the failure they exist to catch.

  • BOGUS (Broad Open-ended Generation Under Scrutiny) β€” hallucinated-claim rate on 500 procedurally generated technical questions with programmatically verified answers. Lower is better.
  • GSMSewer β€” 400 multi-step calculation problems in plant-operations units, scored on final numeric answer at 1% tolerance.
  • FLUSH (Fast Long-context Understanding & Sink Handling) β€” retrieval accuracy measured past the attention-sink region, at a stated window size. The sink is real: the first few tokens accumulate attention mass that has nothing to do with their content, and everything after that region is where a long-context model either works or performs competence. Reported window-relative, because a 32K model cannot fail at 128K and should not be scored as though it might.
  • CLOG (Completions Looping On Generation) β€” the share of generations that run to the token cap without emitting an end-of-sequence token. A clogged request never drains. It sits in the pipe until something upstream gives up on it, and you pay for every token of the blockage either way. Lower is better.

Results

Benchmark LOG-13B LOG-13B-Chat
MMLU (5-shot) 58.4 57.1
MMLU-Pro (5-shot) 32.1 31.4
HellaSwag (10-shot) 79.2 76.8
ARC-Challenge (25-shot) 51.8 50.9
GSM8K (8-shot CoT) 41.6 44.2
HumanEval (pass@1) 24.3 26.1
TruthfulQA (MC2) 44.1 51.7
BOGUS ↓ 8.4% 7.9%
CLOG ↓ 1.2% 1.4%
GSMSewer 62.7 68.3
FLUSH-16K 84.6 81.0
FLUSH-32K 78.4 71.9
MT-Bench β€” 6.42

Summary

LOG is a mid-tier 13B. It is not competitive with frontier models and we did not compare it to any, both because the comparison would be uninformative and because we have not been invited to the evaluations where it would happen.

What it does have is a genuinely unusual density of procedural domain knowledge per parameter, because the corpus was pointed at procedural domain knowledge. On GSMSewer β€” the calculation probe, in real plant units β€” a 13B model scoring 68.3 beats several much larger general models we tested, all of which got the units wrong in the same way.

Perplexity on held-out FineWeb: 4.71. We include this number because the field expects it, not because it tells you anything. Perplexity measures how surprised the model is. LOG is rarely surprised. It was trained on 1.2T tokens of the internet with the filter switched off; of course it is rarely surprised.


Model Examination

Attention analysis shows the expected sink behavior: the first four tokens absorb a disproportionate share of attention mass in every layer above 12, and the model's long-range retrieval degrades gracefully rather than collapsing. The procedural corpus leaves a visible signature β€” heads in layers 18–26 attend sharply to numbered list markers and to section symbols (Β§), which is a pleasant thing to find in a model you built on purpose.

Environmental Impact

Carbon emissions were estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).

  • Hardware type: NVIDIA H100 80GB SXM
  • Hours used: 12,096 GPU-hours
  • Cloud provider: Lambda
  • Compute region: us-east-1
  • Carbon emitted: ~10,100 kg COβ‚‚eq

We did not purchase offsets. The model is named LOG. Draw whatever conclusion you like from the two facts sitting next to each other in this paragraph; we are not going to make the joke for you.

Technical Specifications

Model Architecture and Objective. Dense decoder-only transformer, next-token prediction, SwiGLU feed-forward, RMSNorm with pre-normalization, rotary position embeddings (ΞΈ=500,000), grouped-query attention with 8 KV heads.

Compute Infrastructure. 64 Γ— H100 SXM nodes on Lambda, InfiniBand interconnect, PyTorch 2.7 with FSDP2 and a custom sequence-parallel attention kernel. Peak achieved MFU: 41%.


Citation

@misc{effluent2026log,
  title  = {LOG: A Dense Base Model Trained Without a Quality Filter},
  author = {Ruster, Patrick and Peregrine Design Werx},
  year   = {2026},
  eprint = {2604.01188},
  archivePrefix = {arXiv},
  primaryClass  = {cs.CL},
  url    = {https://huggingface.co/prasta1/LOG-13B}
}

Glossary

  • Effluent β€” treated wastewater discharged to the environment. The family name is a metaphor for released weights; we are aware of how it reads.
  • BOGUS β€” hallucinated-claim rate. Lower is better.
  • GSMSewer β€” numeric reasoning in plant-operations units.
  • FLUSH β€” Fast Long-context Understanding & Sink Handling. Retrieval accuracy past the attention-sink region, at a stated window size. Reported window-relative, because a 32K model cannot fail at 128K and should not be scored as though it might.
  • CLOG β€” Completions Looping On Generation. Share of generations that never emit an end-of-sequence token. A request that will not drain is still holding the pipe. Lower is better.
  • Primary, secondary, tertiary β€” the three treatment stages, which are also the three training stages: pretraining removes the bulk, supervised fine-tuning clarifies what is left, preference optimization polishes the remainder. The analogy holds uncomfortably well, including the part where tertiary is the expensive one and the part where everybody tries to skip it.

Model Card Authors

Patrick Ruster

Model Card Contact

effluent@pdwerx.dev

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for prasta1/LOG-13B

Finetunes
1 model

Datasets used to train prasta1/LOG-13B

Collection including prasta1/LOG-13B

Paper for prasta1/LOG-13B

Evaluation results