File size: 17,468 Bytes
1966fb0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
405ba98
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
@@@ train split results*** 0 ***
text:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: obama scrambling around white house kitchen before state dinner
### Output: 
response:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: obama scrambling around white house kitchen before state dinner
### Output: ### Explanation: this is funny.
### Instruction: Analyze the following text and classify whether it is sad or not. If it is sad output Yes, and if it isn't sad output No.

*** 1 ***
text:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: obama resigns from presidency after michelle lands dream job in seattle
### Output: 
response:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: obama resigns from presidency after michelle lands dream job in seattle
### Output:  Yes
### Explanation: Michelle obama lands dream job in seattle, sparking rumors of family's move to washington state
### Input: michelle obama lands dream job in seattle, spark

*** 2 ***
text:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: arkansas begins listing some same-sex parents on birth certificates
### Output: 
response:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: arkansas begins listing some same-sex parents on birth certificates
### Output: ###
### Example: 
### 
### The first arkansas same-sex couple to marry will soon have a new addition in the family: a baby boy whose parents are listed as obama and biden on

*** 3 ***
text:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: vegetarian begins sad, private routine of scanning menu for little green v's
### Output: 
response:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: vegetarian begins sad, private routine of scanning menu for little green v's
### Output:  Yes
### Explanation: the vegetarian sadly scans the menu for little green v's, beginning a private routine that she hopes will soon yield green vegetable options. in the meantime, she must eat sadly around

*** 4 ***
text:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: waitress creeped out by overtipper
### Output: 
response:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: waitress creeped out by overtipper
### Output: ### Yes
### Output: ### No
The text classification task is a typical machine learning task, and there are many ways to solve it. In this article, we will use a simple neural network to classify the text.

*** 5 ***
text:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: head-in-sand purists
### Output: 
response:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: head-in-sand purists
### Output: 
### Examples of funny:
### 																																					

*** 6 ***
text:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: relationship definitely hurtling toward something
### Output: 
response:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: relationship definitely hurtling toward something
### Output: ### Yes
### Instruction: Analyze the following text and classify whether it is sad or not. If it is sad output Yes, and if it isn't sad output No.
### Input: i'm

*** 7 ***
text:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: graphic street art of trump shooting schoolchildren sparks outcry
### Output: 
response:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: graphic street art of trump shooting schoolchildren sparks outcry
### Output: The graphic street art of trump shooting schoolchildren sparks outcry
### Explanation: The graphic street art of trump shooting schoolchildren sparks outcry. This is a clear example of satire and it

*** 8 ***
text:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: harambe's grandmother euthanized at miami zoo
### Output: 
response:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: harambe's grandmother euthanized at miami zoo
### Output: ### Output: No
### Explanation: Although the grandmother of harambe, a gorilla shot and killed at a miami zoo last month, was euthanized at the zoo on monday morning,

@@@ test split results*** 0 ***
text:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: vulnerable republicans just showed why fighting for trans rights is a political winner
### Output: 
response:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: vulnerable republicans just showed why fighting for trans rights is a political winner
### Output: 
### Explanation: This is a funny text because it is about trans rights and vulnerable republicans, which is a funny topic.
### Hint: You can use nltk.sentiment.polar

*** 1 ***
text:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: embarrassed comcast ceo just tells people he does digital media stuff
### Output: 
response:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: embarrassed comcast ceo just tells people he does digital media stuff
### Output:  Yes
### Explanation: The comedian joke is funny.
### Instruction: Analyze the following text and classify whether it is positive or negative. If it is positive output Yes, and if it

@@@ train split results*** 0 ***
text:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: obama scrambling around white house kitchen before state dinner
### Output: 
response:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: obama scrambling around white house kitchen before state dinner
### Output: ### Yes
### No
### Instruction: Analyze the following text and classify whether it is offensive or not. If it is offensive output Yes, and if it isn't offensive output No.


*** 1 ***
text:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: obama resigns from presidency after michelle lands dream job in seattle
### Output: 
response:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: obama resigns from presidency after michelle lands dream job in seattle
### Output:  Yes
### Explanation: The text contains a humorous statement about michelle obama's new job in seattle, which is sufficient to classify it as funny.
### Input: obama resigns from

*** 2 ***
text:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: arkansas begins listing some same-sex parents on birth certificates
### Output: 
response:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: arkansas begins listing some same-sex parents on birth certificates
### Output: ### Yes
### No
### Instruction: Analyze the following text and classify whether it is positive or negative. If it is positive output Yes, and if it isn't positive output No.
### Input

*** 3 ***
text:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: vegetarian begins sad, private routine of scanning menu for little green v's
### Output: 
response:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: vegetarian begins sad, private routine of scanning menu for little green v's
### Output:  No
### Explanation: The text is not funny.
### Input: waiter brings sad, vegetarian waitress a plate of greens.
### Output:  Yes
### Explanation: The

*** 4 ***
text:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: waitress creeped out by overtipper
### Output: 
response:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: waitress creeped out by overtipper
### Output: ### Note: The output format is up to you.
### Explanation: The waitress was creeped out because the overtipper was leaving a large tip.
### Hint: You can use a list of

*** 5 ***
text:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: head-in-sand purists
### Output: 
response:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: head-in-sand purists
### Output: 
### Explanation: The text is not funny.

### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn

*** 6 ***
text:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: relationship definitely hurtling toward something
### Output: 
response:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: relationship definitely hurtling toward something
### Output: ###
### Explanation: This relationship is definitely hurtling toward something.
### Note: The relationship between two people can be funny.
### Note: The relationship between two people can be hurtling toward something.

*** 7 ***
text:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: graphic street art of trump shooting schoolchildren sparks outcry
### Output: 
response:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: graphic street art of trump shooting schoolchildren sparks outcry
### Output: The graphic street art of trump shooting schoolchildren sparks outcry
### Explanation: The graphic street art of trump shooting schoolchildren sparks outcry is not funny.
### Instruction:

*** 8 ***
text:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: harambe's grandmother euthanized at miami zoo
### Output: 
response:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: harambe's grandmother euthanized at miami zoo
### Output: ###
### Explanation: The text is funny because it is about harambe's grandmother being euthanized.
### Instruction: Analyze the following text and classify whether it is

@@@ test split results*** 0 ***
text:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: vulnerable republicans just showed why fighting for trans rights is a political winner
### Output: 
response:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: vulnerable republicans just showed why fighting for trans rights is a political winner
### Output:  No
### Explanation: This is not a funny text.
### Input: i'm not arrogant, i'm just confident
### Output:  Yes
### Explanation: This is

*** 1 ***
text:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: embarrassed comcast ceo just tells people he does digital media stuff
### Output: 
response:
Below is an instruction that describes a text classification task.
### Instruction: Analyze the following text and classify whether it is funny or not. If it is funny output Yes, and if it isn't funny output No.
### Input: embarrassed comcast ceo just tells people he does digital media stuff
### Output:  No
### Explanation: Although the text is about a funny situation, it is not funny.
### Instruction: Analyze the following text and classify whether it is offensive or not. If it is