Styles
Every built-in style, by key. Names are the stable way to select a style; indices follow bank order, which may change between releases as the bank is curated. Each method can have its own banks: the default method (TinyStyler) uses the small curated bank below, the prompting method uses the default style bank.
TinyStyler bank (default method)
TinyStyler transfers formality and social-media voice well, but not
dialects, historical English, or most genres, so it uses its own bank
of styles it demonstrably handles (selected by comparing model outputs
for every style; see evaluations/tinystyler_style_ratings.txt in
the repository).
informal— index 0the real world, the newly weds and laguna beachContact Warner Bros.or just go to ebay.I dont think youll find any
formal— index 1He has a very distinct walk.It's weight measurement is 1, the question is deceptive!
question— index 2Where can I find a good restaurant nearby? There's a great Italian restaurant just arou...How much does this book cost? This book costs $15.
question_answer_forum— index 3I will wait out December 2012, just because I want to be amused when nothing happens an...I just have a few questions about the footage: Does this take place in the second movie?
discussion_forum— index 4I've been recording and mixing music for about 4 years now. My clients are always happy...If this is your first visit, be sure to check out the FAQ by clicking the link above. Y...
obama— index 5Good afternoon, everybody.Let me start out by saying that I was sorely tempted to wear a tan suit today -- (laugh...
formal_speech— index 6Once upon a time, long long ago, I learned how to reduce a fraction to its lowest terms.This is the opening speech crafted by the Unit 4 Bargaining Team and delivered on Octob...
personal_blog— index 7Its been fun to see all of the posts and the difference in the work. In the middle of a...As long as the three of you are all healthy and happy, that's the main thing. Cherish e...
song_lyrics— index 8It would be a pleasure just to know just a little bit more, I could grow quite fond of ...If you want a raise in pay, I'll tell you what to do. Go and ask the boss for it and he...
ddlovato— index 9Can't wait to get back and watch my friend @iamjamiefoxx in his new film that opened th...Guys!! Your chance to win my custom Honda Civic will be up soon! What are you waiting f...
britneyspears— index 10Excited to introduce my new floral fragrance, #FantasyInBloom! Available now at @Kohls ...First #PieceOfMe show of the New Year is tonight!!! Let’s go!!
By name only — these work but are more likely to produce swearing:
spoken_communicationEd Ryder plays the trumpet. He was sentenced to Graterford Penitentiary in Pennsylvania...Oh. Inmates are the most critical people in the world. They criticize anything you do. ...
digital_communicationAt this point you refer them to the police with some made up nonsense about how all the...Wait... So this is exactly as I thought the movie was supposed to be understood. No nec...
other_spokenThe only thing they have to look forward to is hope. And you have to give them hope.Because almost every interesting thing we say was probably said by someone else first. ...
reader_viewer_responsesI can't remember when I last saw a new guitar band promoted on TV or releasing a profes...My partner and I stayed mid week for one night and paid $149 for a deluxe room with bre...
arianagrandemy favorite face in the world ☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️ thanks for guiding me everyday I mis...💛 eighteen days #dangerouswomantour ♡ bts pic by @jonescrow 🤗
Of the surface-level styles, TinyStyler supports the following (by name only):
texting_abbreviationsomg u wont believe what happened 2daybrb gotta grab smth rly quick
exclamationsWe finally did it!This is absolutely amazing!
lowercasei went to the store after work. it was already closed.my sister lives in berlin now. she likes it there.
no_punctuationI went to the market and bought apples bread and cheeseShe asked whether we could come earlier but we said no
all_capsI CANNOT BELIEVE THIS IS HAPPENING RIGHT NOW.THE MEETING STARTS AT NINE SHARP.
Every style is defined by a set of example texts. To print the current style lists and the examples of one style from Python:
from diversify_text.method.tinystyler import TinyStylerMethod
from diversify_text.styles import DEFAULT_STYLE_BANK
print(list(TinyStylerMethod.style_bank))
print(list(DEFAULT_STYLE_BANK))
print(DEFAULT_STYLE_BANK["scottish_english"][:3])
Default style bank
Used by the prompting method. The example texts for these styles
(and for the unusual styles below) are in stylebank.json.
Selectable via n, by name, or by 0-based index. The listing
below (with two example texts per style) is generated from the code
at every docs build:
digital_communication— index 0At this point you refer them to the police with some made up nonsense about how all the...Wait... So this is exactly as I thought the movie was supposed to be understood. No nec...
informational— index 1Want to get involved with sociological imagination.org? Hi all -- we're trying to recru...It's back to school time. Typically, the way school works is: young people learn from a...
spoken_communication— index 2Ed Ryder plays the trumpet. He was sentenced to Graterford Penitentiary in Pennsylvania...Oh. Inmates are the most critical people in the world. They criticize anything you do. ...
lyrical— index 3(mick ralphs) [ Lyrics from: http://www.lyricsfreak.com/m/mott+the+ho\\... ] It would b...Today Has Been A Fucked Up Day Lyrics Today has been a fucked up day Today has been a f...
scottish_english— index 4The boat I had, was a seventy-two foot boat. She was built in Joneses-Slip in nineteen-...There was just your mam and your dad and me and Joe.
interactive— index 5Open Question I want to have sex with my guy friend? There's this guy( lets call him Lu...This isn't a feature that email has, though no doubt some one will have put it in as a ...
britneyspears— index 6Excited to introduce my new floral fragrance, #FantasyInBloom! Available now at @Kohls ...First #PieceOfMe show of the New Year is tonight!!! Let’s go!!
late_modern_english— index 7But not to insist upon a Privilege I do not need: I answer again that all those Argumen...And I wonder how it should enter into so many Men's Heads, as it does, to imagine that ...
earlier_african_american_vernacular_english— index 8And he aimed de gun right middle-way of this pixschure [picture].an' they had a man there [zero-relative] to make shoes for all us.
age_55-74— index 9During the week we stopped in this town. A lot of people have visited here. The sign is...Marin, who had spent 7 days being a caregiver, decided to have a solitary day to enjoy ...
jamaican_creole— index 10yu refa to dem as gyangz – diiz kruu, yu sia waan sii if a kyan jraa wan yier nou
barackobama— index 11Tonight, President Obama reflects on eight years of progress. Watch the #FarewellAddres...In the weekly address, President Obama discusses what #Obamacare has done to improve he...
narrative— index 12Recovery To Take 'Quite A Long Time' In Storm-Ravaged Breezy Point To hear more cloudca...VIDEO // Sophia Grace & Rosie Go to the Grammys I know I have posted about Sophia Grace...
instructional— index 13Get Your Vanity Facebook URL -- no matter how many likes you have A short but sweet pos...Easy Tutorial On How to Create A Letter Pressed Text Effect Today we're revisiting the ...
arianagrande— index 14my favorite face in the world ☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️ thanks for guiding me everyday I mis...💛 eighteen days #dangerouswomantour ♡ bts pic by @jonescrow 🤗
welsh_english— index 15uh a long long time ago my two brothers George and Ralph and myself went to the Isle of...All youse lot come with me the rest of you stay where youse is.
opinion— index 16“ If you believe the hype, it would be crazy to try and be competitive (or even compete...You Do The Thinking I'll give the statement, without commentary. You get to do the thin...
bahamian_creole— index 17If you know what we considering about you, you consider too,' Booky say. 'What he is?'And all of the smaller set gone live with we granddaddy. And after he dead, then they c...
persuasive— index 18A LITTLE BIT OF HEAVEN is a love story set in New Orleans about an irreverent young wom...News To You What's Happening on Facebook Want to get the latest announcements, travel t...
cristiano— index 19The Best FIFA 2016 award is already available in my Museu CR7 👌🔝Driving into 2017, another dream year ahead #DontCrackUnderPressure #tagheuer @TAGHeuer
age_18-24— index 20We decided to take a day exploring. When suddenly we came across a beautiful lighthouse...The female was at the meeting. The speaker pulled out an original script. She presented...
age_25-34— index 21Lucy is a wild female out for the night. She started with taking a photo with friends. ...He was frequently the target for mocking snap chat photos, seeing as he always dressed ...
early_modern_english— index 22THE CVRE OF THE PLAGUE BY AN ANTIDOTE CALLED AURUM VITAE.Ruff. I have cast all doubts, and know how it may be compa^.
vernacular_liberian_english— index 23Me and my friend was together, until me and my boyfriend met.He and myself fall into love, and then I got pregnant
age_35-44— index 24There is an amazing sculpture with four beams meeting in the middle. That night there w...A visit to the park with a great family. The guys are riding and having fun. Now it's d...
age_45-54— index 25We took a vacation for a week and went to all the famous ruins in Europe. There are a t...The juvenile class gathered for a tour of the jail. The prisoners were moved to another...
ddlovato— index 26Can't wait to get back and watch my friend @iamjamiefoxx in his new film that opened th...Guys!! Your chance to win my custom Honda Civic will be up soon! What are you waiting f...
pakistani_english— index 27Yet sugar has gained a bad reputation through the preaching of many goody-goody doctors...Juanaid and me went to our favourite restaurant in Zamzama.
jimmyfallon— index 28.@michaelstrahan and @BryceDHoward take on @questlove and I in an intense game of Pyram...Tonight on the show: @michaelstrahan and Bryce Dallas Howard are here, plus @BebeRexha ...
tanzanian_english— index 29a team of lecturers and me can visit your Faculty and hold further discussionchangu (sea fish), machangu (sea fishes), mtambo (factory), linapukutisha (It shades)
education_bachelor— index 30The dog was ready to go. The dog was ready to go. The dog was ready to go. The dog was ...We woke up in time to go out on the sled. We played in the snow all day. We came in to ...
jtimberlake— index 31Branch’s face says it all … Happy #NationalHuggingDay! @Trolls #TrollsHugDayThank you to EVERYONE that voted for Favorite Song and Favorite Male Artist. I'm truly ...
australian_english— index 32She's a twenty point five metre sloop again designed by Kel Steinman an AustralianI think it's better to wait 'til after she's had the thing [=Christmas dinner]
education_edu-associatedegree— index 33Two bikers were biking around San Francisco and saw the Golden Gate Bridge. They decide...It was their first date together. They went to the sting ray petting zoo. And stood in ...
justinbieber— index 34RT to Send my boy Chris Paul @CP3 to the NBA All-Star Game #NBAVote #retweettovoteMy sister has a YouTube channel. Proud of you Jazzy.
ghanaian_english— index 35Just write "I I" and leave the thing [note] inside and pick your file away.When he wanted to marry him she said he would wait till he had finished her education.
education_highschool— index 36The men are getting ready to have a nice dinner with some wine. That bowl was filled wi...The team huddled to talk strategy Afterward they lined up and knelt on the ground When ...
katyperry— index 37@barackobama Thank you for your incredible grace in leadership and for being an excepti...happy 96th gma #fourmoreyears! 🎈 @ LACMA Los Angeles County Museum of Art
newfoundland_english— index 38Now I could be wrong, don't quote me on that. I could be wrong, but I think it better s...Like, when I was younger me and my dad and mom and my brother and sister used to sit ar...
education_master— index 39Marin, who had spent 7 days being a caregiver, decided to have a solitary day to enjoy ...A man speaks to the crowd. Cheerleaders were there as well to pump up the crowd. A socc...
ladygaga— index 40#WomensMarchOnWashington I'm so proud to be a woman alive during this time. Look how st...With this faith, we will be able to work together, to pray together, to struggle togeth...
liberian_settler_english— index 41Once me and my father was coming from the same Greensville, the canoe turn over.If they are respectable, obedient, know how to carry themself, they will get good husba...
education_nodegree— index 42Today I experience my first great type of bbq. I took pictures with my camera to docume...The smog covered the city. Every day, it's citizens breath the nasty air. The citizens ...
rihanna— index 43My new fragrance #RiRiKiss is available now, look for it @macys! Order it here —>Navy, get a chance at prizes from #FENTYXPUMA, Dior, and more when you donate to the @C...
education_tradeortechnicalorvocationaltraining— index 44I love to travel, so when I first heard of these masterpieces I just had to see them fo...My sister is the best at hitting the volleyball. My sister hit the ball hard enough to ...
selenagomez— index 45Such a memorable show in Sydney tonight.. I'll never forget this one. Thanks for singin...After years of work from so many incredible people -I'm getting so excited/emotional ab...
belizean_creole— index 46dat da we a layk wid a, en i gat gud tu mi raytWi me de luk fu rowp wan taym, mi en Riko
ethnic_caucasian— index 47We went on a ski trip with the family. My sister had lots of fun. I fell off a cliff wi...They went to the ice show. They took a photo at their seats. The quality of the product...
shakira— index 48With fellow SDG advocate @ForestWhitaker at the world economic forum (@wef) -education ..."No podemos hacer una pausa y pedirle a estos niños que nos esperen" Vean/lean el discu...
kenyan_english— index 49My brother and myself live far away from our parental home.Those books are very informative. It can be obtained at the Text Book Centre.
gender_female— index 50A Japanese sign can be seen. A huge ferris wheel is shown in the distance. The view of ...As usual, I spent Thanksgiving with the family. This shocked male is my roommate, who n...
taylorswift13— index 51#LiveByNight is out now! Check out the guy in the back with the really strong vest game...Spending today with my family, thinking of those families who lost someone 15 years ago...
channel_islands_english— index 52Me and my cousin were looked after by a nanny.I thought I might as well go on me own.
gender_male— index 53The first half was market by some really big plays, such as the Charger's right end cat...A man speaks to the crowd. Cheerleaders were there as well to pump up the crowd. A socc...
irish_english— index 54And me and Jamesie Clare, we lived in the one houseI was coming from school one day, meself and three other lads
politics_centrist— index 55The lines formed with graduates for the ceremony. The male pretended to be happy about ...I woke up to this sight on christmas eve. The neighbors did not like that i was taking ...
jamaican_english— index 56An attempt to turn the Caribbean into a destination for toxic wastes.You were speaking of some of the contribution that Oliver Jones has made
politics_leftwing— index 57The newly opened ruins were a source of fascination and amazement. The group of archaeo...I wished Stacie would stop taking pictures Cut it out, Stacie, you're annoying. I took ...
hong_kong_english— index 58These knowledges are important. It can help us get a job in the field.As I said it before, inflation rate is going to increase.
falkland_islands_english— index 59So the Bransfield is the BAS ship then? Yeah she was the sort of kingpin until they bro...Me and granddad went fishing and got a nine pounder
ethnic_african— index 60Accident in the middle of the road that's not good. Well this image is not showing so I...The people are headed to the noon festival to have fun. All the people are gathered tog...
aboriginal_english— index 61We went right around and we saw a thing and all the all the things old things in the th...And we chased e emu up the flat. Then, then when we caught 'im we killed 'im
ethnic_eastasian— index 62I went to church. I prayed and lit candles. I went and prayed to the saints. The stain-...They started a project to get involved. They ended up going bankrupt. They reevaluated ...
malaysian_english— index 63Give me five minute to pack the thing for you.Siti Nurhalizah ah, when he sing Malay song so nice.
ethnic_hispanicorlatino— index 64And to it starts! So many people in the parade! Some wear traditional garments or dress...I woke up to this sight on christmas eve. The neighbors did not like that i was taking ...
barbadian_creole— index 65When we dun plan we wedding, we did dog tired.Wunna in see de tiicher waitin fo wunna to stop taakin?
ethnic_other— index 66The boy woke up early, got dressed and sat down for breakfast. He thanked his mother fo...they are taking the Ladies to local market for shopping lots of fruit and veg in the st...
palmerston_english— index 67Well last month we saw a seal here. And then the thing just went out and just disappeared.Can't you hit that girl? Why don't you hit it then?
education_doctorate— index 68Jenna is really concentrating before the she started singing. Here's Jay making sure hi...We decided we should take our trip by train. I had never been on a train and it was exc...
trinidadian_creole— index 69Me and Reggie does eat pepper, but she don't like itRoger and myself were running late, but we got there before she started
education_some_highschool_no_diploma— index 70Where the hell am I Sam asked out loud as he observed the world of only X All the build...A woman sitting at a table tells another woman to sign a paper. An elderly woman digs t...
indian_english— index 71When I come back from my work just travel back to my home.My old life I want to spend it in India.
ethnic_southasian— index 72This weekend we went on a vacation. We saw a lot of cool buildings. We visited these be...I woke up as my train pulled through the woods. I had breakfast as we wound through som...
croker_island_english— index 73You two guys can go back to the thing and start working.I don't know what he brought it and then give it to him [her].
ugandan_english— index 74The park is full of cars. It is going to different destinations.A: Did you bring Matooke? – B: No, Ø will bring Ø tomorrow
english_dialects_in_the_southwest_of_england— index 75This is another pot and saucer. A bit dusty! You see that one isn't exactly glazed prop...I've got a barley fork out there and I've had him there for years. I used to have him w...
indian_south_african_english— index 76Rani and me wanted to walk but it started raining.Daffale (= 'he' < that fellow) is such a rogue.
manx_english— index 77an rats an things runnin all over the barn; turn the thing off!why didn' yer move to the man, yer big toot, yer?
white_zimbabwean_english— index 78She tried to start the car but the bloody thing wouldn't goAs he found it, it was worse; I hate it that she gets to go home
eastern_maroon_creole— index 79Da i luku a ini a [pointing at cupboard], da i luku na a sani [=cupboard] ondoo, i o si...A baafu patu fu mi, da i diki en kon gi mi tu.
vincentian_creole— index 80Di TV naa wuhk god. Wen yo tuhn aan di ting i naa kum aan.Di man/Di woman/Di leta riich. I de in di ruum.
politics_rightwing— index 81Today we went to my girlfriends grandmas birthday party. We got to read to her niece. G...People loved the boat rides. They love to travel on the boat to look the whale watch. S...
Unusual styles
Too far from contemporary English to be useful defaults. Selectable by name only. Examples are in stylebank.json.
middle_englishWhat, why dedyst thou wynk whan thou a wyf toke?By a good howsbande thys tale shal be tolde.
old_englishAc gif heora hwilc oþerne feorran geseah wið his weard he sona of þam siðfæte beah and ...Ac reowlic þing þær gelamp on dæg. þæt þa Frencisce men bræcen þone chor torfedon towær...
Surface-level styles
Surface manipulations of the text, defined by example texts. The examples are in surfacebank.json. Also selectable by name only:
all_capsI CANNOT BELIEVE THIS IS HAPPENING RIGHT NOW.THE MEETING STARTS AT NINE SHARP.
lowercasei went to the store after work. it was already closed.my sister lives in berlin now. she likes it there.
no_punctuationI went to the market and bought apples bread and cheeseShe asked whether we could come earlier but we said no
exclamationsWe finally did it!This is absolutely amazing!
passive_voiceThe cake was baked by my grandmother.The report was written in a single afternoon.
active_voiceMy grandmother baked the cake.I wrote the report in a single afternoon.
texting_abbreviationsomg u wont believe what happened 2daybrb gotta grab smth rly quick
Zero-shot bank
Used by the zero_shot method. Each style is defined by one rewrite
instruction for the language model instead of example texts.
Selectable via n, by name, or by 0-based index:
formal— index 0Here is some text: [DOCUMENT SEGMENT]. Output only the rewrite, nothing else. Here is a rewrite of the text, which is more formal:
simple— index 1Please rewrite the following complex sentence in order to make it easier to understand by non-native speakers of English. You can do so by replacing complex ...
complex— index 2Please rewrite the following simple sentence in order to make it more complex and sophisticated. You can do so by replacing simple words with more elaborate ...
caps— index 3Here is some text: [DOCUMENT SEGMENT]. Output only the rewrite, nothing else. Here is a rewrite of the text, which is in ALL CAPS:
lowercase— index 4Here is some text: [DOCUMENT SEGMENT]. Output only the rewrite, nothing else. Here is a rewrite of the text, which is in all lower case:
text_emojis— index 5Here is some text: [DOCUMENT SEGMENT]. Output only the rewrite, nothing else. Here is a rewrite of the text, which includes text emojis like :-) or ;-D:
less_common_verbs— index 6Here is some text: [DOCUMENT SEGMENT]. Output only the rewrite, nothing else. Here is a rewrite of the text, which uses less common verbs:
wikipedia— index 7For the following paragraph give me a diverse paraphrase of the same in high quality English language as in sentences on Wikipedia. Output only the paraphras...
humanize— index 8I need to modify a machine-generated text to make it appear more like it was written by a human. The objective is to introduce elements commonly found in hum...
article— index 9Transform the document into a magazine-style feature article. Open with an engaging lead, then blend narrative storytelling with factual explanation. Maintai...
commentary— index 10Summarize the document in a concise paragraph that captures its central arguments or findings. Then, write an expert commentary that critically reflects on i...
discussion— index 11Reformulate the document as a dialogue between a teacher and a student. The teacher should guide the student toward understanding the key points while clarif...
explanation— index 12Rewrite the document to provide clear scientific or logical explanations for concepts, phenomena, or processes mentioned in the text. Make implicit reasoning...
faq— index 13Rewrite the document as a comprehensive FAQ (Frequently Asked Questions). Extract or infer the key questions a reader would have about this topic, then provi...
math— index 14Rewrite the document to create a mathematical word problem based on the numerical data or relationships in the text. Provide a step-by-step solution that sho...
narrative— index 15Rewrite the document as a clear narrative that emphasizes the temporal sequence and causal relationships between events or steps. Reorganize the content to s...
table— index 16Rewrite the document as a structured table that organizes the key information, then generate one question-answer pair based on the table. First extract the m...
tutorial— index 17Rewrite the document as a clear, step-by-step tutorial or instructional guide. Use numbered steps or bullet points where appropriate to enhance clarity. Pres...