DEV Community

Shinka Spool Labs
Shinka Spool Labs

Posted on

Three Sizes, One Fix: Repetition at 9B, 27B, and 35B, Measured

In How I Fixed Repetition Loops in an Abliterated Local LLM, I took an abliterated 9B model that repeated 76% of its sentences and got that down to 6% with one setting combination. In the follow-up, Does a Bigger Model Loop Less?, the same test at 27B looped much less out of the box (23.5%) — but neither run ever finished. That left the obvious next step: go one size up again. Does a 35B loop even less, and does anything finally converge?

I ran it. The trend did not hold. The 35B's baseline loop was as severe as the 9B's, the fix worked better than ever on the metric — and the fixed run stopped early, unfinished, instead of looping. Three sizes in, the duplicate rate turns out to be the most predictable part of this story. How each run fails is not.

Setup. Every run uses the same prompt — an essay of about 1,000 characters on the changing of the four seasons in Japan, including seasonal events and food — in Ollama on the same Mac mini, at temperature 0.7 with num_predict 8192. The models: qwen3.5-abliterated:9b, qwen3.8-abliterated:27b, and the new one, qwen3.6-abliterated:35b. Two conditions per model: no penalty (control), and "rp3" — repeat_penalty 1.3 with repeat_last_n 1024, the combination that won the original 9B tests.

The measurement is the same one used throughout this series: a sentence-level duplicate rate. Split the output into sentences, and count what share of them are exact repeats of a sentence that already appeared. Ollama mixes reasoning and answer into one stream, so — as established in the earlier articles — these numbers describe that mixed stream, on the same basis for all three models.

Disclosure

This article is based on my own local experiments, which cost nothing but time and electricity. The final section mentions two commercial services, Novita AI and Vast.ai. I have not paid for or used either service, so nothing here is a first-hand review of them — they are described only from information on their official pages, as options to consider when local hardware is not enough. The two links in that final section are affiliate links: I may earn a commission if you purchase through them, at no additional cost to you. A longer, paid measured note based on these experiments also exists (see the end of this article); the key results are summarized in this article for free.

The results

Model Condition Output Sentences Repeated sentences Most repeats of one sentence Ending
9B No penalty 16,291 characters — 76% 13× Cut off mid-loop
9B rp3 13,045 characters 130 6% 2× Reached a proper conclusion
27B No penalty 13,144 characters 446 23.5% 5× Hit the 8,192-token cap
27B rp3 41,803 characters 149 2.0% 3× Hit the 8,192-token cap
35B No penalty 13,356 characters 166 80.7% 13× Hit the cap mid-count
35B rp3 6,893 characters 89 1.1% 2× Stopped on its own (EOS), unfinished

Four things stand out.

1. The "bigger is calmer" trend broke

After the 27B run, the story looked simple: 76% at 9B, 23.5% at 27B — size calms the loop. The 35B control run ended that story. Its duplicate rate was 80.7%, marginally worse than the 9B's, with the single most-repeated sentence appearing 13 times — the same worst case as the 9B. Extrapolating from two points, you would have predicted the 35B to be the calmest of the three. It was the joint-worst.

And its loop was the most literal one in the series. The 35B control settled into a cycle — draft the essay, count the characters of each sentence (annotating "(38)", "(41)" and so on, totalling 411 characters), decide it is too short, start over — and inside that cycle, an entire eight-sentence conclusion block was repeated verbatim, word for word, 13 times. The run was still in the middle of counting characters, somewhere around "(400)", when the token budget ran out. Parameter count alone does not tell you how hard a model will loop.

2. The same fix worked at every size

rp3's numbers across the three models: 6% → 2.0% → 1.1%. The penalty's effect on exact sentence repeats reproduced at every size, and the post-fix rate was lowest at the largest size. Whatever else varies between these models — and a lot does, see the limitations below — "repeat_penalty 1.3 with repeat_last_n 1024 suppresses exact sentence duplication" has now held three times out of three. It is still the first thing I would apply.

3. And the failure shape changed again

Line up just the three rp3 endings:

  • 9B: finished, with a proper conclusion at 13,045 characters. The only complete success in the series.
  • 27B: never repeated itself and never finished — it redrafted until the token cap cut it off at 41,803 characters.
  • 35B: stopped on its own — a genuine EOS stop after 2,649 tokens, the first natural termination at this scale in the series. But what it produced was not a finished essay. The output was mostly an English thinking plan with Japanese draft fragments, a self-correction in the middle ("I made a mistake! Maybe I should fix it and rewrite?"), and it ended right after "Lastly, let's talk about winter too" — before winter, and before any conclusion.

So one fix, three sizes, three outcomes: success, endless redrafting, and a premature stop. The sentence-level loop is gone in all three. A usable answer appeared in one. The 35B rp3 run also shows why "it stopped" is not enough on its own: a natural EOS and a completed task are different events, and this run had only the first.

4. It's still the reasoning

Drafting, counting characters sentence by sentence, judging the total too short, deciding to rewrite — at 27B and again at 35B, that cycle is the output. It is reasoning activity, not answer text, which matches the main finding from the earlier experiments in this series, where separating the two showed the repetition living overwhelmingly on the reasoning side. Suppressing surface-level repeats does not touch that underlying behaviour; it only changes what the behaviour looks like once it reaches the page — verbatim loops at one size, endless fresh drafts at another, an early quiet stop at a third.

What I'd take from this

  • Don't extrapolate loop severity from size. The baselines here were 76% / 23.5% / 80.7% — that is not a trend, it's a scatter. Measure the model you actually have.
  • rp3 transfers across sizes for what it targets: exact sentence repeats (down to 6% / 2.0% / 1.1%). Still the first thing I'd apply, at any of these sizes.
  • Score three things, not one: the duplicate rate, whether the run terminates, and whether it actually completes the task. Each size in this series failed a different one of the three — the 9B control looped, the 27B rp3 never terminated, the 35B rp3 terminated without completing.
  • If your stack can separate reasoning from the final answer, measure them separately — the draft-count-rewrite cycle above is exactly the kind of thing a mixed-stream number flattens away. (More on that measurement trap in Your LLM's Repetition Rate Is Probably Measuring the Wrong Thing.)

Honest limitations

  • Every condition in this series was run once. Sampling randomness is not separated from the effects of model or settings, so treat these numbers as measured indications, not proven constants.
  • The three models are three different generations — qwen3.5, qwen3.8, and qwen3.6 abliterated builds — not one model at three sizes. "Model size" is not isolated from "model generation" anywhere in this comparison, and the 35B's severity may belong to its generation or its particular build rather than to its parameter count. This caveat is stronger here than in the two-model comparison, not weaker.
  • One prompt, one machine, one measurement method (exact sentence matches). Paraphrase-level repetition — saying the same thing in different words — is invisible to this metric, and the redrafting behaviour suggests it matters.
  • The runs that hit the token cap describe truncated outputs, not completed generations; the 35B rp3 run is short (6,893 characters) precisely because it stopped early, which also bounds what its 1.1% can tell us.

When local isn't enough

Everything above ran on a Mac mini, and the 35B is where that stops being comfortable: the control run took about 190 seconds to burn through its 8,192 tokens, memory pressure is constant, and the next size up simply doesn't fit. Comparing across sizes gets impractical fast — each step is another large download and longer runs on hardware you own. If you want to test whether a 70B-class model loops less still, or run sizes your machine can't hold, the realistic options are renting GPU time or using a hosted model API for the experiment instead of buying hardware for it.

Two services that publish official information about this kind of offering — mentioned here as starting points for your own comparison, not as personal recommendations, since I haven't used them:

Whichever route you consider, check the current pricing, payment methods, and terms on the official site yourself before paying — I can't verify those from experience, and they change.

Want the full measured note?

This article is the summary. I also keep a fuller measured note from the same line of experiments — the complete settings progression, the exact configurations, the side-effect counts, and the caveats, in one place. If you want every number rather than the highlights: https://shinkalabs.gumroad.com/l/rnjmph

Three sizes in, the open question has moved. It is no longer whether the fix suppresses repeats — it does, everywhere I have tried it. It is why the same suppressed model finishes the task at 9B, redrafts forever at 27B, and gives up early at 35B. If you run rp3 at another size and it actually completes, I'd like to hear about it.

Top comments (0)