Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Informal to Formal:
|
2 |
+
```
|
3 |
+
from transformers import AutoTokenizer, AutoModelWithLMHead
|
4 |
+
|
5 |
+
tokenizer = AutoTokenizer.from_pretrained("BigSalmon/InfillFormalLincoln")
|
6 |
+
model = AutoModelWithLMHead.from_pretrained("BigSalmon/InfillFormalLincoln")
|
7 |
+
```
|
8 |
+
|
9 |
+
```
|
10 |
+
https://huggingface.co/spaces/BigSalmon/GPT2 (The model for this space changes over time)
|
11 |
+
```
|
12 |
+
|
13 |
+
```
|
14 |
+
https://huggingface.co/spaces/BigSalmon/GPT2_Most_Probable (The model for this space changes over time)
|
15 |
+
```
|
16 |
+
|
17 |
+
```
|
18 |
+
https://huggingface.co/spaces/BigSalmon/GPT2Space (The model for this space changes over time)
|
19 |
+
```
|
20 |
+
|
21 |
+
```
|
22 |
+
How To Make Prompt:
|
23 |
+
informal english: i am very ready to do that just that.
|
24 |
+
Translated into the Style of Abraham Lincoln: you can assure yourself of my readiness to work toward this end.
|
25 |
+
Translated into the Style of Abraham Lincoln: please be assured that i am most ready to undertake this laborious task.
|
26 |
+
|
27 |
+
informal english: space is huge and needs to be explored.
|
28 |
+
Translated into the Style of Abraham Lincoln: space awaits traversal, a new world whose boundaries are endless.
|
29 |
+
Translated into the Style of Abraham Lincoln: space is a ( limitless / boundless ) expanse, a vast virgin domain awaiting exploration.
|
30 |
+
|
31 |
+
informal english: corn fields are all across illinois, visible once you leave chicago.
|
32 |
+
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.
|
33 |
+
|
34 |
+
informal english:
|
35 |
+
````
|
36 |
+
|
37 |
+
```
|
38 |
+
infill: increasing the number of sidewalks in suburban areas will [MASK].
|
39 |
+
Translated into the Style of Abraham Lincoln: increasing the number of sidewalks in suburban areas will ( ( enhance / maximize ) community cohesion / facilitate ( communal ties / the formation of neighborhood camaraderie ) / forge neighborly relations / lend themselves to the advancement of neighborly ties / plant the seeds of community building / flower anew the bonds of friendship / invite the budding of neighborhood rapport / enrich neighborhood life ).
|
40 |
+
|
41 |
+
infill: corn fields [MASK], [MASK] visibly as one ventures beyond chicago.
|
42 |
+
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.
|
43 |
+
|
44 |
+
infill: the [MASK] the SAT will soon be [MASK]. [MASK] an examination undertaken on one's laptop. [MASK] will allow students to retrieve test results promptly.
|
45 |
+
Translated into the Style of Abraham Lincoln: the ( conventional form of ) the SAT will soon be ( consigned to history ). ( replacing it will be ) an examination undertaken on one's laptop. ( so doing ) will allow students to retrieve test results promptly.
|
46 |
+
|
47 |
+
infill:
|
48 |
+
```
|