TharunSiva commited on
Commit
f80c0f1
·
verified ·
1 Parent(s): e7a8496

Upload 6 files

Browse files
Files changed (6) hide show
  1. app.py +18 -0
  2. input.txt +0 -0
  3. mini-gpt.pth +3 -0
  4. model.py +200 -0
  5. more.txt +390 -0
  6. requirements.txt +2 -0
app.py ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ from model import *
3
+
4
+ DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
5
+
6
+ model = GPTLanguageModel().to(DEVICE)
7
+ model.load_state_dict(torch.load("mini-gpt.pth",map_location=DEVICE), strict=False)
8
+ model.eval()
9
+ answer = decode(model.generate(context, max_new_tokens=1000)[0].tolist())
10
+
11
+ def display(text,number):
12
+ combined_text = text + answer[:number + 1]
13
+ return combined_text
14
+
15
+ input_box = gr.Textbox(label="Story Lines",value="Once Upon a Time")
16
+ input_slider = gr.Slider(minimum=500, maximum=1000, label="Select the maxium number of tokens/words:",step=100)
17
+ output_text = gr.Textbox()
18
+ gr.Interface(fn=display, inputs=[input_box,input_slider], outputs=output_text).launch()
input.txt ADDED
The diff for this file is too large to render. See raw diff
 
mini-gpt.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c1c86b050a99e05dd53d95f6aff1ddc5773e5d35372916f920edbfecb747797
3
+ size 52658082
model.py ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import torch
2
+ import torch.nn as nn
3
+ from torch.nn import functional as F
4
+
5
+ # hyperparameters
6
+ batch_size = 64 # how many independent sequences will we process in parallel?
7
+ block_size = 256 # what is the maximum context length for predictions?
8
+ max_iters = 5000
9
+ eval_interval = 500
10
+ learning_rate = 3e-4
11
+ device = 'cuda' if torch.cuda.is_available() else 'cpu'
12
+ eval_iters = 200
13
+ n_embd = 384
14
+ n_head = 6
15
+ n_layer = 6
16
+ dropout = 0.2
17
+ # ------------
18
+
19
+ torch.manual_seed(1337)
20
+
21
+ # wget https://raw.githubusercontent.com/karpathy/char-rnn/master/data/tinyshakespeare/input.txt
22
+ with open('input.txt', 'r', encoding='utf-8') as f:
23
+ text = f.read()
24
+
25
+ # here are all the unique characters that occur in this text
26
+ chars = sorted(list(set(text)))
27
+ vocab_size = len(chars)
28
+ # create a mapping from characters to integers
29
+ stoi = { ch:i for i,ch in enumerate(chars) }
30
+ itos = { i:ch for i,ch in enumerate(chars) }
31
+ encode = lambda s: [stoi[c] for c in s] # encoder: take a string, output a list of integers
32
+ decode = lambda l: ''.join([itos[i] for i in l]) # decoder: take a list of integers, output a string
33
+
34
+ # Train and test splits
35
+ data = torch.tensor(encode(text), dtype=torch.long)
36
+ n = int(0.9*len(data)) # first 90% will be train, rest val
37
+ train_data = data[:n]
38
+ val_data = data[n:]
39
+
40
+ # data loading
41
+ def get_batch(split):
42
+ # generate a small batch of data of inputs x and targets y
43
+ data = train_data if split == 'train' else val_data
44
+ ix = torch.randint(len(data) - block_size, (batch_size,))
45
+ x = torch.stack([data[i:i+block_size] for i in ix])
46
+ y = torch.stack([data[i+1:i+block_size+1] for i in ix])
47
+ x, y = x.to(device), y.to(device)
48
+ return x, y
49
+
50
+ @torch.no_grad()
51
+ def estimate_loss():
52
+ out = {}
53
+ model.eval()
54
+ for split in ['train', 'val']:
55
+ losses = torch.zeros(eval_iters)
56
+ for k in range(eval_iters):
57
+ X, Y = get_batch(split)
58
+ logits, loss = model(X, Y)
59
+ losses[k] = loss.item()
60
+ out[split] = losses.mean()
61
+ model.train()
62
+ return out
63
+
64
+ class Head(nn.Module):
65
+ """ one head of self-attention """
66
+
67
+ def __init__(self, head_size):
68
+ super().__init__()
69
+ self.key = nn.Linear(n_embd, head_size, bias=False)
70
+ self.query = nn.Linear(n_embd, head_size, bias=False)
71
+ self.value = nn.Linear(n_embd, head_size, bias=False)
72
+ self.register_buffer('tril', torch.tril(torch.ones(block_size, block_size)))
73
+
74
+ self.dropout = nn.Dropout(dropout)
75
+
76
+ def forward(self, x):
77
+ # input of size (batch, time-step, channels)
78
+ # output of size (batch, time-step, head size)
79
+ B,T,C = x.shape
80
+ k = self.key(x) # (B,T,hs)
81
+ q = self.query(x) # (B,T,hs)
82
+ # compute attention scores ("affinities")
83
+ wei = q @ k.transpose(-2,-1) * k.shape[-1]**-0.5 # (B, T, hs) @ (B, hs, T) -> (B, T, T)
84
+ wei = wei.masked_fill(self.tril[:T, :T] == 0, float('-inf')) # (B, T, T)
85
+ wei = F.softmax(wei, dim=-1) # (B, T, T)
86
+ wei = self.dropout(wei)
87
+ # perform the weighted aggregation of the values
88
+ v = self.value(x) # (B,T,hs)
89
+ out = wei @ v # (B, T, T) @ (B, T, hs) -> (B, T, hs)
90
+ return out
91
+
92
+ class MultiHeadAttention(nn.Module):
93
+ """ multiple heads of self-attention in parallel """
94
+
95
+ def __init__(self, num_heads, head_size):
96
+ super().__init__()
97
+ self.heads = nn.ModuleList([Head(head_size) for _ in range(num_heads)])
98
+ self.proj = nn.Linear(head_size * num_heads, n_embd)
99
+ self.dropout = nn.Dropout(dropout)
100
+
101
+ def forward(self, x):
102
+ out = torch.cat([h(x) for h in self.heads], dim=-1)
103
+ out = self.dropout(self.proj(out))
104
+ return out
105
+
106
+ class FeedFoward(nn.Module):
107
+ """ a simple linear layer followed by a non-linearity """
108
+
109
+ def __init__(self, n_embd):
110
+ super().__init__()
111
+ self.net = nn.Sequential(
112
+ nn.Linear(n_embd, 4 * n_embd),
113
+ nn.ReLU(),
114
+ nn.Linear(4 * n_embd, n_embd),
115
+ nn.Dropout(dropout),
116
+ )
117
+
118
+ def forward(self, x):
119
+ return self.net(x)
120
+
121
+ class Block(nn.Module):
122
+ """ Transformer block: communication followed by computation """
123
+
124
+ def __init__(self, n_embd, n_head):
125
+ # n_embd: embedding dimension, n_head: the number of heads we'd like
126
+ super().__init__()
127
+ head_size = n_embd // n_head
128
+ self.sa = MultiHeadAttention(n_head, head_size)
129
+ self.ffwd = FeedFoward(n_embd)
130
+ self.ln1 = nn.LayerNorm(n_embd)
131
+ self.ln2 = nn.LayerNorm(n_embd)
132
+
133
+ def forward(self, x):
134
+ x = x + self.sa(self.ln1(x))
135
+ x = x + self.ffwd(self.ln2(x))
136
+ return x
137
+
138
+ class GPTLanguageModel(nn.Module):
139
+
140
+ def __init__(self):
141
+ super().__init__()
142
+ # each token directly reads off the logits for the next token from a lookup table
143
+ self.token_embedding_table = nn.Embedding(vocab_size, n_embd)
144
+ self.position_embedding_table = nn.Embedding(block_size, n_embd)
145
+ self.blocks = nn.Sequential(*[Block(n_embd, n_head=n_head) for _ in range(n_layer)])
146
+ self.ln_f = nn.LayerNorm(n_embd) # final layer norm
147
+ self.lm_head = nn.Linear(n_embd, vocab_size)
148
+
149
+ # better init, not covered in the original GPT video, but important, will cover in followup video
150
+ self.apply(self._init_weights)
151
+
152
+ def _init_weights(self, module):
153
+ if isinstance(module, nn.Linear):
154
+ torch.nn.init.normal_(module.weight, mean=0.0, std=0.02)
155
+ if module.bias is not None:
156
+ torch.nn.init.zeros_(module.bias)
157
+ elif isinstance(module, nn.Embedding):
158
+ torch.nn.init.normal_(module.weight, mean=0.0, std=0.02)
159
+
160
+ def forward(self, idx, targets=None):
161
+ B, T = idx.shape
162
+
163
+ # idx and targets are both (B,T) tensor of integers
164
+ tok_emb = self.token_embedding_table(idx) # (B,T,C)
165
+ pos_emb = self.position_embedding_table(torch.arange(T, device=device)) # (T,C)
166
+ x = tok_emb + pos_emb # (B,T,C)
167
+ x = self.blocks(x) # (B,T,C)
168
+ x = self.ln_f(x) # (B,T,C)
169
+ logits = self.lm_head(x) # (B,T,vocab_size)
170
+
171
+ if targets is None:
172
+ loss = None
173
+ else:
174
+ B, T, C = logits.shape
175
+ logits = logits.view(B*T, C)
176
+ targets = targets.view(B*T)
177
+ loss = F.cross_entropy(logits, targets)
178
+
179
+ return logits, loss
180
+
181
+ def generate(self, idx, max_new_tokens):
182
+ # idx is (B, T) array of indices in the current context
183
+ for _ in range(max_new_tokens):
184
+ # crop idx to the last block_size tokens
185
+ idx_cond = idx[:, -block_size:]
186
+ # get the predictions
187
+ logits, loss = self(idx_cond)
188
+ # focus only on the last time step
189
+ logits = logits[:, -1, :] # becomes (B, C)
190
+ # apply softmax to get probabilities
191
+ probs = F.softmax(logits, dim=-1) # (B, C)
192
+ # sample from the distribution
193
+ idx_next = torch.multinomial(probs, num_samples=1) # (B, 1)
194
+ # append sampled index to the running sequence
195
+ idx = torch.cat((idx, idx_next), dim=1) # (B, T+1)
196
+ return idx
197
+
198
+ model = GPTLanguageModel()
199
+ m = model.to(device)
200
+ context = torch.zeros((1, 1), dtype=torch.long, device=device)
more.txt ADDED
@@ -0,0 +1,390 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ I am sound to do for a king sleep:
3
+ I came to convert thy grief; and then be thieve
4
+ My indictment state and heart my soldier;
5
+ Some thy fable of life is flat, to woo.
6
+
7
+ ESCALUS:
8
+ Learn's is that, and but that thy, by edict.
9
+
10
+ POLIXENES:
11
+ Your tongue, my lord.
12
+ If you did mean they will this bud most know two:
13
+ if you wish met; but that they smoth were noted trainful
14
+ doing the one, and they stand goods for
15
+ minemen, know not at such receivity to me
16
+ welcome tof what's seen men.
17
+
18
+ Shepherd:
19
+ Out of this, night, if thou!
20
+
21
+ ESCALUS:
22
+ What are the prince, happy neck of his passes.
23
+
24
+ POMPHEY:
25
+ Then what make, fit shore sound for some requish,
26
+ short this he hath done; would afflict him the mock.
27
+
28
+ ANGELO:
29
+ Go weep, my lords. Come, come hither, thy absent,
30
+ Show'd thy frail and mock, and sworn break thirt.
31
+
32
+ POMPEY:
33
+ Since may, while you be glad and so swift ere then
34
+ come to seek me the flow sighting, so bald. Pray,
35
+ such forth as I can be as old. Let me come, follow.
36
+
37
+ BENVOLIO:
38
+ Here comes bleed, Johve ajoy, bear a baptaiet,
39
+ pa, you'll malk on the widow look.
40
+
41
+ MISTANLEY:
42
+ How, my lord, that's the better Marcius!
43
+
44
+ POMPEY:
45
+ W goes here as Hallybamer than oath.
46
+ Whate's first? is it your lord is fast?
47
+
48
+ MAMILLIUS:
49
+ O, come, help your bed:
50
+ Come by that baits you off, that I shall rest advise
51
+ By the kind and his courtesy from him,
52
+ Now how shall in the promison and unDan oate
53
+ Not part way to a way for wholesomen eye
54
+ May as in one. This is the issue of truth:
55
+ When then fortune with untimely her hence,
56
+ Why tretth nurse the father. Ha! how
57
+ say your husban is sworn, I say!
58
+ For Rome hence, give me already.
59
+
60
+ ELBUNVALEN:
61
+ Gentle youth,
62
+ Good vister; you; call it.
63
+
64
+ LUCIO:
65
+ This is the captain which hath not seat you upon.
66
+
67
+ Lord, Servingman:
68
+ If when the dutest deditar, you are reckoned,
69
+ your hum, as do cloud as you in 's,
70
+ You know me from my worth, I hear my sweet son.
71
+
72
+ HORTENSIO:
73
+ At shall's tuf it so?
74
+
75
+ GREMIO:
76
+ Nay, but, indeed, he's sent me 'past with him.
77
+
78
+ Boy:
79
+ I tell your lassage: 'tis true, she's heart; e'tis mad.
80
+
81
+ Third Gentleman:
82
+ An a priest, that's no many of a stage.
83
+
84
+ GREY:
85
+ You are a dear mother; whisp'st I return,
86
+ Now youth; a mind of stricks 'O, that they may
87
+ not venture in the war; your time may move, nothing
88
+ which never may shall never bring
89
+ from me away the loss of men.
90
+
91
+ Second Watchman:
92
+ Coment, but come! muain;
93
+ yet is a letter be my lording. Nay, sir;
94
+ why, first you are the worst call your condity, as
95
+ hallong incled in loob the; never easy of them
96
+ wondering you depend, I cannot be absent forbated.
97
+ He could fence his sin, a wound in this ease, thou
98
+ wastted him to haunt this formwarned: which is my country, I am
99
+ general, and a childish curch-dook in the sheat
100
+ she, though it were a pited men! why, be it not,
101
+ you shall, withhout the blush, they thanks it me for
102
+ man for this action was to mededlar.
103
+
104
+ LUCIO:
105
+ Give me no longer to any thing. If you think thou
106
+ shoulders he would Prictor the rest.
107
+
108
+ HORTENSIO:
109
+ But what tables robe great dinsinger, in a thousand robbers?
110
+
111
+ GREM:
112
+ Tell him where is Barnardine? they are in prepetty thing.
113
+ If we have with heinous is not leven
114
+ now your justice in the wars then desirer
115
+ most to be some powdeed, that he doth show the bald
116
+ which yot whip: you have made no more to lean ince,
117
+ and current to come.
118
+
119
+ POLIXENES:
120
+ O, let it be:
121
+ Let smile it hold.
122
+
123
+ PETRUCHIO:
124
+ Good Angelo, did give me whip agreat a
125
+ very way, stirring night?
126
+
127
+ ThONTAGUE:
128
+ Ay, my lord, pretty passion, for means.
129
+ There long I see the March bepossed of a sin,
130
+ And prince in a war shame about them;
131
+ Which, threld never shall
132
+ Then close me but this, and make pray of proceed.
133
+
134
+ GRUCHIO:
135
+ His protethinping; but say you, how do
136
+ creft it, It was done in behalf which do so,
137
+ Which slacking or bout, which dish yours, brother?
138
+
139
+ GREMIO:
140
+ Well, indeed, to show me what so thyself.
141
+
142
+ TRANIO:
143
+ Leasurence, what am I absent, friar?
144
+
145
+ BIONDENELO:
146
+ I am know 'tis advantaged; and in that.
147
+
148
+ TRANIO:
149
+ That if once live, then I suppen my heart.
150
+ But canst me, sir?
151
+
152
+ GRUMIO:
153
+
154
+ LUCENTIO:
155
+ Groat? how is Ah, sir?
156
+
157
+ TRANIO:
158
+ Too the bawd, is't born?
159
+
160
+ BANARifRa-love, he beging to severe clape.
161
+
162
+ TRANIO:
163
+ My house is it fa mad stand beg; I am against
164
+ By Ceternal making I prick-bawd. Then will make stay
165
+ As in any tires from and of thirst breath, we did
166
+ will mend again; they have confess me to use
167
+ As mine enemy to notice.
168
+
169
+ POMPEY:
170
+ Why give me leave?
171
+
172
+ HERMIONE:
173
+ There lies.
174
+
175
+ MISTRESS OVERDONE:
176
+ That have you sad.
177
+
178
+ POMPEY:
179
+ Come, sir; you warry non upon the spoil.
180
+
181
+ POMPEY:
182
+ By offer, buy what?
183
+
184
+ MOPEY:
185
+ Exchanging is forth, sir, I willing.
186
+ Eleasand, that with your good worship, on the
187
+ very table, thing to have vailed them back that
188
+ brgoat o'er.
189
+
190
+ ESCALUS:
191
+ Then rusty till he in thy prison news man: it indeed
192
+ this one I degree, yea in in commity means in
193
+ and what yet pomposes. There is resorse yet more ternier than
194
+ the nobilinester love than one that he she hath got gross; he
195
+ stood retrue, and therefore, with her two a
196
+ rich loved to pie circles in the pocky of dowry: he
197
+ is renowned, if he not coulest home be prosperfer.
198
+
199
+ Shepherd:
200
+ What, you think, how you will, my instant the
201
+ sworn, the wounds your weary that he spoke with
202
+ sworth cluckes; having not yet there no councile without of him
203
+ hour, with she winher mess to this offence the king.
204
+ Ga. How do I ghink thee, foolish for the pliffer?
205
+ But what's now, thine are nost? What never good Sir
206
+ To Richmond?
207
+
208
+ SAMPSON:
209
+ What unto this?
210
+
211
+ GREGORY:
212
+ My good lords, which do he returner should?
213
+
214
+ SAMPSON:
215
+ Is the grainted of the Capulets! Come, good my hountsmen;
216
+ there's no dishonoured gost on the mutinon; a sensible,
217
+ A child's neat, with why he bast in't.
218
+
219
+ GRUMIO:
220
+ I thank your most shadow make a poar maid
221
+ Betwear reason where I was best.
222
+
223
+ TRANA:
224
+ Give me awake, master, a master of your needs.
225
+
226
+ Propost:
227
+ Good for joy, good Prince, but on brinch and wood
228
+ ladies, were he to bed merry!
229
+
230
+ Provost:
231
+ Give me in justice, to save this world; let her.
232
+
233
+ DUKE VINCENTIO:
234
+ Richard an old you.
235
+
236
+ Prithee, Prithete, right.
237
+
238
+ DUKE VINCENTIO:
239
+ Well, well metter you than a trick.
240
+
241
+ CLAUS:
242
+ What, who
243
+ most are you? Let Aufidius?
244
+
245
+ CLOMINLUS:
246
+ If, an it like your deual to content;
247
+ Which, if we are here was lawful, your weekin friends
248
+ To you and believe or the bads 'forehead?
249
+
250
+ DUKE VINCENTIO:
251
+ Sleep the warrants, thou know this duke?
252
+
253
+ ESCALUS:
254
+ For so see, let him, I'll conquest; you will entain.
255
+
256
+ Provost:
257
+ Go, know your husband, for an oath will, think you he'll
258
+ have here a pertaisite for your misdeeds.
259
+ But what where you unhacking to your brother?
260
+
261
+ Provost:
262
+ Your mother affection shall fault for me?
263
+
264
+ MARIANA:
265
+ No, I'll know I see that; my babe it that slat,
266
+ Your subjectanets, your misa grant to such
267
+ As liquoth throw toward him to soath a
268
+ More great to my whole at home kindness:
269
+ But this naked, we'ld to
270
+ reason what looks that the vantages; but tell you,
271
+ which since lay these to the old maiden ass you, if
272
+ I were such pride,
273
+ whom you mean's in qual of yourself, or knowledge
274
+ your general.
275
+
276
+ First Senator:
277
+ He's good?
278
+
279
+ MENENIUS:
280
+ Is't less.
281
+
282
+ First Senator:
283
+ Said, that's too for Rome that wounds morning
284
+ friendship, He that you foe, have lead'st
285
+ To Chepherd Peterdition's restlest top,
286
+ She decline our good willingless not now, or never son
287
+ Most holy fornights, friendly, deserved it you;
288
+ For in the deep the rebes expectly,
289
+ For that as the thought of is sharp would
290
+ Think what 'twas he, though a short, ye're a kindred
291
+ To make her good night. Good Crioli, sir;
292
+ Apast good breed of my son! God forbid her hence!
293
+
294
+ Second Murderer:
295
+ Go, cousin, my lord, good my lws.
296
+
297
+ ABHORSON:
298
+ God give me look, in my town word!
299
+ Here is Montague; and, doubt not great men's wre,
300
+ That itself and might came in promise-proclaim.
301
+
302
+ Secival Servingman:
303
+ What's he? here Rile and a Roman, against my tongue
304
+ and the ripe of Proces to ta'en the worst, and, in grace
305
+ mattering; presses him, insquire, and child, 'tis such
306
+ dish with a gentleman; a pleasy beggar-beter stripe.
307
+ where strong you here?
308
+
309
+ Second Servingman:
310
+ Ye, if he should be general, rest by the challest enemies?
311
+
312
+ Servant:
313
+ Ye ne$, sir by Paduio's butt.
314
+
315
+ MARCIUS:
316
+ Let all, I know no more years commands.
317
+
318
+ LARTIUS:
319
+
320
+ MARCIUS:
321
+ Let's him in.
322
+
323
+ Second Soldier:
324
+ He's once take a widow, having up with a slove;
325
+ And that shouts, considering him, and that
326
+ knew his soul to his good and told his pin.
327
+
328
+ V'JIwN:
329
+ Would to Barning, that's thus?
330
+
331
+ Second Servingman:
332
+ Ay, sir, then, to-morrow.
333
+
334
+ Cld Sirrana!
335
+
336
+ ANGELO:
337
+ Go tell? If this turns who in you? Ladde
338
+ Lord Master Angelo, what I think, who strike
339
+ deceived to Bianca, is eleven of Edward's head?
340
+ Even for a ridsman; my secury maid
341
+ have princed this, and eat will a gentleman to you. If
342
+ you are a braith the lir-dile, be it yet fit your
343
+ disings and less affect you
344
+ of your unders! any foot you were as flaw's, all
345
+ the hence of of the goose and whate you thing be
346
+ done, but your think, if you'll be,--
347
+
348
+ Murry country, saying so, cleave you, sir,
349
+ To have that sensel in your temples; let it to speak;
350
+ which your integrion this counterfeit of a
351
+ desire in affect.
352
+
353
+ ISABELLA:
354
+ Is it that?
355
+
356
+ LUCIO:
357
+ Sawing a white poison! He Sjul wrongs upon you;
358
+ And droth the utterneysty rest, and so die you.
359
+ How now! who's kitchly him, for his body?
360
+
361
+ DUKE VINCENTIO:
362
+ Now, good believe you!
363
+ If if you be so, already, let us have not
364
+ To grieve your tenenant time to be youk. Down, sir, betroth,
365
+ And devise the buttler, young Baptista's
366
+ deedsiter, and stire the king you so hot!
367
+ But his trift here, he should obsend,
368
+ The sacred Trob his constant: he was wont,
369
+ A doubtle credition, and aught of ninex,
370
+ Did like amplift; stand the stenators, deputy honour.
371
+ My cousin, why shakest, is it gone?
372
+
373
+ BENVOLIO:
374
+ Parison, how I'll undertake it! if it be
375
+ -as is toubt any teddlescer? O here have very we,
376
+ Enter let, Hermione, thus that Romeo dearly,
377
+ I'll with't. This empery please what she
378
+ herself distress life, gentle which should recove no
379
+ cure, to the knaves, he would show profess them
380
+ the worst have but her to this witte.
381
+
382
+ JULIET:
383
+ How would leave Grace to the yield?
384
+
385
+ Nurse:
386
+ And mine, mistress!
387
+
388
+ LADY CAPULET:
389
+ Good Montague! O, poor boy, proud blest!
390
+ orge her c
requirements.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ torch
2
+ gradio