A WebApp with an AI that takes a normal sentence, and translates it into a more professional sounding one.
Table of Contents
Uses GPT-J with some training prompts to generate professional translations of sentences.
Just an idea that was made for fun.
Python, using GPT-J model via a free public api.
Hosted via Streamlit.
You can use Streamlit if you would like to make your own version, with a less restrictive limit on requests or a different model.
Training prompts are included in training_text.py.
Different settings or API can be set in streamlit_app.py. Streamlit cloud can be used for free hosting.
Go to the demo page and enter a prompt. May need to generate multiple times for a better result. However, there is a limit on requests to the API.
Example:
Enter prompt: I can't work if you keep bothering me.
Generated result: My work is a priority and you're taking it away from me.
Unfortunately, the requests are very limited (20 requests in 30 mins), since I am using a free API for GPT-J.
This project is licensed under the MIT license.
See LICENSE for more information.
Credit to vicgalle for the public GPT-J API, used to generate translations.
Inspiration and training text from @loewhaley on TikTok's "How Do You Professionally Say?" videos.
Public WebApp made and hosted with Streamlit.


