Tool RPGM DazedMTLTool - A tool that provides quality MTL translations using ChatGPT

May 21, 2018
56
38
Your pip is broken for some reason. Use the get-pip method here to fix.
I followed the steps on the page that you have passed me, now I only need these 2 things, the tiktoken and the aoihttp, I had to install visual studio build tools to install the rest, but now I don't know where I can get it or how to install it. 1700201831452.png
 

dazedanon

Engaged Member
Modder
Uploader
Donor
Jul 24, 2017
2,067
19,148
I followed the steps on the page that you have passed me, now I only need these 2 things, the tiktoken and the aoihttp, I had to install visual studio build tools to install the rest, but now I don't know where I can get it or how to install it. View attachment 3092963
You shouldn't actually need anything other than pip and python to install those dependencies which is how I know its an error with your python or pip installation. Someone else had this error and they fixed it after reinstalling everything related to pip and python and restarting their pc, terminal, etc. can only recommend you do the same since those dependencies are needed and I'm unsure of the exact cause of that issue.
 
  • Like
Reactions: jaden_yuki
May 21, 2018
56
38
I followed the steps on the page that you have passed me, now I only need these 2 things, the tiktoken and the aoihttp, I had to install visual studio build tools to install the rest, but now I don't know where I can get it or how to install it. 1700202619528.png
Your pip is broken for some reason. Use the get-pip method here to fix.
 

HellishGaming

Newbie
Oct 14, 2017
30
153
This is pretty great stuff, but I would be careful using OpenAI to translate explicit content, usually you don't get banned at first, but after you pump enough stuff through the pipe your account starts throwing flags to OpenAI, but usually they send you a warning email before they terminate your account, I would stop after getting that email.
 

m4kro

Formerly 'm5kro'
Feb 7, 2020
363
329
Hey dazedanon I've modified the code a bit (based on older version) to support self hosted or other API's but I'm debating if I should sync and create a pull request as you mentioned that organization keys are absolutely necessary in .

I've tried it out with a free api (took two days because of 1 thread limit) and my own self hosted one and it seems to work without an organization but I haven't really done much testing to see if anything is screwed up.

I attached the json files I tested with. The game is RJ423458
 
  • Like
Reactions: jaden_yuki

dazedanon

Engaged Member
Modder
Uploader
Donor
Jul 24, 2017
2,067
19,148
Hey dazedanon I've modified the code a bit (based on older version) to support self hosted or other API's but I'm debating if I should sync and create a pull request as you mentioned that organization keys are absolutely necessary in .

I've tried it out with a free api (took two days because of 1 thread limit) and my own self hosted one and it seems to work without an organization but I haven't really done much testing to see if anything is screwed up.

I attached the json files I tested with. The game is RJ423458
I think its only necessary if you are using the official API. If you've modified it to use local ones or others then yeah you probably don't need it.

I'm actually curious how you got it working without completely changing the translateGPT function since it uses the official openai API library at the moment.

As for syncing and merging, I like those QOL changes you made so I think it will be worth it.
 
  • Like
Reactions: m4kro

m4kro

Formerly 'm5kro'
Feb 7, 2020
363
329
I think its only necessary if you are using the official API. If you've modified it to use local ones or others then yeah you probably don't need it.

I'm actually curious how you got it working without completely changing the translateGPT function since it uses the official openai API library at the moment.

As for syncing and merging, I like those QOL changes you made so I think it will be worth it.
Pull request has been made, as for the openai library there's a little known variable:
openai.api_base

that doesn't show up in the docs and it lets you change the API link.
 

Pacheco 50025

New Member
Feb 22, 2022
2
1
Good afternoon, I have seen your MTL translation tool and I wanted to try to use it but I don't know how to do it, that's why I was wondering if you could make a video following the steps you put in github, thank you very much for your time.
 

dazedanon

Engaged Member
Modder
Uploader
Donor
Jul 24, 2017
2,067
19,148
Good afternoon, I have seen your MTL translation tool and I wanted to try to use it but I don't know how to do it, that's why I was wondering if you could make a video following the steps you put in github, thank you very much for your time.
Maybe one day when its stable but for now too busy with development and translation.
 

Toweke

Member
Oct 27, 2017
185
402
Haven't tried it. I have no idea what the cost of it is and Bard is generally considered worst than GPT4 so I just haven't bothered looking into it.
Maybe it's worth revisiting this idea now that Gemini Pro just came out to Bard. It is particularly known for being lightning fast, and from what people have said & my own testing, I would say it's maybe a step above ChatGPT, but still below GPT-4. Reportedly it is less censored than ChatGPT is as well right now, though it seems you got around that with the API anyway.

Personally I'd be interested in running this on localhosted models as they have gotten quite good, although I wasn't able to test any as good as ChatGPT yet. I mostly used 7B and 13B, and 7B is a miss but 13B can be tentatively passable, which makes me think the 34b - 70b models may be pretty good. I have heard some say they can approach GPT-4 in some areas already. I'm getting a 7900 XTX in a few days and will have the VRAM to try them out, so may come back and comment then.
 
  • Like
Reactions: dazedanon

dazedanon

Engaged Member
Modder
Uploader
Donor
Jul 24, 2017
2,067
19,148
Maybe it's worth revisiting this idea now that Gemini Pro just came out to Bard. It is particularly known for being lightning fast, and from what people have said & my own testing, I would say it's maybe a step above ChatGPT, but still below GPT-4. Reportedly it is less censored than ChatGPT is as well right now, though it seems you got around that with the API anyway.

Personally I'd be interested in running this on localhosted models as they have gotten quite good, although I wasn't able to test any as good as ChatGPT yet. I mostly used 7B and 13B, and 7B is a miss but 13B can be tentatively passable, which makes me think the 34b - 70b models may be pretty good. I have heard some say they can approach GPT-4 in some areas already. I'm getting a 7900 XTX in a few days and will have the VRAM to try them out, so may come back and comment then.
So they say but I'll believe it when its out. Bard's content filter was impossible to bypass for me. Let me know how local models go, I do know they struggle with speed, but might not be so bad of it can maintain the translation quality.
 

Toweke

Member
Oct 27, 2017
185
402
So they say but I'll believe it when its out. Bard's content filter was impossible to bypass for me. Let me know how local models go, I do know they struggle with speed, but might not be so bad of it can maintain the translation quality.
For references sake, what sort of token/s rate do you get from ChatGPT API? And does that take long to translate say a small game?
 

dazedanon

Engaged Member
Modder
Uploader
Donor
Jul 24, 2017
2,067
19,148
For references sake, what sort of token/s rate do you get from ChatGPT API? And does that take long to translate say a small game?
Small games can take an hour max for all the text usually. It takes long for me to format things and make edits to the code, UI, pictures, etc.

Currently, its about $20 to GPT4 a small game on average.
 

fredsoza

New Member
Sep 30, 2021
7
1
Gonna leave this one here as a suggestion, wanted to play ever since i saw the animations:

"Iyashinbo The Motion"


Could be quite hard, if not impossible since game engine is pretty weird.

Anyway, would the translation tool you developed, work with a proxy?

Don't know how much you heard of that already, but some people make proxies for Claude and GPT
where you pass a link, and a key for the proxy, and make api calls for free.

(The proxies are fed stolen key's that were scrapped, basically)

Could save you some bucks, basically free translation.