You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fine-tuned llama3.2 models do not provide output while inferencing #1756
I've been working on fine-tuning Ollama 3.2 to enhance OCR performance on documents with irregular layouts, handwritten annotations, stamps, and noise. To test this, I ran two experiments with num_train_epochs = 1:
Dataset A: 20k images.
Dataset B: 50k images with artificially added noise on clean documents.
Neither of the fine-tuned models produced any output during inference. In contrast, the original model works as expected:
Additionally, the model I trained without specifying the number of epochs appears to work, likely because it’s essentially using the original model's weights.
Any thoughts on why the fine-tuned versions might not be generating outputs?
This silent failure is a loud one now! If the response marker matches nothing, train_on_responses_only raises with the marker in the message rather than quietly training on fully masked labels, which is what produced the empty generations.
Please update Unsloth: uv pip install --upgrade unsloth unsloth_zoo --force-reinstall --no-cache-dir (if it's not in the current release yet it'll be in the next one). Reopen if it still happens!
Activity
ep0p commentedon Feb 19, 2025
more info: when starting the inference i get fast as reply an
<|eot_id|>danielhanchen commentedon Sep 15, 2026
This silent failure is a loud one now! If the response marker matches nothing, train_on_responses_only raises with the marker in the message rather than quietly training on fully masked labels, which is what produced the empty generations.
Please update Unsloth:
uv pip install --upgrade unsloth unsloth_zoo --force-reinstall --no-cache-dir(if it's not in the current release yet it'll be in the next one). Reopen if it still happens!