跳到主内容
@wquguru
精选80Simon Willison 博客(RSS)模型发布/更新

Qwen 3.8 27B 实测:默认过度思考,建议先关推理

Qwen 3.8 27B is excellent, but it defaults to wildly overthinking things

原文
发到 X

Friday's big release was Qwen 3.8 27B, an Apache 2 licensed 27B parameter vision-capable LLM from Alibaba's Qwen research lab. I've been looking forward to this one: 27B is an excellent size for running a model on a reasonably specced laptop, and its predecessor Qwen 3.6 27B was impressive.

周五的重磅发布是 Qwen 3.8 27B,这是阿里巴巴 Qwen 研究实验室推出的一个采用 Apache 2 许可、拥有 270 亿参数的视觉能力大语言模型。我一直期待这个模型:27B 是在配置合理的笔记本电脑上运行模型的绝佳规模,而其前代 Qwen 3.6 27B 已经令人印象深刻。

Qwen's self-reported benchmarks for this model are eye-opening. They show a boost from both Qwen 3.6 27B and the closed-weight Qwen 3.7-Plus, which was one of Qwen's strongest models of any size as recently as May this year. It will be interesting to hear what independent benchmarks have to say about the model.

Qwen 自报的该模型基准测试结果令人瞩目。它们显示,相比 Qwen 3.6 27B 和闭源的 Qwen 3.7-Plus(截至今年 5 月,后者是 Qwen 所有规模中最强大的模型之一)都有提升。独立基准测试对该模型的评价将会很有趣。

I've been running the model on two different machines: my 128GB M5 Max MacBook Pro, and an NVIDIA DGX Spark. On both machines I'm running LM Studio and their 17GB Q4_K_M quantized build. I also tried using llama-server directly on the Spark.

我一直在两台不同的机器上运行该模型:我的 128GB M5 Max MacBook Pro 和一台 NVIDIA DGX Spark。在这两台机器上,我都运行 LM Studio 及其 17GB 的 Q4_K_M 量化版本。我还尝试在 Spark 上直接使用 llama-server。

The default of extra high results in spectacular over-thinking

默认的“极高”设置会导致惊人的过度思考

Qwen's documentation describes the model as defaulting to xhigh for the reasoning effort, and the LM Studio GGUF I've been trying preserves that default:

Qwen 的文档将该模型描述为默认采用“极高”的推理努力程度,而我一直在尝试的 LM Studio GGUF 保留了该默认设置:

Qwen3.8 comes with official support for reasoning_effort, which can be used to adjust reasoning depth and control cost:

Qwen3.8 官方支持 reasoning_effort,可用于调整推理深度并控制成本:

  • xhigh (default): for complex tasks demanding thorough analysis
  • medium: balancing accuracy and speed
  • low: efficient reasoning optimizing for speed and cost
  • xhigh(默认):适用于需要深入分析的复杂任务
  • medium:平衡准确性和速度
  • low:高效推理,优化速度和成本

This is a hilarious default. It's absolutely not a good way to run the model, especially on consumer hardware. I've been finding the results extremely entertaining.

这是一个滑稽的默认设置。这绝对不是运行该模型的好方式,尤其是在消费级硬件上。我发现结果极其有趣。

I quickly ran into problems with LM Studio's default context limit of 8,192 tokens - Qwen was using them all up thinking about even the most mundane of problems. I loaded the model with the full 262,144 maximum context length and that problem went away.

我很快遇到了 LM Studio 默认上下文限制 8,192 个令牌的问题——Qwen 在思考最平凡的问题时就用光了这些令牌。我以完整的 262,144 最大上下文长度加载模型后,这个问题就消失了。

Here's the pelican riding a bicycle SVG I got from my first attempt with that increased context length. It took 21 minutes to generate, using 22,276 reasoning tokens to produce 3,223 tokens of output. You can read the reasoning trace here.

这是我第一次尝试增加上下文长度后得到的鹈鹕骑自行车 SVG。它花了 21 分钟生成,使用了 22,276 个推理令牌来产生 3,223 个输出令牌。你可以在这里阅读推理轨迹。

This is by far the best pelican SVG I've been able to generate with a model that runs on a local machine - and this Qwen is pretty small, just a 17GB file on disk. There's a lot to like about this:

这是迄今为止我用本地机器上运行的模型生成的最好的鹈鹕 SVG——而且这个 Qwen 相当小,磁盘上只有 17GB。有很多值得喜欢的地方:

  • The bicycle frame is the right shape
  • It has legs on each side of the bike - that's very rare
  • Good, clear pelican pouch
  • The wings extend to touch the handlebars!
  • The motion lines are behind, not in front
  • It has a tasteful background - nice sun, clouds, hill, flowers and grass.
  • 自行车车架形状正确
  • 自行车两侧都有腿——这非常罕见
  • 清晰漂亮的鹈鹕喉囊
  • 翅膀伸展到触及车把!
  • 运动线条在后方,而不是前方
  • 它有雅致的背景——漂亮的太阳、云朵、山丘、花朵和草地。

Was that worth waiting 21 minutes for? Absolutely not.

值得为那个等21分钟吗?绝对不值。

Here's that same prompt run with reasoning turned off - transcript here. This one produced 3,715 tokens and took 137s - just over two minutes.

这是关闭推理后运行相同提示的结果——记录在此。这次生成了3,715个token,耗时137秒——刚过两分钟。

And just for completeness, I used OpenRouter to run the same prompt through the much larger Qwen 3.8 2.4T-A95B (released last week) and got this snazzy animated SVG:

为了完整起见,我使用OpenRouter通过更大的Qwen 3.8 2.4T-A95B(上周发布)运行了相同的提示,得到了这个时髦的动画SVG:

Your browser does not support HTML5 video.

您的浏览器不支持HTML5视频。

I said Qwen at xhigh has a tendency to over-think things, but how bad really is it?

我说过Qwen在xhigh设置下倾向于过度思考,但到底有多糟糕呢?

I tried a much simpler prompt, again with that default extra high setting:

我尝试了一个更简单的提示,同样使用默认的额外高设置:

draw an svg of a circle

画一个圆的SVG

Qwen's reasoning trace started like this:

Qwen的推理轨迹是这样开始的:

The user is asking for an SVG drawing of a circle. Simple request — but I want it to be a carefully crafted piece. Let me make something that goes beyond just <circle>: a single self-contained SVG file with character — maybe a geometric "circle study," with subtle animation, layered rings, and a distinctive palette.

用户要求画一个圆的SVG。简单的请求——但我想让它成为一件精心制作的作品。让我做一些超越简单<circle>的东西:一个具有特色的独立SVG文件——也许是一个几何“圆的研究”,带有微妙的动画、分层圆环和独特的调色板。

Keep the scope right: they asked for an SVG of a circle. So the core is a circle. But I can add craft: concentric guide circles (like a compass/geometry drawing), tick marks, a soft gradient fill on the main circle, restrained ambient motion (a slowly rotating dashed ring, pulsing glow). Respect prefers-reduced-motion? That's more for CSS; SVG SMIL or CSS inside SVG will do.

保持范围正确:他们要求一个圆的SVG。所以核心是一个圆。但我可以添加工艺:同心引导圆(如圆规/几何绘图)、刻度线、主圆上的柔和渐变填充、克制的环境运动(缓慢旋转的虚线环、脉动光晕)。尊重prefers-reduced-motion?那更多用于CSS;SVG SMIL或SVG内的CSS也可以。

Palette options: deep teal ink on warm paper? Or bold vermilion circle on off-white with navy construction lines — Bauhaus/compass-drawing vibe. Let me go with a "geometric study" look: cool slate background, or bright paper white? Paper white is fine if it's not the cream-and-terracotta combo. [...]

调色板选项:暖纸上的深青色墨水?还是米白色上的大胆朱红色圆,配海军蓝构造线——包豪斯/圆规绘图风格。让我采用“几何研究”外观:凉爽的板岩背景,还是明亮的纸白?纸白可以,只要不是奶油色和赤陶色的组合。[...]

Several minutes later it produced this absolutely beautiful animated circle, which was entirely not what I had asked for!

几分钟后,它生成了这个绝对美丽的动画圆,这完全不是我要求的!

Your browser does not support HTML5 video.

您的浏览器不支持HTML5视频。

My strong recommendation: ignore that default. Run Qwen 3.8 27B on low or even no reasoning levels at first. It's a great model, but wow that default setting is a bad place to start.

我的强烈建议:忽略那个默认设置。首先在低推理级别甚至无推理级别下运行Qwen 3.8 27B。它是一个很棒的模型,但哇,那个默认设置是一个糟糕的起点。

It's very good at bounding boxes

它非常擅长边界框

A fun way to test a vision model is to see how well it can return bounding boxes around items in a photograph. I've seen previous Qwen models deal well with this, so I decided to put it to the test drawing bounding boxes around some pelicans.

测试视觉模型的一个有趣方法是看它能否在照片中的物品周围返回边界框。我之前见过Qwen模型在这方面表现良好,所以我决定测试一下,在几只鹈鹕周围绘制边界框。

I've seen asking for 0-1000 scale produce good results in the past. I tried this:

我过去看到要求0-1000比例能产生好的结果。我试了这个:

代码 · 3
llm -a https://static.inaturalist.org/photos/714731804/large.jpg \
  -m lmstudio/qwen/qwen3.8-27b \
  'Return JSON bounding boxes for the pelicans in this photo, 0-1000 scale for each dimension'
代码 · 3
llm -a https://static.inaturalist.org/photos/714731804/large.jpg \
  -m lmstudio/qwen/qwen3.8-27b \
  'Return JSON bounding boxes for the pelicans in this photo, 0-1000 scale for each dimension'

Here's the reasoning trace, which produced this:

这是推理轨迹,它产生了这个:

代码 · 4
[
  {"bbox_2d": [195, 290, 370, 780], "label": "pelicans"},
  {"bbox_2d": [445, 320, 675, 850], "label": "pelicans"}
]
代码 · 4
[
  {"bbox_2d": [195, 290, 370, 780], "label": "pelicans"},
  {"bbox_2d": [445, 320, 675, 850], "label": "pelicans"}
]

This is such a good match. Here are those boxes rendered on top of the photo:

这真是完美的匹配。这些是渲染在照片上的边界框:

Building a tool to label bounding boxes

构建一个标记边界框的工具

That visualization of the bounding boxes was taken using a new custom tool that I had Qwen 3.8 27B build for me, running offline on my laptop.

那个边界框的可视化是用一个我让 Qwen 3.8 27B 为我构建的新自定义工具截取的,它离线运行在我的笔记本电脑上。

I forgot to dial down the thinking effort so it was massively over-engineered, but it did manage to produce this full interface from this single prompt:

我忘了调低思考强度,所以它被过度设计了,但它确实设法从这一个提示中生成了这个完整的界面:

代码 · 4
[
   {"bbox_2d": [195, 290, 370, 780], "label": "pelicans"},
   {"bbox_2d": [445, 320, 675, 850], "label": "pelicans"}
]
代码 · 4
[
   {"bbox_2d": [195, 290, 370, 780], "label": "pelicans"},
   {"bbox_2d": [445, 320, 675, 850], "label": "pelicans"}
]

Build an HTML page which has an input box for accepting the URL to an image and a textarea for accepting the above style of JSON.

构建一个 HTML 页面,其中有一个输入框用于接受图片的 URL,还有一个文本区域用于接受上述格式的 JSON。

It appends the image to the page, measures its width and height, then treats the coords in the bbox_2d as scaled from 0-1000 and scales them against the actual width and height, then it renders labelled boxes over the image.

它将图片附加到页面上,测量其宽度和高度,然后将 bbox_2d 中的坐标视为从 0-1000 缩放,并根据实际宽度和高度进行缩放,然后在图片上渲染带标签的框。

This screenshot shows one of the features I did not ask for - a demo scene, for if you don't have a photograph to test the tool with:

这个截图展示了一个我没有要求的功能——一个演示场景,用于当你没有照片来测试工具时:

Here's the relevant segment of the thinking trace, where it decided to draw its own pelicans purely because I had used the label "pelicans" in the example JSON I gave it in the prompt:

这是思考轨迹的相关片段,它决定绘制自己的鹈鹕,仅仅因为我在提示中给它的示例 JSON 中使用了标签“鹈鹕”:

Also a "load sample" that uses a known image? Can't depend on external images, but… the image URL input is user-provided; I could add a "try with sample" button [...] Hmm, I can draw a simple scene on canvas, export it as a data URL, and load it into the image — that's self-contained and demo-able! [...] But the user's coords are for an actual pelican image; a generated placeholder can still demo the scaling. Generate a 1000x1000 placeholder: gradient water + two blob-like "pelican" silhouettes placed at the given bboxes (using the same scale — cute: silhouettes at the exact 0-1000 positions, showing the boxes align). This makes for a fun, self-contained demo. Keep it simple: sky gradient, sun, water, two pelican-ish shapes (ellipse body, circle head, beak). Place at bbox centers.

还要一个“加载示例”使用已知图片?不能依赖外部图片,但是……图片 URL 输入是用户提供的;我可以添加一个“尝试示例”按钮 [...] 嗯,我可以在画布上绘制一个简单的场景,将其导出为数据 URL,然后加载到图片中——这样既自包含又可演示![...] 但是用户的坐标是针对实际鹈鹕图片的;生成的占位图仍然可以演示缩放。生成一个 1000x1000 的占位图:渐变水 + 两个放置在给定边界框处的模糊“鹈鹕”剪影(使用相同的比例——可爱:剪影在精确的 0-1000 位置,显示框对齐)。这构成了一个有趣、自包含的演示。保持简单:天空渐变、太阳、水、两个类似鹈鹕的形状(椭圆身体、圆形头部、喙)。放置在边界框中心。

(I'm slightly nervous that models around the world might have a bias towards drawing pelicans at any chance they can get, brought on by nearly two years of exposure to my own stupid benchmark.)

(我有点担心世界各地的模型可能会有偏见,一有机会就画鹈鹕,这是近两年来接触我自己愚蠢的基准测试造成的。)

Is all that over-thinking necessary? Maybe it is, at least a bit. I tried with reasoning turned off and got this version, (transcript here), which nearly works but shows the boxes in the wrong place:

所有这些过度思考都是必要的吗?也许至少有一点必要。我尝试关闭推理,得到了这个版本(记录在这里),它几乎可以工作,但框显示在错误的位置:

So without reasoning it didn't quite one-shot a working tool. I'm sure it could get there with some follow-up prompts, but this is a good example of how reasoning can make a difference.

所以没有推理,它没有一次性成功构建一个可用的工具。我相信通过一些后续提示它可以做到,但这是一个很好的例子,说明推理可以产生不同。

Yes, it can drive coding agents

是的,它可以驱动编码代理

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

关联讨论

同一事件的更多信源

相似阅读

另一事件,读法相近