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

Problems with broken sentences in the bilingual subtitles generated #2

Open
junruizh2021 opened this issue Jun 9, 2023 · 2 comments

Comments

@junruizh2021
Copy link

Hi @lewangdev, thanks so much for your script. Sometimes I encounter problems with broken sentences in the bilingual subtitles generated during the process, resulting in some source language subtitles missing translated subtitles.
Have you ever encountered this situation?
image

Supplementing a bit, I am using a third-party API, not OpenAI API.

@lewangdev
Copy link
Owner

Yes, I have also seen this issue. Currently, the translation still requires manual intervention.

This problem is caused by the GPT-3.5. The prompt I am using currently unable to execute as expected with 100% accuracy. In my script, I set the default temperature to 0, and it will always get the same answer after retry multiple times.

Some approaches I thought to sovle this problem:

  1. set temperature to 0.7~1
  2. A better prompt
  3. Use GPT-4
  4. Human involving

@lewangdev
Copy link
Owner

I will attempt to resolve this issue using OpenAI Function-Calling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants