Ultimate recommended translation setting with Quality in mind #257
Replies: 6 comments 12 replies
|
You're way ahead of me :) My to go is: pass1 aggressive fidelity. It does take longer and it does have more risk of halucination though. |
|
is sematic + ten_vad is the goto for pass 1 now instead of audiotok + silero 6.2? |
|
The "customize parameters" in the ensemble TAB gives you all the levers you need to mix and match. I try to keep the defaults to be optimal for each pipeline but sometimes bugs creep in. Yes, I've noticed as well that the pornify goes way way into fantasy-novel too fast in many of LLMs. |
|
Google releases Gemma4 today with improvement on various aspects, including language processing. So far, I'm quite satisfied with translategemma:12b comparing to qwen. There was some benchmark and translategemma:27b is one of the best translation model right now iirc. Sadly, we need more than 16 GB VRAM for 27b model.
For AI translate, I add translated title + plot from japan sites (database, news, shopping, etc.) to aid. I have translategemma:27b-it running on a mac with 36 GB RAM for this task. I'm thinking of using it for subtitle translation too, but the speed tradeoff would be huge to run without cuda. |
|
I tried Gemma4 debug log - gemma4_debug_log.txt |
|
Was playing around with it some more and thought I'd share some ideas. Again, I'm by no means an expert. Most of this is just through a lot of trial/error. I do run all this locally with a powerful machine but I think the basic concepts are transferable no matter what you are doing. GeneralI opted to utilize the python installation instead of the GUI to give me flexibility in automating most of the process as much as possible with whisperjav's cli. It has several advantages:
I have divided the process in 4 main processes: To accomplish this, I've created 3 powershell scripts Script 1. Preprocessing the AudioGenerating a clean transcribed file may be the most important part of the process as less noise that can confuse and interfere with AI, the better. I wanted to add another layer of preprocessing to what already exists in whisperjav. My Script 1 does:
Script 2. Cleaning up the Transcription even moreI run it through a ollama model whose sole job is to figure out if it's actual dialogue that needs to be stay there to be translated; otherwise it's removed. The idea is that it would allow the AI to have better context to filter out hallucinations before feeding it into the translator. Script 3. TranslationI feed it through another ollama model who's sole job is to translate very strictly. I think technically, you can combine the two ollamas instructions, but my observation/guess is the results are better when ollama only has to worry about 1 job at a time. Failed approachOne thing I tried was to attach role to each transcription line with ollama to give it more clear context on what it's translating. For example: This was very difficult to implement and gave very bad results as the AI needs more clues than just text transcripts to decipher who's speaking. I did try to instruct it to put [Unknown] if it's not 100% sure but ultimately, I felt this would increase the pipeline's complexity too much for so little gain. |

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Greatly appreciate the work.
I was wondering if there's a ultimate setting for high end machine assuming having Faster-Whisper-XXL Pro.
The desire is for accurate translation with irrelevant noise filtered out at the highest quality of translation.
I arrived at this setup just trying to read around but couldn't find a precise place where it says definitively a "best" setting, which I know is hard to specify since everything "depends" on the scenario. But I was wondering if there was anything obvious with current setup that I should look into or swap out.
Transcription
Translation
ollama with mlabonne_gemma-3-27b-it-abliterated-GGUF
Any guidance would be appreciated.
All reactions