jesselau76 / ebook-GPT-translator

Enjoy reading with your favorite style.
https://jesselau.com
MIT License
1.63k stars 210 forks source link

翻译风格的prompt探讨 #55

Open jbang2004 opened 1 year ago

jbang2004 commented 1 year ago

作者大大,你介绍中的那张翻译图,把英文翻译成了文言文,您是用了什么prompt?我看源码里的prompt只是让它扮演gpt4进行翻译,应该还有什么吧?

jesselau76 commented 1 year ago

直接把Chinese改成任何你想要的风格就可以。用中文也无所谓。chatGPT能自行处理。 就是:Please behave like GPT-4 model, translate the following text into 文言文.

On Mon, Jul 3, 2023 at 10:33 PM jbang2004 @.***> wrote:

作者大大,你介绍中的那张翻译图,把英文翻译成了文言文,您是用了什么prompt?我看源码里的prompt只是让它扮演gpt4进行翻译,应该还有什么吧?

— Reply to this email directly, view it on GitHub https://github.com/jesselau76/ebook-GPT-translator/issues/55, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJUSHGD7GLUKDGSX5NBDRBTXOKNXNANCNFSM6AAAAAAZ4IJ3W4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

jbang2004 commented 1 year ago

直接把Chinese改成任何你想要的风格就可以。用中文也无所谓。chatGPT能自行处理。 就是:Please behave like GPT-4 model, translate the following text into 文言文. On Mon, Jul 3, 2023 at 10:33 PM jbang2004 @.> wrote: 作者大大,你介绍中的那张翻译图,把英文翻译成了文言文,您是用了什么prompt?我看源码里的prompt只是让它扮演gpt4进行翻译,应该还有什么吧? — Reply to this email directly, view it on GitHub <#55>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJUSHGD7GLUKDGSX5NBDRBTXOKNXNANCNFSM6AAAAAAZ4IJ3W4 . You are receiving this because you are subscribed to this thread.Message ID: @.>

谢谢啊,我研究一下,以为要很复杂的prompt才能凑效