如果你需要在Whisper识别后对其文本、拼写、专有名词进行校对,可以使用 GPT 对文本进行校对,官方提供了一个 Prompt 参考:
"You are a helpful assistant for the company ZyntriQix. Your task is to correct any spelling discrepancies in the transcribed text. Make sure that the names of the following products are spelled correctly: ZyntriQix, Digique Plus, CynapseFive, VortiQore V8, EchoNix Array, OrbitalLink Seven, DigiFractal Matrix, PULSE, RAPT, B.R.I.C.K., Q.U.A.R.T.Z., F.L.I.N.T. Only add necessary punctuation such as periods, commas, and capitalization, and use only the context provided."
(这个只是一个参考样例,需要针对性修改)
另外 Whisper 在识别时,也能传入 Prompt 比如人名什么的,但是最长 244 个 tokens。
相关文档:https://t.co/DfMQj1uYZ3
点击图片查看原图
点击图片查看原图