-
Notifications
You must be signed in to change notification settings - Fork 160
Questions about the naturalness of translated text #279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Yes, you can try to modify the current existing system prompt by manually editing it in modules/translation/base.py (ideally you'd fork the repo beforehand) which - depending on your prompting skills - could worsen, slightly (!) improve or not affect naturalness in a tangible way. Which model do you normally use (and for which source <-> target lang. pair?)? Some models do perform better for certain lang. pairs. Otherwise there is not much that can be done there (at least not quickly anyway*), you'll just have to wait for better models to be released. ----*will paste them into a seperate issue for better visibility----- |
I am currently using openai, and the target language is French translated into simplified Chinese. Now the problem is that after I change the prompt word, the text cannot be displayed. I encountered an error and don’t know how to solve it. Please help me Last login: Tue May 27 01:04:21 on ttys000 Here are the changed parts in base.py user_prompt = f"""{extra_context} 你是一位资深漫画翻译,请将下方法语对白翻译成自然、口语化、富有情绪和人物性格的中文对白。 原文:
|
You did not change the system prompt. The system prompt itself is found in lines 126 -132 (modules/translation/base.py) Forgot to add this:
And this is more a fancy idea than a suggestion to be taken seriously:
|
I want to ask a question. The text translated automatically still feels very stiff. Can I add prompt words to make the translated content more natural? How can I adjust it? Thanks
The text was updated successfully, but these errors were encountered: