แปล Dialogue เกมเป็นภาษาไทยด้วย LLM
Report Issues
บางครั้งเรามีเกมที่เราชอบมากๆ แต่น่าเสียดายที่เกมนั้นไม่มีแปลไทย (โคตร Sad) จะนั่งแปลเองก็เหนื่อยมากๆ ยิ่งเป็นเกมเนื้อเรื่องยาวๆ 6-8ชม. นี่ไม่ไหวเลย เราก็เลยคิดเอา LLM มาช่วยแปล ตอนแรกก็ว่าจะเก็บไว้ใช้คนเดียว เพราะ CodeBase แย่จัดๆสร้างมาแบบรีบๆแปลได้ก็พอ555 แต่ก็คิดว่าน่าจะมีคนที่อยากได้อะไรแบบนี้เหมือนกัน ก็เอาลง Github ไปใช้กันฟรีๆเลยละกันนะ ใครอยากมาช่วย Contribute ก็เอาเลย
- Fine tune model ด้วยข้อมูลการแปล Dialogues ของทุกๆบทจาก Wuthering Waves
-
Download exe file from Release
-
Should create folder for it. and put exe file in that folder. I don't build setup file yet.
-
Download Ollama from Ollama
-
Open PowerShell or CMD and run this command to download LLM model
ollama pull gemma2
-
Run exe file and enjoy it.
WARNING ⚠️ : This program use a lot of memory and GPU power. If you have a low spec computer, you should use it carefully.
-
First time, you open the program. You will see the 3 buttons.
- Start - Start the program to listen f12 hotkey.
- Overlay - Show the start button overlay if hotkey not work. You can move it by drag and drop.
- Stop - Stop the program.
- Reset Position - Clear the overlay position
-
If you first time use, it will open 2 fullscreen overlay. One is a A1 that for message from people in game. Another one is B1 that for message options you reply.
Note: if after you crop area of screen, it not responsding, Don't worry it's normal and happen just first time.
-
Everytime you use first after open the program, it use a few seconds to load the model. After that, it will be faster.
This's great OCR library, high accuracy and easy to use. You can check it out EasyOCR
Ollama is a great platform for run LLM model. You can check it out Ollama
Gemma2 is developed by Google. This is the best model for dialogue translation that I researched. You can check. Gemma2
Distributed under the MIT License. See LICENSE for more information.
- kang49 | Meta_Keen | Kankawee Aramrak - Software Engineer at TensorMiK - Github
Made with 💖 by Meta_Keen