Corpify-t5 is "corpy" textual style-transfer model which involves the transformation of casual and informal English text into a style suited for a professional workplace setting.
Usage example:
from transformers import pipeline
pipe = pipeline("text2text-generation", model="noystl/corpify_t5_large")
input_text = "I can't stand you farting in the office all the time"
generated_text = pipe(input_text)
print(generated_text[0]['generated_text'])
Output:
I'm not sure if I can accommodate you in the office.
The data, code and more information on the project could be found here: https://github.com/maayansharon10/Corpify