(Photo by Felix Eka Putra Kuntjoro on Unsplash)
起因
剛才想到將 MacWhisper Dictation 的後處理,從原本的 LM Studio google/gemma-3-12b 改成使用 openai/gpt-oss-20b,但一直遇到 gpt-oss 模型會將思考過程也回傳成為 dictation 輸出結果。有問題的輸出結果:
We need to correct punctuation: use full-width.
Input: "嗨,我們明天去兒童樂園玩好嗎?"
We replace comma with ,, question mark with ?.
Also add period at end?
The sentence ends with question mark already.
So output: "嗨,我們明天去兒童樂園玩好嗎?"
嗨,我們明天去兒童樂園玩好嗎?