prajwalcr commited on
Commit
b935e2a
0 Parent(s):

initial commit

Browse files
.gitattributes ADDED
@@ -0,0 +1 @@
 
1
+ pytorch_model.bin filter=lfs diff=lfs merge=lfs -text
added_tokens.json ADDED
@@ -0,0 +1 @@
 
1
+ {"<|startoftext|>": 50257, "<|pad|>": 50258}
config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "gpt2",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2LMHeadModel"
6
+ ],
7
+ "attn_pdrop": 0.1,
8
+ "bos_token_id": 50256,
9
+ "embd_pdrop": 0.1,
10
+ "eos_token_id": 50256,
11
+ "gradient_checkpointing": false,
12
+ "initializer_range": 0.02,
13
+ "layer_norm_epsilon": 1e-05,
14
+ "model_type": "gpt2",
15
+ "n_ctx": 1024,
16
+ "n_embd": 768,
17
+ "n_head": 12,
18
+ "n_inner": null,
19
+ "n_layer": 12,
20
+ "n_positions": 1024,
21
+ "resid_pdrop": 0.1,
22
+ "scale_attn_weights": true,
23
+ "summary_activation": null,
24
+ "summary_first_dropout": 0.1,
25
+ "summary_proj_to_labels": true,
26
+ "summary_type": "cls_index",
27
+ "summary_use_proj": true,
28
+ "task_specific_params": {
29
+ "text-generation": {
30
+ "do_sample": true,
31
+ "max_length": 50
32
+ }
33
+ },
34
+ "transformers_version": "4.6.1",
35
+ "use_cache": true,
36
+ "vocab_size": 50259
37
+ }
generated_poems.txt ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ He has got her, and I'll have her too."
2
+ She looks, as he bids, like a great cat,
3
+ And then like an all-day damsel.
4
+
5
+ And then, lo! each changing course,
6
+ To join on with the others,
7
+ Comes the last one after them.
8
+
9
+ Yet I know that I am not born,
10
+ I only have eyes
11
+ That shine as though she was mine
12
+ In the morning skies.
13
+
14
+ Sings,
15
+ For months, if he lingers,
16
+ When the flowers at his feet
17
+ Flutter,
18
+ The little wind takes the light
19
+ That morning through the air.
20
+
21
+ She'll see a light about her,
22
+ And a golden chain about her neck,
23
+ And a golden hat about her head.
24
+
25
+ Hos tibi quod tecum uincos annos
26
+ Deinde nostris, nec domo uolucris
27
+ Cum te quos dedit fuit quisque uidetur.
28
+
29
+ 'Twas not for us to look down,
30
+ And take the place which we would;
31
+ And then we should be
32
+ 'Twixt these walls and those walls of clay,
33
+ 'Twixt these stones and the wall of night.
34
+
35
+ Para que es en la arena
36
+ De manto, es por quema
37
+ Porque se quiere el mar.
38
+
39
+ And thou'st for the best of what thou'st, and for the best, and to make
40
+ Of what thou'st and of what thou'st, and how, and what thou'ret best,
41
+ And if thou'st the work, and if thee'st the rest, then
42
+ Thou'lt find it worth while. For if it's made for thee,
43
+ Thou'lt find it not.
44
+
45
+ Hosomeneus was a wealthy man:
46
+ He had his own store of gold,
47
+ And built his own palace on the hill.
48
+
49
+ I was a bachelor, and all my life I'd dreamed
50
+ Of being the king of men;
51
+ And my wife would give no thanks,
52
+ If I should question her,
53
+ For I'd say the things she would know.
54
+
55
+ The day I woke was golden, and I saw
56
+ The face of the woman I loved, with the flower
57
+ On her cheek, and breathing through her hair.
58
+
59
+ The last I shall see, the last I will hear,
60
+ And not one soul shall know that my song
61
+ Endued in song, as the song ended in song.
62
+
63
+ I had looked in vain for aught but a rose,
64
+ As yet to think, to see, so beautiful,
65
+ As ever has shone on a fair flower.
66
+
67
+ Then the red-headed Dapple,
68
+ Shaking his head, looked down at the three
69
+ And down at the moon.
70
+
71
+ I'll give my life for one another's;
72
+ I'll give my life to none but one God;
73
+ In the world I'll give to one.
74
+
75
+ Sic brevis luctis amore et in corpore;
76
+ non est aetas aerens amore tributa tibi:
77
+ si quidquid esse amoris ubi est noui.
78
+
79
+ He took them home, and soon set them down
80
+ In a chest at the door of his room,
81
+ And asked them if they knew
82
+ What the moon was about.
83
+
84
+ The lasses come and go,
85
+ While the maidens stay;
86
+ The idle, beardless
87
+ Lords are gone,
88
+ And the rustic crows are gone.
89
+
90
+ Sae tengo, sae tengo,
91
+ I nimber, ne fengo,
92
+ I nimber i'm staie.
93
+
94
+ Cui qui primus puer, me qui portat?
95
+ Rome, tua puer, me qui possit quae?
96
+ Cui qui primus puer, me qui portat.
97
+
98
+ Thou shalt be at home and ever at home,
99
+ In the cottage of my dear Lemminkainen,
100
+ In the fairy dell, and the verdant meadows brown,
101
+ In the midden and grove of the great oak,
102
+ In the meadow and forest of the prairie.
103
+
104
+ He spake with an evil spirit,
105
+ And said: "My soul in spirit of yours
106
+ Is like a glass, a void,
107
+ Which should dissolve in the void.
108
+
109
+ Hans Lorbass has been the most active artist since he got out of St. Cloud,
110
+ throughout his life. His poems and works of prose are still
111
+ best displayed by his friends and relatives.
112
+
113
+ There they would ride, and they would talk,
114
+ And talk; and then
115
+ "If only we could go back," he said,
116
+ "I can make it work for us.
117
+
merges.txt ADDED
The diff for this file is too large to render. See raw diff
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9627c1aa66ebdd6aaaf23c18440e35d1f0cb2d77dc69c5f8f93d329bda181f4b
3
+ size 510414459
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
1
+ {"bos_token": {"content": "<|startoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "eos_token": {"content": "<|endoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "unk_token": {"content": "<|endoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "pad_token": "<|pad|>"}
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
1
+ {"errors": "replace", "unk_token": {"content": "<|endoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "bos_token": {"content": "<|startoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "eos_token": {"content": "<|endoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "add_prefix_space": false, "pad_token": "<|pad|>", "model_max_length": 1024, "special_tokens_map_file": null, "tokenizer_file": "/root/.cache/huggingface/transformers/16a2f78023c8dc511294f0c97b5e10fde3ef9889ad6d11ffaa2a00714e73926e.cf2d0ecb83b6df91b3dbb53f1d1e4c311578bfd3aa0e04934215a49bf9898df0", "name_or_path": "gpt2"}
vocab.json ADDED
The diff for this file is too large to render. See raw diff