Skip to content
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

Can we reliably improve the output of Back Translations by sending the drafts to an LLM for correction. #576

Open
davidbaines opened this issue Oct 29, 2024 · 0 comments
Labels
research Research topics

Comments

@davidbaines
Copy link
Collaborator

We could try a prompt like this, where language is the language of the Back Translation.

Prompt:
"You are a Bible editor. The text below is marked up with USFM and I would like some minimal corrections made.
Please fix only the following errors:

  1. The names of people and places. (e.g. Ensure that the biblical names match common translations)
  2. Factual errors (e.g., if wrong person is identified as author)
  3. Missing or incorrect key theological terms.
    Do not make any changes to:
  4. The language style.
  5. Vocabulary choices unless clearly wrong.
  6. The explanatory notes that are in parentheses.
  7. The USFM markup and layout
    Make only necessary corrections and keep everything else unchanged."

We could also ask the LLM to mark changes and offer examples in the prompts.
"For all changes add # marks around the incorrect part and { } around the correction. Here are examples of markup:

Input:
\v 4 When the \nd Lord\nd* saw that he had gone over to look, God called to him from within the bush, “Peter! Peter!”
Output:
\v 4 When the \nd Lord\nd* saw that he had gone over to look, God called to him from within the bush, “#Peter#{Moses}! #Peter#{Moses}!”

This relies on the LLM knowing the correct name and obviously has the downside that it might correct some names that are incorrect in the translation. There's a tradeoff. The better the output of the AI drafting the less need there is for further correction. This might be useful where names or numbers are very poor in the draft.

@davidbaines davidbaines added the research Research topics label Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
research Research topics
Projects
None yet
Development

No branches or pull requests

1 participant