This tool uses the OpenAI ChatGPT API for text translation and focuses on line-to-line translation, especially for SRT subtitles. By removing the overhead of SRT files and batching text, token use is optimized to ensure that the number of input and output lines is consistent. Supports Web UI and CLI interfaces, provides streaming output, request rate limitation, progress recovery and other functions, and is suitable for multiple languages and special writing forms, such as emoticons and word scrambling.
ChatGPT also demonstrated its capabilities as a powerful translator, capable of handling not only common languages, but also unconventional writing forms such as emoticons and word garbled. However, it may not always produce deterministic output and follow line-to-line correlations, which may disrupt captioning time, even when instructions are to follow precise instructions and the model temperature parameter is set to 0.
The utility uses the OpenAI ChatGPT API to translate text, with a special focus on line-based translation, especially SRT subtitles. Translators optimize token use by eliminating SRT overhead and grouping text into batches, allowing translations of arbitrary length without consuming too many tokens, while ensuring one-to-one matching between line input and output.
features
- New work in progress: Web UI
- Line-based batch processing: Avoid token limits for each request, reduce overhead token waste, and maintain translation context to some extent
- Check with the free OpenAI review tool: Prevent token waste if the model is likely to refuse translation
- Request per minute (RPM) rate limit
- Token Rate Limit per Minute (TPM)
- Progress recovery (CLI only)-mitigates frequent API gateway errors and downtime
-
Retry the translation section
If you want to learn more, you can click on the link below the video.
Thank you for watching this video. If you like it, please subscribe and like it. thank
Github:https://github.com/Cerlancism/chatgpt-subtitle-translator
Oil tubing: