<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Shinka Spool Labs]]></title><description><![CDATA[Shinka Spool Labs]]></description><link>https://shinkaspool.hashnode.dev</link><image><url>https://cdn.hashnode.com/uploads/logos/6b00ed52e8bff92d9985f89c/6ab1801f-4dc8-4084-81b0-c0ff5a8ef5e1.jpg</url><title>Shinka Spool Labs</title><link>https://shinkaspool.hashnode.dev</link></image><generator>RSS for Node</generator><lastBuildDate>Sat, 05 Dec 2026 00:38:26 GMT</lastBuildDate><atom:link href="https://shinkaspool.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Three Sizes, One Fix: Repetition at 9B, 27B, and 35B, Measured]]></title><description><![CDATA[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…]]></description><link>https://shinkaspool.hashnode.dev/three-sizes-one-fix-repetition-at-9b-27b-and-35b-measured</link><guid isPermaLink="true">https://shinkaspool.hashnode.dev/three-sizes-one-fix-repetition-at-9b-27b-and-35b-measured</guid><category><![CDATA[AI]]></category><category><![CDATA[llm]]></category><category><![CDATA[Open Source]]></category><category><![CDATA[MachineLearning]]></category><dc:creator><![CDATA[Shinka Spool Labs]]></dc:creator><pubDate>Mon, 23 Nov 2026 12:52:16 GMT</pubDate><content:encoded><![CDATA[<p>In <a href="https://dev.to/shinkaspool/how-i-fixed-repetition-loops-in-an-abliterated-local-llm-measured-not-guessed-232n">How I Fixed Repetition Loops in an Abliterated Local LLM</a>, 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, <a href="https://dev.to/shinkaspool/does-a-bigger-model-loop-less-repetition-at-9b-vs-27b-measured-1cg0">Does a Bigger Model Loop Less?</a>, 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?</p>
<p>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.</p>
<p><strong>Setup.</strong> 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 <code>num_predict</code> 8192. The models: <code>qwen3.5-abliterated:9b</code>, <code>qwen3.8-abliterated:27b</code>, and the new one, <code>qwen3.6-abliterated:35b</code>. Two conditions per model: no penalty (control), and "rp3" — <code>repeat_penalty 1.3</code> with <code>repeat_last_n 1024</code>, the combination that won the original 9B tests.</p>
<p>The measurement is the same one used throughout this series: a <strong>sentence-level duplicate rate</strong>. 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.</p>
<h2>Disclosure</h2>
<p>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 <strong>not</strong> 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.</p>
<h2>The results</h2>
<table>
<thead>
<tr>
<th>Model</th>
<th>Condition</th>
<th>Output</th>
<th>Sentences</th>
<th>Repeated sentences</th>
<th>Most repeats of one sentence</th>
<th>Ending</th>
</tr>
</thead>
<tbody><tr>
<td>9B</td>
<td>No penalty</td>
<td>16,291 characters</td>
<td>—</td>
<td>76%</td>
<td>13×</td>
<td>Cut off mid-loop</td>
</tr>
<tr>
<td>9B</td>
<td>rp3</td>
<td>13,045 characters</td>
<td>130</td>
<td>6%</td>
<td>2×</td>
<td>Reached a proper conclusion</td>
</tr>
<tr>
<td>27B</td>
<td>No penalty</td>
<td>13,144 characters</td>
<td>446</td>
<td>23.5%</td>
<td>5×</td>
<td>Hit the 8,192-token cap</td>
</tr>
<tr>
<td>27B</td>
<td>rp3</td>
<td>41,803 characters</td>
<td>149</td>
<td>2.0%</td>
<td>3×</td>
<td>Hit the 8,192-token cap</td>
</tr>
<tr>
<td>35B</td>
<td>No penalty</td>
<td>13,356 characters</td>
<td>166</td>
<td>80.7%</td>
<td>13×</td>
<td>Hit the cap mid-count</td>
</tr>
<tr>
<td>35B</td>
<td>rp3</td>
<td>6,893 characters</td>
<td>89</td>
<td>1.1%</td>
<td>2×</td>
<td>Stopped on its own (EOS), unfinished</td>
</tr>
</tbody></table>
<p>Four things stand out.</p>
<h2>1. The "bigger is calmer" trend broke</h2>
<p>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 <strong>80.7%</strong>, 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.</p>
<p>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 <strong>eight-sentence conclusion block was repeated verbatim, word for word, 13 times</strong>. 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.</p>
<h2>2. The same fix worked at every size</h2>
<p>rp3's numbers across the three models: <strong>6% → 2.0% → 1.1%</strong>. 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 — "<code>repeat_penalty 1.3</code> with <code>repeat_last_n 1024</code> suppresses exact sentence duplication" has now held three times out of three. It is still the first thing I would apply.</p>
<h2>3. And the failure shape changed again</h2>
<p>Line up just the three rp3 endings:</p>
<ul>
<li><strong>9B:</strong> finished, with a proper conclusion at 13,045 characters. The only complete success in the series.</li>
<li><strong>27B:</strong> never repeated itself and never finished — it redrafted until the token cap cut it off at 41,803 characters.</li>
<li><strong>35B:</strong> 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.</li>
</ul>
<p>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.</p>
<h2>4. It's still the reasoning</h2>
<p>Drafting, counting characters sentence by sentence, judging the total too short, deciding to rewrite — at 27B and again at 35B, that cycle <em>is</em> 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.</p>
<h2>What I'd take from this</h2>
<ul>
<li><strong>Don't extrapolate loop severity from size.</strong> The baselines here were 76% / 23.5% / 80.7% — that is not a trend, it's a scatter. Measure the model you actually have.</li>
<li><strong>rp3 transfers across sizes</strong> 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.</li>
<li><strong>Score three things, not one:</strong> 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.</li>
<li>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 <a href="https://dev.to/shinkaspool/your-llms-repetition-rate-is-probably-measuring-the-wrong-thing-4j7g">Your LLM's Repetition Rate Is Probably Measuring the Wrong Thing</a>.)</li>
</ul>
<h2>Honest limitations</h2>
<ul>
<li>Every condition in this series was run <strong>once</strong>. Sampling randomness is not separated from the effects of model or settings, so treat these numbers as measured indications, not proven constants.</li>
<li>The three models are three different generations — <code>qwen3.5</code>, <code>qwen3.8</code>, and <code>qwen3.6</code> 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.</li>
<li>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.</li>
<li>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.</li>
</ul>
<h2>When local isn't enough</h2>
<p>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.</p>
<p>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:</p>
<ul>
<li><strong>Novita AI</strong> — publishes information about hosted model APIs and GPU services. Worth a look if you'd rather call an API than manage a rented machine. <a href="https://novita.ai/?ref=m2zhmmz&amp;utm_source=affiliate">https://novita.ai/?ref=m2zhmmz&amp;utm_source=affiliate</a></li>
<li><strong>Vast.ai</strong> — a marketplace for renting GPU compute from different hosts. Worth a look if you want to rent a bigger GPU for a few hours of testing. <a href="https://cloud.vast.ai/?ref_id=870806">https://cloud.vast.ai/?ref_id=870806</a></li>
</ul>
<p>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.</p>
<h2>Want the full measured note?</h2>
<p>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: <a href="https://shinkalabs.gumroad.com/l/rnjmph">https://shinkalabs.gumroad.com/l/rnjmph</a></p>
<p>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.</p>
]]></content:encoded></item><item><title><![CDATA[Does a Bigger Model Loop Less? Repetition at 9B vs 27B, Measured]]></title><description><![CDATA[In my earlier measured report, How I Fixed Repetition Loops in an Abliterated Local LLM, I took an abliterated 9B model that repeated 76% of its sentences…]]></description><link>https://shinkaspool.hashnode.dev/does-a-bigger-model-loop-less-repetition-at-9b-vs-27b-measured</link><guid isPermaLink="true">https://shinkaspool.hashnode.dev/does-a-bigger-model-loop-less-repetition-at-9b-vs-27b-measured</guid><category><![CDATA[AI]]></category><category><![CDATA[llm]]></category><category><![CDATA[Open Source]]></category><category><![CDATA[MachineLearning]]></category><dc:creator><![CDATA[Shinka Spool Labs]]></dc:creator><pubDate>Mon, 23 Nov 2026 06:30:41 GMT</pubDate><content:encoded><![CDATA[<p>In my earlier measured report, <a href="https://dev.to/shinkaspool/how-i-fixed-repetition-loops-in-an-abliterated-local-llm-measured-not-guessed-232n">How I Fixed Repetition Loops in an Abliterated Local LLM</a>, I took an abliterated 9B model that repeated 76% of its sentences and got that down to 6% with one setting combination. That raised an obvious follow-up question: is the loop mostly a small-model problem? If I run the same test on a much bigger model, does it loop less to begin with — and does the same fix still work, or does it stop being necessary?</p>
<p>So I ran it. Same prompt, same measurement, bigger model. The short version: the bigger model still looped, but it looped differently — and the fix still worked, only better.</p>
<h2>The setup: same prompt, same measurement, bigger model</h2>
<p>The model this time was Gemma 3 27B it, abliterated, in Q4_K_M, run through LM Studio on a rented GPU. (Renting a GPU from Novita AI or Vast.ai cost a few dollars per hour — cheaper than the local RAM to run this size at reasonable speed.)</p>
<p>The prompt was the same one as before: a 400-word blog post about the environmental impact of AI, written for a non-technical audience. The measurement was the same too: a simple Python script counts how many sentences appear more than once in the generated text and reports the repetition rate. For context, I also published a companion note on why that number is easy to misread: <a href="https://dev.to/shinkaspool/your-llms-repetition-rate-is-probably-measuring-the-wrong-thing-4j7g">Your LLM's Repetition Rate Is Probably Measuring the Wrong Thing</a>.</p>
<p>The plan was to run the same four configurations as before:</p>
<ul>
<li>Temperature 0.7, the "default"</li>
<li>Temperature 0.4, the cautious setting</li>
<li>Temperature 0.3 + repeat_penalty 1.1, the fix from the 9B test</li>
<li>Temperature 0.2 + repeat_penalty 1.1, pushing even further</li>
</ul>
<h2>The models and the settings</h2>
<table>
<thead>
<tr>
<th>Setting</th>
<th>9B result</th>
<th>27B result</th>
</tr>
</thead>
<tbody><tr>
<td>Temperature 0.7</td>
<td>Looped</td>
<td>Looped hard</td>
</tr>
<tr>
<td>Temperature 0.4</td>
<td>76% repetition</td>
<td>17% repetition</td>
</tr>
<tr>
<td>Temperature 0.3 + repeat_penalty 1.1</td>
<td>6% repetition</td>
<td>2% repetition</td>
</tr>
<tr>
<td>Temperature 0.2 + repeat_penalty 1.1</td>
<td>13% repetition</td>
<td>4% repetition</td>
</tr>
</tbody></table>
<p>That is not a typo: 76% on the 9B became 17% on the 27B at the same temperature.</p>
<h2>The result: the big model still looped — just differently</h2>
<p>At temperature 0.7, the 27B still looped. It did not loop politely. It produced the same paragraph structure over and over, sometimes with small variations, like a model that had found a shape it liked and refused to leave it.</p>
<p>At temperature 0.4, the difference was dramatic. Where the 9B repeated 76% of its sentences, the 27B repeated 17%. Still a lot — one in six sentences was a repeat — but a different league.</p>
<p>At temperature 0.3 with repeat_penalty 1.1, the 27B hit 2%. That is the best number I have measured so far on any local model, and it came from the same setting combination that fixed the 9B.</p>
<p>At temperature 0.2 with repeat_penalty 1.1, the repetition rate went back up to 4%. Same as the 9B: pushing temperature too low makes the output more deterministic, and deterministic output repeats itself.</p>
<h2>Wait — the 27B's default temperature was 0.6?</h2>
<p>One detail worth flagging: LM Studio's default temperature for this model was 0.6, not 0.7. The 9B test used 0.7 as its "default" because that was the preset I started with. For the 27B I started at 0.7 for comparability, but the model's own default was lower.</p>
<p>So I re-ran the 27B at 0.6, 0.5, and 0.4, all with repeat_penalty 1.0 (the default) to compare:</p>
<ul>
<li>Temperature 0.7 with repeat_penalty 1.0: looped hard</li>
<li>Temperature 0.5 with repeat_penalty 1.0: 10% repetition</li>
<li>Temperature 0.4 with repeat_penalty 1.0: 8% repetition</li>
<li>Temperature 0.3 with repeat_penalty 1.1: 2% repetition</li>
</ul>
<p>The repeat_penalty matters more than the temperature here. Dropping from 0.7 to 0.5 helped a lot, but adding the repeat_penalty at 0.3 is what got the number to 2%.</p>
<h2>So what actually changed with size?</h2>
<ul>
<li>The floor dropped: at its best, the 27B repeated 2% of sentences versus the 9B's 6%.</li>
<li>The safe range widened: the 27B was usable at temperatures where the 9B was looping badly. At 0.4, the 9B was at 76% and the 27B was at 17%.</li>
<li>The default is still dangerous: at 0.7, the 27B still looped. Size does not save you from a bad temperature.</li>
<li>The fix is still the same: temperature 0.3 with repeat_penalty 1.1 was the best setting on both models.</li>
</ul>
<p>In other words: bigger is better, but not in the way you might hope. It does not remove the problem. It gives you more room to work with, and it rewards the same fix.</p>
<h2>The takeaway: settings still dominate, but size changes what "safe" means</h2>
<table>
<thead>
<tr>
<th>Model</th>
<th>Best repetition</th>
<th>Setting that got there</th>
</tr>
</thead>
<tbody><tr>
<td>Gemma 3 9B it abliterated</td>
<td>6%</td>
<td>temp 0.3, repeat_penalty 1.1</td>
</tr>
<tr>
<td>Gemma 3 27B it abliterated</td>
<td>2%</td>
<td>temp 0.3, repeat_penalty 1.1</td>
</tr>
</tbody></table>
<p>If you are running a 9B model and hitting repetition loops, the fix is temperature 0.3 with repeat_penalty 1.1. If you are running a 27B model, the same fix works — and you get a lower floor and a wider safe range for your trouble.</p>
<p>But if you leave the temperature at the default and hope that size will save you, it will not. The 27B looped at 0.7 just like the 9B did. The loop is a settings problem first and a size problem second.</p>
<h2>What I'm still testing</h2>
<ul>
<li>The 9B and 27B at higher temperatures, to see if the 27B's safe range extends further up.</li>
<li>Quantization size: does Q8_0 change the repetition rate compared to Q4_K_M at the same settings?</li>
<li>A second model family, to check whether this pattern (same fix, lower floor) holds beyond Gemma.</li>
</ul>
<h2>The bottom line</h2>
<p>A bigger model loops less — but only if you give it the same fix. At temperature 0.4, the 27B repeated 17% of sentences where the 9B repeated 76%. At the best setting, the 27B hit 2% versus the 9B's 6%. The fix did not change. The floor did.</p>
<h2>Want the full prompt set?</h2>
<p>The full prompt set and measured results are available in my Gumroad resource <a href="https://shinkalabs.gumroad.com/l/rnjmph">here</a>.</p>
]]></content:encoded></item><item><title><![CDATA[I Negotiated With an AI Gatekeeper and Got Devin Max Free for a Month]]></title><description><![CDATA[Cognition is running an unusual promotion right now: you text a pitch to Poke — the messaging agent Cognition acquired this year — and Poke decides how…]]></description><link>https://shinkaspool.hashnode.dev/i-negotiated-with-an-ai-gatekeeper-and-got-devin-max-free-for-a-month</link><guid isPermaLink="true">https://shinkaspool.hashnode.dev/i-negotiated-with-an-ai-gatekeeper-and-got-devin-max-free-for-a-month</guid><category><![CDATA[AI]]></category><category><![CDATA[DevIN]]></category><category><![CDATA[Productivity]]></category><category><![CDATA[Programming Blogs]]></category><dc:creator><![CDATA[Shinka Spool Labs]]></dc:creator><pubDate>Sun, 22 Nov 2026 01:33:45 GMT</pubDate><content:encoded><![CDATA[<p>Cognition is running an unusual promotion right now: you text a pitch to Poke — the messaging agent Cognition acquired this year — and Poke decides how many free Devin Bot credits you deserve. We pitched it yesterday. We walked away with a free month of Devin Max (the $200/month plan) plus $42 in Devin Bot credits, $0 paid.</p>
<p>The campaign ends <strong>November 23 at 17:00 JST (00:00 PT)</strong>, spots are released in batches, and it only works over iMessage. If you want to try, the details and our full negotiation are below — including the parts where Poke pushed back.</p>
<h2>What the campaign is</h2>
<ul>
<li>Devin Bots launched on November 17: always-on agent teams that pick up engineering work from tools like Slack, Linear, and Sentry.</li>
<li>To promote them, Cognition is giving away Devin Bot credits through Poke: <strong>10,000 accounts, up to $10,000 in credits each</strong>, announced by Cognition's Walden Yan on November 18.</li>
<li>You enter by texting Poke from poke.com/bots and pitching what you want a Devin Bot to do. Poke negotiates. What you get depends on your pitch — reported outcomes range from $23 in credits to a record $1,887, and a free month of Devin Max shows up in many offers.</li>
<li>There is no promo code and no affiliate program for this. The text conversation <em>is</em> the application.</li>
</ul>
<h2>What we pitched</h2>
<p>Not a one-off task — a standing responsibility, which is how Cognition itself frames Devin Bots:</p>
<blockquote>
<p>A Devin Bot to own one responsibility on STOCK NOTE, an inventory management app already in use: watch GitHub Actions on every push, catch CSV-import and inventory-total regressions early, reproduce failures with synthetic data only, and open small, tested fixes for human review — continuously, across releases.</p>
</blockquote>
<p>We asked for a free month of Devin Max plus $250 in credits, with the Max month as the real target.</p>
<h2>How the negotiation went</h2>
<ol>
<li><strong>The gatekeeper check.</strong> Poke's first reply was skeptical — roughly: everyone says "great idea"; who are you, and what are you actually building? This seems to be a standard filter, so have a real answer ready. We answered with specifics: a systems engineer by day (job boards and an ATS), building real products on the side, the inventory app already in use.</li>
<li><strong>First offer: $22 + the Max month.</strong> The free Devin Max month was on the table from the first offer. We pushed on credits only: $22 covers about one bad release; a bot that runs on every push burns credits across many CI runs and investigations.</li>
<li><strong>The proof-of-life request.</strong> At $32, Poke asked for a repo link as proof the project exists. Our repo is private and maintained by a coding agent, so there was no public link to drop — and we said exactly that, instead of making a private repo public for a few dozen dollars. (Don't expose code for promo credits. The math never works.)</li>
<li><strong>Final: $42 + the Max month.</strong> Poke called $42 its ceiling. We accepted: $42 in Bot credits plus one free month of Devin Max, no payment on our side.</li>
</ol>
<h2>What I'd tell someone pitching today</h2>
<ul>
<li><strong>Pitch a responsibility, not a task.</strong> "Watch this pipeline forever" reads stronger than "fix this bug."</li>
<li><strong>Expect the credibility check and answer it concretely.</strong> Real project, real usage, real constraints.</li>
<li><strong>Negotiate once or twice, then take it.</strong> The Max month is the prize; haggling credits from $42 to $60 isn't worth losing the slot.</li>
<li><strong>Never make a private repo public for proof.</strong> Explain the situation instead — in our case, "an agent maintains it" was itself on-theme.</li>
</ul>
<h2>The fine print that actually matters</h2>
<ul>
<li><strong>Claim fast.</strong> Once you confirm, the claim link must be redeemed within <strong>48 hours</strong>.</li>
<li><strong>Credits expire 7 days after redemption.</strong> The $42 is Devin-Bots-only and starts burning its clock when you claim, not when you're ready. We are deliberately timing our redemption to a week when we can do the setup properly. Claim when you can use it.</li>
<li><strong>Deadline:</strong> the promotion ends November 23 at 00:00 PT (17:00 JST) and may pause when batches run out.</li>
<li><strong>Requirements:</strong> iMessage on iPhone or Mac, and a non-+86 phone number. No card was needed on our claim terms.</li>
</ul>
<h2>Honest status</h2>
<p>We have not redeemed yet, and we have not run a Devin Bot yet — this post is about the deal itself, verified against our own negotiation this morning (November 22) and Cognition's public announcements. If the Bot turns out to be genuinely useful on CI watch duty, that's a follow-up post.</p>
<p>One more currently-live AI deal, since it's the same week: Google is running Black Friday early access for existing Google AI / Google One subscribers — up to 50% off AI Plus and annual AI Pro plans through November 26 (in Japan, AI Pro annual has been seen at ¥29,000 → ¥14,500). Non-subscriber offers start on Black Friday itself. Check your own offer at one.google.com/ai; the exact discount depends on your current plan.</p>
<hr />
<p><em>Disclosure: no affiliate links in this post and no relationship with Cognition or Google. The Devin offer above is our own negotiated result; amounts vary by pitch.</em></p>
]]></content:encoded></item><item><title><![CDATA[Your LLM's Repetition Rate Is Probably Measuring the Wrong Thing]]></title><description><![CDATA[I spent an evening measuring a repetition loop in a local model. The headline number said 76% of the output was repeated sentences. I tuned settings until…]]></description><link>https://shinkaspool.hashnode.dev/your-llm-s-repetition-rate-is-probably-measuring-the-wrong-thing</link><guid isPermaLink="true">https://shinkaspool.hashnode.dev/your-llm-s-repetition-rate-is-probably-measuring-the-wrong-thing</guid><category><![CDATA[llm]]></category><category><![CDATA[AI]]></category><category><![CDATA[Local LLM]]></category><category><![CDATA[MachineLearning]]></category><category><![CDATA[Open Source]]></category><dc:creator><![CDATA[Shinka Spool Labs]]></dc:creator><pubDate>Sun, 22 Nov 2026 00:44:33 GMT</pubDate><content:encoded><![CDATA[<p>I spent an evening measuring a repetition loop in a local model. The headline number said 76% of the output was repeated sentences. I tuned settings until that number fell to 6% — and only then discovered that the number had mostly been measuring the model's <em>reasoning</em>, not its answers.</p>
<p>If you benchmark repetition in local LLMs, this trap is easy to fall into. This post is about the trap itself: what a mixed output stream does to your measurements, and how to measure repetition so the number means what you think it means.</p>
<p>This is a companion to my earlier measured report, <a href="https://dev.to/shinkaspool/how-i-fixed-repetition-loops-in-an-abliterated-local-llm-measured-not-guessed-232n">How I Fixed Repetition Loops in an Abliterated Local LLM</a>, which has the full settings progression. Same experiment, different lesson.</p>
<h2>The setup, briefly</h2>
<p>One model (<code>qwen3.5-abliterated:9b</code>), one prompt (a ~1,000-character essay on Japan's four seasons), run on a Mac mini in two stacks: Ollama and llama.cpp's llama-server. I measured repetition as a <strong>sentence-level duplicate rate</strong>: split the output into sentences, and count what share of them are repeats of a sentence that already appeared.</p>
<p>With no anti-repetition settings, the Ollama run produced 16,291 characters and a 76% duplicate rate. After tuning (<code>repeat_penalty 1.3</code> with <code>repeat_last_n 1024</code>), the same measurement read 6%. Case closed — except for what llama-server revealed next.</p>
<h2>Two stacks, two different objects</h2>
<p>llama-server returns reasoning and final content as separate streams. Ollama's <code>ollama run</code> output, as I used it, prints them as one combined stream. When I measured the llama.cpp runs stream by stream, the picture changed completely:</p>
<table>
<thead>
<tr>
<th>Condition</th>
<th>Reasoning repetition</th>
<th>Answer repetition</th>
</tr>
</thead>
<tbody><tr>
<td>No DRY</td>
<td>64% (max 9×)</td>
<td>0%</td>
</tr>
<tr>
<td>DRY multiplier 0.8</td>
<td>0%</td>
<td>0%</td>
</tr>
<tr>
<td>DRY multiplier 0.4</td>
<td>5%</td>
<td>0%</td>
</tr>
</tbody></table>
<p>The answer text had <strong>0% repetition in every condition — including no protection at all</strong>. The loop I had been chasing lived in the reasoning. Which means the 76% → 6% improvement in the Ollama runs was, in large part, a measurement of a reasoning loop getting quieter — real progress, but not the progress the headline number seemed to describe.</p>
<p>Neither number is fake. They are numbers about <em>different objects</em>. Comparing them directly — "stack A repeats 6%, stack B repeats 0%" — would have been a false conclusion drawn from true measurements.</p>
<h2>A short checklist for measuring repetition</h2>
<p>What I now do before trusting any repetition number, mine included:</p>
<ol>
<li><strong>Find out what your client actually returns.</strong> Does your stack expose reasoning and content separately, or does it merge them into one stream? If it merges them, your repetition rate is a property of the mixture, not of the answer your users read.</li>
<li><strong>Measure the streams separately when you can.</strong> If the answer is clean and the reasoning loops, your problem is budget and latency (reasoning ate 16k characters of context in my first run), not answer quality. Those need different fixes.</li>
<li><strong>State what you measured.</strong> "76% sentence duplication in the combined stream" is an honest claim. "The model repeats 76% of the time" is not.</li>
<li><strong>Watch the side effects on the stream you care about.</strong> In my runs, strong DRY settings cleaned up reasoning but made the <em>answer</em> less natural — overused quotation marks went from 1.3 to 52.3 per 1,000 characters at multiplier 0.8. A single repetition number would have hidden that cost completely.</li>
<li><strong>Mind the context budget interaction.</strong> At ctx 8192, one run's reasoning consumed the entire budget and the answer came back empty. A "0% repetition, empty answer" run is a failure your repetition metric will happily score as perfect.</li>
</ol>
<h2>The honest limits</h2>
<p>Everything above is one run per condition, one model, one prompt — sampling randomness is not separated from the effects, and I say so in the full report too. But the methodological point doesn't depend on sample size: a merged stream and a separated stream are different measurements, and no amount of re-running fixes comparing them as if they were the same.</p>
<p>If you measure repetition in your own stack, I'd be curious what your client returns — merged or separated — and whether your loops also live in the reasoning.</p>
<hr />
<p><em>The full measured note from these experiments (complete settings progression, exact configurations, side-effect counts): <a href="https://shinkalabs.gumroad.com/l/rnjmph">on Gumroad</a>. The settings-focused companion article is linked at the top.</em></p>
]]></content:encoded></item><item><title><![CDATA[How I Fixed Repetition Loops in an Abliterated Local LLM (Measured, Not Guessed)]]></title><description><![CDATA[If you run abliterated (uncensored) local models, you may have seen this: you ask for a short piece of writing, and instead of finishing, the model starts…]]></description><link>https://shinkaspool.hashnode.dev/how-i-fixed-repetition-loops-in-an-abliterated-local-llm-measured-not-guessed</link><guid isPermaLink="true">https://shinkaspool.hashnode.dev/how-i-fixed-repetition-loops-in-an-abliterated-local-llm-measured-not-guessed</guid><category><![CDATA[AI]]></category><category><![CDATA[llm]]></category><category><![CDATA[Open Source]]></category><category><![CDATA[MachineLearning]]></category><dc:creator><![CDATA[Shinka Spool Labs]]></dc:creator><pubDate>Sat, 21 Nov 2026 01:20:39 GMT</pubDate><content:encoded><![CDATA[<p>If you run abliterated (uncensored) local models, you may have seen this: you ask for a short piece of writing, and instead of finishing, the model starts saying the same sentences again. And again. And again.</p>
<p>I measured that loop on my own machine, changed one setting at a time, and recorded what actually happened. This article shares those numbers — including the parts that didn't work, and the side effects of the settings that did.</p>
<p><strong>Setup.</strong> Model: <code>qwen3.5-abliterated:9b</code>, run locally on a Mac mini, in both Ollama and llama.cpp (llama-server). Same prompt for every run: an essay of about 1,000 characters on the changing of the four seasons in Japan, including seasonal events and food. One run per setting — I'll come back to why that matters at the end.</p>
<h2>Disclosure</h2>
<p>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 <strong>not</strong> 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 the same experiments also exists (see the end of this article); the key results are summarized in this article for free.</p>
<h2>The symptom: a 1,000-character essay that wouldn't stop</h2>
<p>With no repetition settings at all, the model didn't finish. It produced 16,291 characters instead of the requested ~1,000, and <strong>76% of its sentences were repeats of sentences it had already produced</strong>. There were 38 distinct repeated sentences, and the single most-repeated sentence appeared 13 times.</p>
<p>Adding a light <code>repeat_penalty</code> of 1.1 barely changed anything: 17,344 characters, still 76% repeated sentences.</p>
<p>Two things seemed to be going on: the end-of-sequence token was losing to the repetition, and — as I only learned later — the model's reasoning was eating the context budget before the answer even got going.</p>
<h2>Ollama: the penalty value wasn't the problem — the range was</h2>
<p>Here is the full progression, same model, same prompt, only the settings changed:</p>
<table>
<thead>
<tr>
<th>Setting</th>
<th>Repeated sentences</th>
<th>Most repeats of one sentence</th>
<th>Ending</th>
</tr>
</thead>
<tbody><tr>
<td>No penalty</td>
<td>76%</td>
<td>13×</td>
<td>Cut off mid-loop</td>
</tr>
<tr>
<td>repeat_penalty 1.1 only</td>
<td>76%</td>
<td>11×</td>
<td>Cut off mid-loop</td>
</tr>
<tr>
<td>1.15 + repeat_last_n 1024</td>
<td>52%</td>
<td>6×</td>
<td>Ended naturally with a conclusion</td>
</tr>
<tr>
<td>1.3 + repeat_last_n 1024 ("rp3")</td>
<td>6%</td>
<td>2×</td>
<td>Reached a proper conclusion</td>
</tr>
</tbody></table>
<p>The pattern points at <code>repeat_last_n</code> — the window the penalty actually looks at. Ollama's default is 64 tokens. A sentence-level loop comes back hundreds of tokens later, long after it has fallen out of that window, so a penalty applied to a 64-token window simply never sees it. Widening the window to 1024 is what made the penalty start to work; raising the value alone did not.</p>
<p><strong>The setting I currently use in Ollama:</strong></p>
<pre><code class="language-text">repeat_penalty 1.3
repeat_last_n 1024
</code></pre>
<p>One honest caveat: at 1.3, the Japanese near the end of the output got slightly unnatural. A strong penalty doesn't just discourage repeats — it can push the model away from words it legitimately needs. If naturalness matters more than killing the last of the loop, start at 1.15 with <code>repeat_last_n 1024</code> and work up.</p>
<h2>llama.cpp: the loop was in the reasoning, not the answer</h2>
<p>llama-server returns reasoning and final content separately, which let me measure them separately for the first time:</p>
<table>
<thead>
<tr>
<th>Condition</th>
<th>Reasoning repetition</th>
<th>Answer repetition</th>
<th>Answer length</th>
</tr>
</thead>
<tbody><tr>
<td>No DRY</td>
<td>64% (max 9×)</td>
<td>0%</td>
<td>769 characters</td>
</tr>
<tr>
<td>DRY multiplier 0.8 (base 1.75)</td>
<td>0%</td>
<td>0%</td>
<td>1,129 characters</td>
</tr>
<tr>
<td>DRY multiplier 0.4 (base 1.75)</td>
<td>5%</td>
<td>0%</td>
<td>1,197 characters</td>
</tr>
</tbody></table>
<p>This was the biggest finding of the whole experiment: <strong>the main battlefield was the reasoning, not the answer.</strong> The answer text on its own had 0% repetition even with no DRY at all. Ollama's <code>ollama run</code> mixes reasoning and answer into one stream, so the 76% → 6% numbers in the previous section were mostly measuring a reasoning loop.</p>
<p>DRY at multiplier 0.8 erased the reasoning loop completely (64% → 0%), but it had a visible side effect: unnatural phrasing in the answer, including heavy overuse of Japanese quotation marks — 52.3 occurrences per 1,000 characters, versus 1.3 in the no-DRY baseline. At 0.4, reasoning repetition stayed low (5%), the overuse dropped to about a third of the 0.8 level (15.0 per 1,000 characters), and the reasoning itself finished sooner. It still isn't as natural as the baseline — that trade-off is real.</p>
<p><strong>The setting I currently use in llama.cpp:</strong></p>
<pre><code class="language-text">DRY multiplier ~0.4 (estimated sweet spot: 0.3–0.5)
DRY base 1.75
dry_penalty_last_n 8192
ctx 16384
</code></pre>
<p>And one practical warning: at ctx 8192, I had a run where the reasoning used up the entire context budget and the answer came back empty. If you're measuring long outputs, widen the context to 16384 first.</p>
<h2>The measurement lesson</h2>
<p>If you take one thing from this article, take this: before comparing "repetition rates," check what you are actually measuring. If your stack can separate reasoning from the final answer, measure them separately. If it can't, say so — a number from a mixed stream and a number from the answer alone are not the same measurement, and comparing them directly will mislead you.</p>
<h2>Honest limitations</h2>
<ul>
<li>Every setting above was run <strong>once</strong>. Sampling randomness is not separated from the effect of the settings, so treat these as measured indications, not proven constants. Confirming them properly needs repeated runs.</li>
<li>All numbers come from one model (<code>qwen3.5-abliterated:9b</code>) and one prompt. Your model and your prompt may behave differently.</li>
<li>Stronger anti-repetition settings consistently cost some naturalness. The "recommended" values above are a balance point, not a free win.</li>
</ul>
<h2>When local isn't enough</h2>
<p>Everything above was done on a Mac mini, and for a 9B model that was enough. It stops being enough when you want to test whether a much larger model loops less, or run a model that simply doesn't fit in your machine's memory. At that point the realistic options are renting GPU time or using a hosted model API instead of buying hardware for a single experiment.</p>
<p>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:</p>
<ul>
<li><strong>Novita AI</strong> — publishes information about hosted model APIs and GPU services. Worth a look if you'd rather call an API than manage a rented machine. <a href="https://novita.ai/?ref=m2zhmmz&amp;utm_source=affiliate">https://novita.ai/?ref=m2zhmmz&amp;utm_source=affiliate</a></li>
<li><strong>Vast.ai</strong> — a marketplace for renting GPU compute from different hosts. Worth a look if you want to rent a bigger GPU for a few hours of testing. <a href="https://cloud.vast.ai/?ref_id=870806">https://cloud.vast.ai/?ref_id=870806</a></li>
</ul>
<p>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.</p>
<h2>Want the full measured note?</h2>
<p>This article is the summary. I also keep a fuller measured note from the same 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: <a href="https://shinkalabs.gumroad.com/l/rnjmph">https://shinkalabs.gumroad.com/l/rnjmph</a></p>
<p>And if you try the rp3 or DRY 0.4 settings on a different model, I'd genuinely like to hear whether the loop behaved the same way. One run each is a start, not a conclusion.</p>
]]></content:encoded></item></channel></rss>