Inference
few-shot when you actually need it for Qwen - Printable Version

+- Inference (https://www.datasculpting.ai/inference)
+-- Forum: Prompting & Context Engineering (https://www.datasculpting.ai/inference/forumdisplay.php?fid=15)
+--- Forum: Prompts / System Prompts (https://www.datasculpting.ai/inference/forumdisplay.php?fid=62)
+--- Thread: few-shot when you actually need it for Qwen (/showthread.php?tid=805)

Pages: 1 2


few-shot when you actually need it for Qwen - thetafield - 10-05-2026

Posting this in case it saves someone else a little time.

I'm helping a small team set up a local workflow. We don't need a giant stack, but we do care about reranking.

I'm especially interested in mistakes worth avoiding.


Re: few-shot when you actually need it for Qwen - mlxgarden - 10-05-2026

Not sure I agree there. I wouldn't optimize around that first. On my side the bigger swing came from the runtime and not the model.


Re: few-shot when you actually need it for Qwen - promptspark58 - 10-08-2026

My first guess would be this: If you're on LM Studio, I'd confirm the version first and then reduce variables until the behavior is obvious. Not glamorous advice, but repeatable baselines save a lot of time.


Re: few-shot when you actually need it for Qwen - homelabhenry - 10-08-2026

My first guess would be this: Before rebuilding anything, I'd test one clean baseline with Kimi and compare from there. Not glamorous advice, but repeatable baselines save a lot of time.


Re: few-shot when you actually need it for Qwen - signalpeak - 10-11-2026

What worked for me was pretty simple. On A6000, the easiest win is often to back off the aggressive settings and see whether the problem survives. A lot of these threads end up being one bad config plus a pile of conclusions drawn from it.

There are a few different conversations hiding inside this thread, so being explicit about the goal helps.


Re: few-shot when you actually need it for Qwen - quiettoken - 10-14-2026

What worked for me was pretty simple. Before rebuilding anything, I'd test one clean baseline with DeepSeek and compare from there. Once you know the plain path works, then add the faster path back in piece by piece.


Re: few-shot when you actually need it for Qwen - mlxgarden - 10-16-2026

Did a small comparison this afternoon. I couldn't reproduce the slowdown until I pushed context much higher.


Re: few-shot when you actually need it for Qwen - thetaarch43 - 10-16-2026

A couple questions before I guess too hard. Are you testing this on 7900 XTX or something else?


Re: few-shot when you actually need it for Qwen - cozywire - 10-19-2026

Tried to reproduce it just now. I couldn't reproduce the slowdown until I pushed context much higher.


Re: few-shot when you actually need it for Qwen - cudahouse - 10-19-2026

What worked for me was pretty simple. Start by verifying the driver/runtime combo, then test with a smaller prompt, then look at prefix caching. Once you know the plain path works, then add the faster path back in piece by piece.