BigSalmon commited on
Commit
cf031ee
·
1 Parent(s): db9087c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -12
app.py CHANGED
@@ -18,18 +18,20 @@ device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
18
  tokenizer = AutoTokenizer.from_pretrained("gpt2")
19
  model = AutoModelWithLMHead.from_pretrained("BigSalmon/MrLincoln12")
20
 
21
- g = """informal english: the vice president is not automatically entitled to the nomination, if they are unpopular.
22
- Translated into the Style of Abraham Lincoln: should they be abhorred, the vice president is not above ( sparring with challengers for the nomination / brawling for the nomination / facing a spirited challenge for the nomination / braving a bout for the nomination ).
23
- Translated into the Style of Abraham Lincoln: the office of vice president is no entitlement to the honor of the nomination, should their popularity ( fail to measure up / be in question / be lacking ).
24
- Translated into the Style of Abraham Lincoln: without ( popular backing / public adulation / favorable reviews / a passing consensus ), the vice president ( is not above / cannot hope to dodge / should not think themselves above / should not bank on evading / should not harbor any illusions of skirting ) a nomination challenge.
25
-
26
- informal english: i am sending this to you to tell you of an idea that i have that i really like.
27
- Translated into the Style of Abraham Lincoln: i write this correspondence to bend your ear to a proposition which arouses my keenest interest.
28
-
29
- informal english: railroads keep being overtaken by corporations. it is really bad thing and needs a quality response in a fast way.
30
- Translated into the Style of Abraham Lincoln: railroad after railroad is being absorbed by industrial enterprises, a troubling condition that demands wise and swift action.
31
- Translated into the Style of Abraham Lincoln: every day, another railroad lamentably falls under the sway of monopolistic interests, necessitating swift and sure corrective action.
32
- Translated into the Style of Abraham Lincoln: without fail, one railroad after another succumbs to the tentacles of predatory wealth, inviting expeditious and resolute action.
 
 
33
 
34
  informal english:"""
35
 
 
18
  tokenizer = AutoTokenizer.from_pretrained("gpt2")
19
  model = AutoModelWithLMHead.from_pretrained("BigSalmon/MrLincoln12")
20
 
21
+ g = """informal english: garage band has made people who know nothing about music good at creating music.
22
+ Translated into the Style of Abraham Lincoln: garage band ( offers the uninitiated in music the ability to produce professional-quality compositions / catapults those for whom music is an uncharted art the ability the realize masterpieces / stimulates music novice's competency to yield sublime arrangements / begets individuals of rudimentary musical talent the proficiency to fashion elaborate suites ).
23
+
24
+ informal english: chrome extensions can make doing regular tasks much easier to get done.
25
+ Translated into the Style of Abraham Lincoln: chrome extensions ( yield the boon of time-saving convenience / ( expedite the ability to / unlock the means to more readily ) accomplish everyday tasks / turbocharges the velocity with which one can conduct their obligations ).
26
+
27
+ informal english: broadband is finally expanding to rural areas, a great development that will thrust them into modern life.
28
+ Translated into the Style of Abraham Lincoln: broadband is ( ( finally / at last / after years of delay ) arriving in remote locations / springing to life in far-flung outposts / inching into even the most backwater corners of the nation ) that will ( hasten their transition into the modern age / leap-frog them into the twenty-first century / facilitate their integration into contemporary life ).
29
+
30
+ informal english: national parks are a big part of the us culture.
31
+ Translated into the Style of Abraham Lincoln: the culture of the united states is ( inextricably ( bound up with / molded by / enriched by / enlivened by ) its ( serene / picturesque / pristine / breathtaking ) national parks ).
32
+
33
+ informal english: corn fields are all across illinois, visible once you leave chicago.
34
+ Translated into the Style of Abraham Lincoln: corn fields ( permeate illinois / span the state of illinois / ( occupy / persist in ) all corners of illinois / line the horizon of illinois / envelop the landscape of illinois ), manifesting themselves visibly as one ventures beyond chicago.
35
 
36
  informal english:"""
37