# SFT of Instruct Model Collapse

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fsft-of-instruct-model-collapse%2F170526%3E%5C
**Category:** Models\
**Created:** [November 16, 2025, 7:58pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fsft-of-instruct-model-collapse%2F170526 "2025-11-16T19:58:23Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJohn6666)%5C
**Post date:** [November 16, 2025, 11:19pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fsft-of-instruct-model-collapse%2F170526%2F2 "2025-11-16T23:19:26Z")

</div>

Even when using SFT based on the Instruct model, normal model weights are often generated.

However, since the Instruct model often already has its own quirks regarding special tokens and chat templates compared to the Base model, if it cannot mimic these, the result may appear broken. Also, note that older models may lack chat templates altogether or have inappropriate ones.

* * *

Short, direct answer:  
No, it is **not** a rule that SFT on an already-Instruct model will “collapse” into gibberish. Lots of people successfully SFT Instruct/chat models every day. What _does_ happen quite often is that **SFT pipelines that are slightly wrong break Instruct models much more visibly** than base models.

Your symptom:

- “absolute gibberish”
- “not even getting to eos token”

matches **technical / configuration problems** , not a fundamental “you SFTed an Instruct model, therefore it died” law.

Below I’ll put your experience in context, then connect it to concrete online reports and the real failure modes.

* * *

## 1. Background: what you did and why the model reacted badly

You thought you were fine-tuning a **pretrained/base model**.  
In reality, the checkpoint was **already instruction-tuned and chat-templated**.

That matters because:

1. A **base model** has:

2. An **Instruct/chat model** usually:

If you fine-tune it as if it were a plain LM (no template, wrong special tokens, wrong EOS handling, wrong masking, wrong tokenizer), you can:

- distort the probability distribution over tokens so that:

- and/or break things at save/load or deployment time so the weights no longer match the tokenizer.

That _looks_ like “the model collapsed because it was Instruct,” but the underlying cause is: **you violated the assumptions that Instruct model was trained under.**

* * *

## 2. Has anyone else seen this? Yes – a lot. But the causes are concrete.

Here are closely matching real reports.

### 2.1 Gemma-3-1B-IT: Instruct model → gibberish after instruction SFT

On the official Gemma 3 Instruct (`google/gemma-3-1b-it`), a user fine-tunes for instruction tasks and gets **gibberish outputs**. Google’s response:

- likely **mismatch between tokenizer and chat template** used in fine-tuning vs what the Instruct model expects,
- plus possible problems with `fp16` numerics or data formatting. ([Hugging Face](https://huggingface.co/google/gemma-3-1b-it/discussions/27 "[Gemma-3-1B] Gibberish outputs after instruction fine-tuning"))

They explicitly note that the base Gemma model (no chat special tokens) didn’t break under the same pipeline, exactly like your experience.

So: same pattern you saw, and the root cause is **format/tokenizer mismatch** , not a general rule that “instruct models collapse.”

* * *

### 2.2 Llama-2-7B-chat + softprompt: base OK, Instruct+prompt = pure gibberish

In a Hugging Face forum thread “Softprompt for Llama generating gibberish output”, a user:

- trains a soft prompt on top of `meta-llama/Llama-2-7b-chat-hf`,
- base chat model alone is fine,
- but with the softprompt attached, generations are **nonsensical character salad**. ([Hugging Face Forums](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fsoftprompt-for-llama-generating-gibberish-output%2F153275 "Softprompt for Llama generating gibberish output - Beginners"))

The diagnosis revolves around:

- mis-handling of input formatting with the softprompt,
- incorrect placement of the prompt embeddings,
- and mismatched tokenization.

Again, it’s an **Instruct model** , and it collapses only when the **additional SFT / PEFT layer is wired wrong**.

* * *

### 2.3 GPT-2 persona-chat: base LM → fine-tune → weird chat gibberish

Older, non-instruct example, but exact same symptom:

- “Fine tuning GPT2 on persona chat dataset outputs gibberish” (HF forums). ([Hugging Face Forums](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ffine-tuning-gpt2-on-persona-chat-dataset-outputs-gibberish%2F3111 "Fine tuning GPT2 on persona chat dataset outputs gibberish"))

- Training loss looks reasonable, but responses are a mess.

- Discussion points to:

This shows: you can get the **same kind of collapse without any Instruct model at all** if you mishandle the data/format.

* * *

### 2.4 Gemma-3-1B-PT: fine-tuned model OK, but gibberish after quantization

Another closely related pattern:

- User fine-tunes `google/gemma-3-1b-pt` (pretrained/base) with Unsloth + LoRA using ChatML.
- Full-precision merged model responds correctly.
- After GPTQ/AWQ/BitsAndBytes quantization, **all quantized versions produce gibberish or empty outputs**. ([Hugging Face](https://huggingface.co/google/gemma-3-1b-pt/discussions/13 "Fine-tuned Gemma-3-1b model produces gibberish/empty ..."))

Here the SFT is fine, but the **deployment step** (quantization / conversion) breaks the model, making it _look_ collapsed.

* * *

### 2.5 BART: fine-tune → gibberish until decoder is fixed

Seq2seq but the same underlying pattern:

- “What can cause model.generate (BART) output to be gibberish after fine-tuning?” (HF forums). ([Hugging Face Forums](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fwhat-can-cause-model-generate-bart-output-to-be-gibberish-after-fine-tuning%2F934 "What can cause model.generate (BART) output to be ..."))

- After fine-tuning, `generate()` gives nonsense.

- Official answer: their decoder inputs were wrong:

- Once they fix decoding, outputs become normal.

Again: the **training isn’t inherently doomed** ; the mechanics were off.

* * *

## 3. What’s actually going on when you see “gibberish + no EOS”

Based on those reports and your description, the failure is almost always one (or a stack) of these:

1. **Tokenizer / vocab / EOS mismatch**

2. **Ignoring the model’s chat template**

3. **Over-aggressive learning rate / training schedule**

4. **Broken save/load or quantization**

5. **NaNs / numerical instability**

None of these are about “the model already being Instruct” as a fundamental problem. They are about **technical mismatch between your pipeline and the model’s assumptions**.

* * *

## 4. Why Instruct models _feel_ more fragile than base ones

This is probably the core of your intuition.

1. **More structure baked in.**  
Instruct/chat models are trained on very regular patterns:

2. **Less “room to move” without breaking behavior.**  
A base model is a general LM; you can often push it a bit and it’ll remain a fluent LM. An Instruct model has already been optimized for:

3. **But they are routinely SFTed successfully.**  
At the same time:

* * *

## 5. What this means for your rule-question

Your question:

> Is it a rule that if we try to SFT a model that is already Instruct model that it will collapse at the end?

Clear answer:

- **No, there is no such rule.**

- There is a **strong pattern** that:

But this is a consequence of **pipeline mismatch** , not an inherent property of “instructness.”

* * *

## 6. Practical takeaway (if you do this again)

To avoid repeating the collapse you saw:

1. **Always confirm what the checkpoint actually is.**

2. **Use the official SFT pattern for that family.**

3. **Keep tokenizer + model bound together.**

4. **Be gentle with hyperparameters, especially on Instruct.**

5. **Test mid-training and immediately after saving.**

If you line those up, SFT on an Instruct model is just another normal step in the stack (pretrain → SFT → preference optimization), not something that “must” end in collapse.

---

_[View the full topic](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fsft-of-instruct-model-collapse%2F170526)._
