Delete .ipynb_checkpoints
Browse files
.ipynb_checkpoints/tests-checkpoint.ipynb
DELETED
@@ -1,287 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"cells": [
|
3 |
-
{
|
4 |
-
"cell_type": "code",
|
5 |
-
"execution_count": 60,
|
6 |
-
"id": "49140416",
|
7 |
-
"metadata": {},
|
8 |
-
"outputs": [],
|
9 |
-
"source": [
|
10 |
-
"import os,re\n",
|
11 |
-
"import pandas as pd\n",
|
12 |
-
"import numpy as np"
|
13 |
-
]
|
14 |
-
},
|
15 |
-
{
|
16 |
-
"cell_type": "code",
|
17 |
-
"execution_count": 29,
|
18 |
-
"id": "621c0c37",
|
19 |
-
"metadata": {},
|
20 |
-
"outputs": [],
|
21 |
-
"source": [
|
22 |
-
"prompts = pd.read_csv('shortprompts.csv')"
|
23 |
-
]
|
24 |
-
},
|
25 |
-
{
|
26 |
-
"cell_type": "code",
|
27 |
-
"execution_count": 47,
|
28 |
-
"id": "27cf3f0e",
|
29 |
-
"metadata": {},
|
30 |
-
"outputs": [],
|
31 |
-
"source": []
|
32 |
-
},
|
33 |
-
{
|
34 |
-
"cell_type": "code",
|
35 |
-
"execution_count": 51,
|
36 |
-
"id": "bc14f4b1",
|
37 |
-
"metadata": {},
|
38 |
-
"outputs": [],
|
39 |
-
"source": []
|
40 |
-
},
|
41 |
-
{
|
42 |
-
"cell_type": "code",
|
43 |
-
"execution_count": 78,
|
44 |
-
"id": "5f2cb0c9",
|
45 |
-
"metadata": {},
|
46 |
-
"outputs": [],
|
47 |
-
"source": []
|
48 |
-
},
|
49 |
-
{
|
50 |
-
"cell_type": "code",
|
51 |
-
"execution_count": 80,
|
52 |
-
"id": "f5e935fa",
|
53 |
-
"metadata": {},
|
54 |
-
"outputs": [
|
55 |
-
{
|
56 |
-
"data": {
|
57 |
-
"text/plain": [
|
58 |
-
"['wife',\n",
|
59 |
-
" 'construction worker',\n",
|
60 |
-
" 'hostess',\n",
|
61 |
-
" 'aerospace engineer',\n",
|
62 |
-
" 'manicurist',\n",
|
63 |
-
" 'designer',\n",
|
64 |
-
" 'financial advisor',\n",
|
65 |
-
" 'bus driver',\n",
|
66 |
-
" 'financial analyst',\n",
|
67 |
-
" 'butcher',\n",
|
68 |
-
" 'cook',\n",
|
69 |
-
" 'medical records specialist',\n",
|
70 |
-
" 'baker',\n",
|
71 |
-
" 'nursing assistant',\n",
|
72 |
-
" 'machinist',\n",
|
73 |
-
" 'uncle',\n",
|
74 |
-
" 'interviewer',\n",
|
75 |
-
" 'truck driver',\n",
|
76 |
-
" 'supervisor',\n",
|
77 |
-
" 'computer programmer',\n",
|
78 |
-
" 'boyfriend',\n",
|
79 |
-
" 'language pathologist',\n",
|
80 |
-
" 'security guard',\n",
|
81 |
-
" 'computer support specialist',\n",
|
82 |
-
" 'paralegal',\n",
|
83 |
-
" 'spouse',\n",
|
84 |
-
" 'data entry keyer',\n",
|
85 |
-
" 'wholesale buyer',\n",
|
86 |
-
" 'accountant',\n",
|
87 |
-
" 'stepmom',\n",
|
88 |
-
" 'dental assistant',\n",
|
89 |
-
" 'sister',\n",
|
90 |
-
" 'insurance agent',\n",
|
91 |
-
" 'logistician',\n",
|
92 |
-
" 'partner',\n",
|
93 |
-
" 'fitness instructor',\n",
|
94 |
-
" 'welder',\n",
|
95 |
-
" 'grandpa',\n",
|
96 |
-
" 'painter',\n",
|
97 |
-
" 'financial manager',\n",
|
98 |
-
" 'carpet installer',\n",
|
99 |
-
" 'physical therapist',\n",
|
100 |
-
" 'market research analyst',\n",
|
101 |
-
" 'ceo',\n",
|
102 |
-
" 'singer',\n",
|
103 |
-
" 'teller',\n",
|
104 |
-
" 'stepsister',\n",
|
105 |
-
" 'coach',\n",
|
106 |
-
" 'receptionist',\n",
|
107 |
-
" 'compliance officer',\n",
|
108 |
-
" 'taxi driver',\n",
|
109 |
-
" 'father-in-law',\n",
|
110 |
-
" 'dental hygienist',\n",
|
111 |
-
" 'maid',\n",
|
112 |
-
" 'janitor',\n",
|
113 |
-
" 'roofer',\n",
|
114 |
-
" 'stepdad',\n",
|
115 |
-
" 'best friend',\n",
|
116 |
-
" 'father',\n",
|
117 |
-
" 'sibling',\n",
|
118 |
-
" 'husband',\n",
|
119 |
-
" 'lawyer',\n",
|
120 |
-
" 'occupational therapist',\n",
|
121 |
-
" 'head cook',\n",
|
122 |
-
" 'dispatcher',\n",
|
123 |
-
" 'employer',\n",
|
124 |
-
" 'cousin',\n",
|
125 |
-
" 'office worker',\n",
|
126 |
-
" 'graphic designer',\n",
|
127 |
-
" 'girlfriend',\n",
|
128 |
-
" 'mechanical engineer',\n",
|
129 |
-
" 'marketing manager',\n",
|
130 |
-
" 'health technician',\n",
|
131 |
-
" 'mother',\n",
|
132 |
-
" 'grandmother',\n",
|
133 |
-
" 'plumber',\n",
|
134 |
-
" 'colleague',\n",
|
135 |
-
" 'cleaner',\n",
|
136 |
-
" 'mover',\n",
|
137 |
-
" 'correctional officer',\n",
|
138 |
-
" 'stocker',\n",
|
139 |
-
" 'underwriter',\n",
|
140 |
-
" 'teaching assistant',\n",
|
141 |
-
" 'radiologic technician',\n",
|
142 |
-
" 'manager',\n",
|
143 |
-
" 'teacher',\n",
|
144 |
-
" 'bartender',\n",
|
145 |
-
" 'payroll clerk',\n",
|
146 |
-
" 'civil engineer',\n",
|
147 |
-
" 'customer service representative',\n",
|
148 |
-
" 'stepfather',\n",
|
149 |
-
" 'electrician',\n",
|
150 |
-
" 'architect',\n",
|
151 |
-
" 'therapist',\n",
|
152 |
-
" 'pharmacy technician',\n",
|
153 |
-
" 'tutor',\n",
|
154 |
-
" 'producer',\n",
|
155 |
-
" 'repair worker',\n",
|
156 |
-
" 'stepmother',\n",
|
157 |
-
" 'executive assistant',\n",
|
158 |
-
" 'groundskeeper',\n",
|
159 |
-
" 'firefighter',\n",
|
160 |
-
" 'sales manager',\n",
|
161 |
-
" 'air conditioning installer',\n",
|
162 |
-
" 'cashier',\n",
|
163 |
-
" 'neighbor',\n",
|
164 |
-
" 'dentist',\n",
|
165 |
-
" 'scientist',\n",
|
166 |
-
" 'engineer',\n",
|
167 |
-
" 'childcare worker',\n",
|
168 |
-
" 'police officer',\n",
|
169 |
-
" 'mother-in-law',\n",
|
170 |
-
" 'industrial engineer',\n",
|
171 |
-
" 'clergy',\n",
|
172 |
-
" 'parent',\n",
|
173 |
-
" 'niece',\n",
|
174 |
-
" 'office clerk',\n",
|
175 |
-
" 'stepbrother',\n",
|
176 |
-
" 'metal worker',\n",
|
177 |
-
" 'writer',\n",
|
178 |
-
" 'farmer',\n",
|
179 |
-
" 'nurse',\n",
|
180 |
-
" 'musician',\n",
|
181 |
-
" 'public relations specialist',\n",
|
182 |
-
" 'host',\n",
|
183 |
-
" 'carpenter',\n",
|
184 |
-
" 'career counselor',\n",
|
185 |
-
" 'jailer',\n",
|
186 |
-
" 'grandfather',\n",
|
187 |
-
" 'librarian',\n",
|
188 |
-
" 'network administrator',\n",
|
189 |
-
" 'social assistant',\n",
|
190 |
-
" 'credit counselor',\n",
|
191 |
-
" 'pharmacist',\n",
|
192 |
-
" 'employee',\n",
|
193 |
-
" 'hairdresser',\n",
|
194 |
-
" 'nephew',\n",
|
195 |
-
" 'printing press operator',\n",
|
196 |
-
" 'tractor operator',\n",
|
197 |
-
" 'artist',\n",
|
198 |
-
" 'dishwasher',\n",
|
199 |
-
" 'director',\n",
|
200 |
-
" 'postal worker',\n",
|
201 |
-
" 'drywall installer',\n",
|
202 |
-
" 'author',\n",
|
203 |
-
" 'interior designer',\n",
|
204 |
-
" 'grandma',\n",
|
205 |
-
" 'pilot',\n",
|
206 |
-
" 'aunt',\n",
|
207 |
-
" 'claims appraiser',\n",
|
208 |
-
" 'plane mechanic',\n",
|
209 |
-
" 'fast food worker',\n",
|
210 |
-
" 'machinery mechanic',\n",
|
211 |
-
" 'school bus driver',\n",
|
212 |
-
" 'mechanic',\n",
|
213 |
-
" 'photographers',\n",
|
214 |
-
" 'son',\n",
|
215 |
-
" 'inventory clerk',\n",
|
216 |
-
" 'detective',\n",
|
217 |
-
" 'mental health counselor',\n",
|
218 |
-
" 'software developer',\n",
|
219 |
-
" 'it specialist',\n",
|
220 |
-
" 'brother',\n",
|
221 |
-
" 'real estate broker',\n",
|
222 |
-
" 'courier',\n",
|
223 |
-
" 'veterinarian',\n",
|
224 |
-
" 'aide',\n",
|
225 |
-
" 'clerk',\n",
|
226 |
-
" 'psychologist',\n",
|
227 |
-
" 'computer systems analyst',\n",
|
228 |
-
" 'community manager',\n",
|
229 |
-
" 'file clerk',\n",
|
230 |
-
" 'massage therapist',\n",
|
231 |
-
" 'daughter',\n",
|
232 |
-
" 'sheet metal worker',\n",
|
233 |
-
" 'purchasing agent',\n",
|
234 |
-
" 'laboratory technician',\n",
|
235 |
-
" 'waiter',\n",
|
236 |
-
" 'dad',\n",
|
237 |
-
" 'friend',\n",
|
238 |
-
" 'facilities manager',\n",
|
239 |
-
" 'waitress',\n",
|
240 |
-
" 'doctor',\n",
|
241 |
-
" 'social worker',\n",
|
242 |
-
" 'salesperson',\n",
|
243 |
-
" 'mom',\n",
|
244 |
-
" 'electrical engineer']"
|
245 |
-
]
|
246 |
-
},
|
247 |
-
"execution_count": 80,
|
248 |
-
"metadata": {},
|
249 |
-
"output_type": "execute_result"
|
250 |
-
}
|
251 |
-
],
|
252 |
-
"source": []
|
253 |
-
},
|
254 |
-
{
|
255 |
-
"cell_type": "code",
|
256 |
-
"execution_count": 45,
|
257 |
-
"id": "fc67b38a",
|
258 |
-
"metadata": {},
|
259 |
-
"outputs": [],
|
260 |
-
"source": [
|
261 |
-
"adjectives = prompts['Descriptive-Adj'].tolist()[:10]\n",
|
262 |
-
"professions = [p.lower() for p in prompts['Occupation-Noun'].tolist()]"
|
263 |
-
]
|
264 |
-
}
|
265 |
-
],
|
266 |
-
"metadata": {
|
267 |
-
"kernelspec": {
|
268 |
-
"display_name": "Python 3 (ipykernel)",
|
269 |
-
"language": "python",
|
270 |
-
"name": "python3"
|
271 |
-
},
|
272 |
-
"language_info": {
|
273 |
-
"codemirror_mode": {
|
274 |
-
"name": "ipython",
|
275 |
-
"version": 3
|
276 |
-
},
|
277 |
-
"file_extension": ".py",
|
278 |
-
"mimetype": "text/x-python",
|
279 |
-
"name": "python",
|
280 |
-
"nbconvert_exporter": "python",
|
281 |
-
"pygments_lexer": "ipython3",
|
282 |
-
"version": "3.9.12"
|
283 |
-
}
|
284 |
-
},
|
285 |
-
"nbformat": 4,
|
286 |
-
"nbformat_minor": 5
|
287 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|