Rohit228 commited on
Commit
760c84d
1 Parent(s): d88a6cf

Upload pipeline.yaml with huggingface_hub

Browse files
Files changed (1) hide show
  1. pipeline.yaml +1183 -0
pipeline.yaml ADDED
@@ -0,0 +1,1183 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ distilabel:
2
+ version: 1.0.3
3
+ pipeline:
4
+ name: prefs-with-llama-3
5
+ description: Pipeline using Llama 3 for preference datasets
6
+ steps:
7
+ - step:
8
+ name: load_dataset
9
+ input_mappings: {}
10
+ output_mappings:
11
+ Prompt: instruction
12
+ batch_size: 50
13
+ data:
14
+ - Index: 0
15
+ Prompt: Give a sample document of USA B-1/B-2 Visa (Business or Tourism Visa)
16
+ with fake data. Do not use any placeholder or *. Give just text
17
+ Class: USA
18
+ Subclass: B-1/B-2 Visa (Business or Tourism Visa)
19
+ Quantization: true
20
+ - Index: 1
21
+ Prompt: Give a sample document of USA B-1/B-2 Visa (Business or Tourism Visa)
22
+ with fake data. Do not use any placeholder or *. Give just text
23
+ Class: USA
24
+ Subclass: B-1/B-2 Visa (Business or Tourism Visa)
25
+ Quantization: true
26
+ - Index: 2
27
+ Prompt: Give a sample document of USA Birth Certificate with fake data. Do
28
+ not use any placeholder or *. Give just text
29
+ Class: USA
30
+ Subclass: Birth Certificate
31
+ Quantization: true
32
+ - Index: 3
33
+ Prompt: Give a sample document of USA Birth Certificate with fake data. Do
34
+ not use any placeholder or *. Give just text
35
+ Class: USA
36
+ Subclass: Birth Certificate
37
+ Quantization: true
38
+ - Index: 4
39
+ Prompt: Give a sample document of USA Certificate of Citizenship with fake
40
+ data. Do not use any placeholder or *. Give just text
41
+ Class: USA
42
+ Subclass: Certificate of Citizenship
43
+ Quantization: true
44
+ - Index: 5
45
+ Prompt: Give a sample document of USA Certificate of Citizenship with fake
46
+ data. Do not use any placeholder or *. Give just text
47
+ Class: USA
48
+ Subclass: Certificate of Citizenship
49
+ Quantization: true
50
+ - Index: 6
51
+ Prompt: Give a sample document of USA Certificate of Naturalization with fake
52
+ data. Do not use any placeholder or *. Give just text
53
+ Class: USA
54
+ Subclass: Certificate of Naturalization
55
+ Quantization: true
56
+ - Index: 7
57
+ Prompt: Give a sample document of USA Certificate of Naturalization with fake
58
+ data. Do not use any placeholder or *. Give just text
59
+ Class: USA
60
+ Subclass: Certificate of Naturalization
61
+ Quantization: true
62
+ - Index: 8
63
+ Prompt: Give a sample document of USA Concealed Carry Permit with fake data.
64
+ Do not use any placeholder or *. Give just text
65
+ Class: USA
66
+ Subclass: Concealed Carry Permit
67
+ Quantization: true
68
+ - Index: 9
69
+ Prompt: Give a sample document of USA Concealed Carry Permit with fake data.
70
+ Do not use any placeholder or *. Give just text
71
+ Class: USA
72
+ Subclass: Concealed Carry Permit
73
+ Quantization: true
74
+ - Index: 10
75
+ Prompt: Give a sample document of USA Consular Report of Birth Abroad with
76
+ fake data. Do not use any placeholder or *. Give just text
77
+ Class: USA
78
+ Subclass: Consular Report of Birth Abroad
79
+ Quantization: true
80
+ - Index: 11
81
+ Prompt: Give a sample document of USA Consular Report of Birth Abroad with
82
+ fake data. Do not use any placeholder or *. Give just text
83
+ Class: USA
84
+ Subclass: Consular Report of Birth Abroad
85
+ Quantization: true
86
+ - Index: 12
87
+ Prompt: Give a sample document of USA Crewmember Visa with fake data. Do not
88
+ use any placeholder or *. Give just text
89
+ Class: USA
90
+ Subclass: Crewmember Visa
91
+ Quantization: true
92
+ - Index: 13
93
+ Prompt: Give a sample document of USA Crewmember Visa with fake data. Do not
94
+ use any placeholder or *. Give just text
95
+ Class: USA
96
+ Subclass: Crewmember Visa
97
+ Quantization: true
98
+ - Index: 14
99
+ Prompt: Give a sample document of USA Cuban/Haitian Entrant Status with fake
100
+ data. Do not use any placeholder or *. Give just text
101
+ Class: USA
102
+ Subclass: Cuban/Haitian Entrant Status
103
+ Quantization: true
104
+ - Index: 15
105
+ Prompt: Give a sample document of USA Cuban/Haitian Entrant Status with fake
106
+ data. Do not use any placeholder or *. Give just text
107
+ Class: USA
108
+ Subclass: Cuban/Haitian Entrant Status
109
+ Quantization: true
110
+ - Index: 16
111
+ Prompt: Give a sample document of USA DV Lottery Visa (Diversity Visa) with
112
+ fake data. Do not use any placeholder or *. Give just text
113
+ Class: USA
114
+ Subclass: DV Lottery Visa (Diversity Visa)
115
+ Quantization: true
116
+ - Index: 17
117
+ Prompt: Give a sample document of USA DV Lottery Visa (Diversity Visa) with
118
+ fake data. Do not use any placeholder or *. Give just text
119
+ Class: USA
120
+ Subclass: DV Lottery Visa (Diversity Visa)
121
+ Quantization: true
122
+ - Index: 18
123
+ Prompt: Give a sample document of USA Diplomatic Visa with fake data. Do not
124
+ use any placeholder or *. Give just text
125
+ Class: USA
126
+ Subclass: Diplomatic Visa
127
+ Quantization: true
128
+ - Index: 19
129
+ Prompt: Give a sample document of USA Diplomatic Visa with fake data. Do not
130
+ use any placeholder or *. Give just text
131
+ Class: USA
132
+ Subclass: Diplomatic Visa
133
+ Quantization: true
134
+ - Index: 20
135
+ Prompt: Give a sample document of USA Employment Authorization Document (EAD)
136
+ with fake data. Do not use any placeholder or *. Give just text
137
+ Class: USA
138
+ Subclass: Employment Authorization Document (EAD)
139
+ Quantization: true
140
+ - Index: 21
141
+ Prompt: Give a sample document of USA Employment Authorization Document (EAD)
142
+ with fake data. Do not use any placeholder or *. Give just text
143
+ Class: USA
144
+ Subclass: Employment Authorization Document (EAD)
145
+ Quantization: true
146
+ - Index: 22
147
+ Prompt: Give a sample document of USA Employment-Based Immigrant Visa with
148
+ fake data. Do not use any placeholder or *. Give just text
149
+ Class: USA
150
+ Subclass: Employment-Based Immigrant Visa
151
+ Quantization: true
152
+ - Index: 23
153
+ Prompt: Give a sample document of USA Employment-Based Immigrant Visa with
154
+ fake data. Do not use any placeholder or *. Give just text
155
+ Class: USA
156
+ Subclass: Employment-Based Immigrant Visa
157
+ Quantization: true
158
+ - Index: 24
159
+ Prompt: "Give a sample document of USA Enhanced Driver\u2019s License with\
160
+ \ fake data. Do not use any placeholder or *. Give just text"
161
+ Class: USA
162
+ Subclass: "Enhanced Driver\u2019s License"
163
+ Quantization: true
164
+ - Index: 25
165
+ Prompt: "Give a sample document of USA Enhanced Driver\u2019s License with\
166
+ \ fake data. Do not use any placeholder or *. Give just text"
167
+ Class: USA
168
+ Subclass: "Enhanced Driver\u2019s License"
169
+ Quantization: true
170
+ - Index: 26
171
+ Prompt: Give a sample document of USA F-1 Visa (Student Visa) with fake data.
172
+ Do not use any placeholder or *. Give just text
173
+ Class: USA
174
+ Subclass: F-1 Visa (Student Visa)
175
+ Quantization: true
176
+ - Index: 27
177
+ Prompt: Give a sample document of USA F-1 Visa (Student Visa) with fake data.
178
+ Do not use any placeholder or *. Give just text
179
+ Class: USA
180
+ Subclass: F-1 Visa (Student Visa)
181
+ Quantization: true
182
+ - Index: 28
183
+ Prompt: Give a sample document of USA Family-Sponsored Immigrant Visa with
184
+ fake data. Do not use any placeholder or *. Give just text
185
+ Class: USA
186
+ Subclass: Family-Sponsored Immigrant Visa
187
+ Quantization: true
188
+ - Index: 29
189
+ Prompt: Give a sample document of USA Family-Sponsored Immigrant Visa with
190
+ fake data. Do not use any placeholder or *. Give just text
191
+ Class: USA
192
+ Subclass: Family-Sponsored Immigrant Visa
193
+ Quantization: true
194
+ - Index: 30
195
+ Prompt: Give a sample document of USA Federal Building Access Card with fake
196
+ data. Do not use any placeholder or *. Give just text
197
+ Class: USA
198
+ Subclass: Federal Building Access Card
199
+ Quantization: true
200
+ - Index: 31
201
+ Prompt: Give a sample document of USA Federal Building Access Card with fake
202
+ data. Do not use any placeholder or *. Give just text
203
+ Class: USA
204
+ Subclass: Federal Building Access Card
205
+ Quantization: true
206
+ - Index: 32
207
+ Prompt: Give a sample document of USA Global Entry Card with fake data. Do
208
+ not use any placeholder or *. Give just text
209
+ Class: USA
210
+ Subclass: Global Entry Card
211
+ Quantization: true
212
+ - Index: 33
213
+ Prompt: Give a sample document of USA Global Entry Card with fake data. Do
214
+ not use any placeholder or *. Give just text
215
+ Class: USA
216
+ Subclass: Global Entry Card
217
+ Quantization: true
218
+ - Index: 34
219
+ Prompt: Give a sample document of USA H-1B Visa (Work Visa) with fake data.
220
+ Do not use any placeholder or *. Give just text
221
+ Class: USA
222
+ Subclass: H-1B Visa (Work Visa)
223
+ Quantization: true
224
+ - Index: 35
225
+ Prompt: Give a sample document of USA H-1B Visa (Work Visa) with fake data.
226
+ Do not use any placeholder or *. Give just text
227
+ Class: USA
228
+ Subclass: H-1B Visa (Work Visa)
229
+ Quantization: true
230
+ - Index: 36
231
+ Prompt: Give a sample document of USA Healthcare Provider ID Card (issued
232
+ by some government healthcare organizations) with fake data. Do not use
233
+ any placeholder or *. Give just text
234
+ Class: USA
235
+ Subclass: Healthcare Provider ID Card (issued by some government healthcare
236
+ organizations)
237
+ Quantization: true
238
+ - Index: 37
239
+ Prompt: Give a sample document of USA Healthcare Provider ID Card (issued
240
+ by some government healthcare organizations) with fake data. Do not use
241
+ any placeholder or *. Give just text
242
+ Class: USA
243
+ Subclass: Healthcare Provider ID Card (issued by some government healthcare
244
+ organizations)
245
+ Quantization: true
246
+ - Index: 38
247
+ Prompt: Give a sample document of USA I Visa (Foreign Media Representatives)
248
+ with fake data. Do not use any placeholder or *. Give just text
249
+ Class: USA
250
+ Subclass: I Visa (Foreign Media Representatives)
251
+ Quantization: true
252
+ - Index: 39
253
+ Prompt: Give a sample document of USA I Visa (Foreign Media Representatives)
254
+ with fake data. Do not use any placeholder or *. Give just text
255
+ Class: USA
256
+ Subclass: I Visa (Foreign Media Representatives)
257
+ Quantization: true
258
+ - Index: 40
259
+ Prompt: Give a sample document of USA Immigrant Visa with fake data. Do not
260
+ use any placeholder or *. Give just text
261
+ Class: USA
262
+ Subclass: Immigrant Visa
263
+ Quantization: true
264
+ - Index: 41
265
+ Prompt: Give a sample document of USA Immigrant Visa with fake data. Do not
266
+ use any placeholder or *. Give just text
267
+ Class: USA
268
+ Subclass: Immigrant Visa
269
+ Quantization: true
270
+ - Index: 42
271
+ Prompt: Give a sample document of USA J-1 Visa (Exchange Visitor Visa) with
272
+ fake data. Do not use any placeholder or *. Give just text
273
+ Class: USA
274
+ Subclass: J-1 Visa (Exchange Visitor Visa)
275
+ Quantization: true
276
+ - Index: 43
277
+ Prompt: Give a sample document of USA J-1 Visa (Exchange Visitor Visa) with
278
+ fake data. Do not use any placeholder or *. Give just text
279
+ Class: USA
280
+ Subclass: J-1 Visa (Exchange Visitor Visa)
281
+ Quantization: true
282
+ - Index: 44
283
+ Prompt: "Give a sample document of USA K-1 Visa (Fianc\xE9 Visa) with fake\
284
+ \ data. Do not use any placeholder or *. Give just text"
285
+ Class: USA
286
+ Subclass: "K-1 Visa (Fianc\xE9 Visa)"
287
+ Quantization: true
288
+ - Index: 45
289
+ Prompt: "Give a sample document of USA K-1 Visa (Fianc\xE9 Visa) with fake\
290
+ \ data. Do not use any placeholder or *. Give just text"
291
+ Class: USA
292
+ Subclass: "K-1 Visa (Fianc\xE9 Visa)"
293
+ Quantization: true
294
+ - Index: 46
295
+ Prompt: "Give a sample document of USA K-2 Visa (Dependent of Fianc\xE9 Visa\
296
+ \ Holder) with fake data. Do not use any placeholder or *. Give just text"
297
+ Class: USA
298
+ Subclass: "K-2 Visa (Dependent of Fianc\xE9 Visa Holder)"
299
+ Quantization: true
300
+ - Index: 47
301
+ Prompt: "Give a sample document of USA K-2 Visa (Dependent of Fianc\xE9 Visa\
302
+ \ Holder) with fake data. Do not use any placeholder or *. Give just text"
303
+ Class: USA
304
+ Subclass: "K-2 Visa (Dependent of Fianc\xE9 Visa Holder)"
305
+ Quantization: true
306
+ - Index: 48
307
+ Prompt: Give a sample document of USA K-3 Visa (Spouse of U.S. Citizen) with
308
+ fake data. Do not use any placeholder or *. Give just text
309
+ Class: USA
310
+ Subclass: K-3 Visa (Spouse of U.S. Citizen)
311
+ Quantization: true
312
+ - Index: 49
313
+ Prompt: Give a sample document of USA K-3 Visa (Spouse of U.S. Citizen) with
314
+ fake data. Do not use any placeholder or *. Give just text
315
+ Class: USA
316
+ Subclass: K-3 Visa (Spouse of U.S. Citizen)
317
+ Quantization: true
318
+ - Index: 50
319
+ Prompt: Give a sample document of USA K-4 Visa (Child of K-3 Visa Holder)
320
+ with fake data. Do not use any placeholder or *. Give just text
321
+ Class: USA
322
+ Subclass: K-4 Visa (Child of K-3 Visa Holder)
323
+ Quantization: true
324
+ - Index: 51
325
+ Prompt: Give a sample document of USA K-4 Visa (Child of K-3 Visa Holder)
326
+ with fake data. Do not use any placeholder or *. Give just text
327
+ Class: USA
328
+ Subclass: K-4 Visa (Child of K-3 Visa Holder)
329
+ Quantization: true
330
+ - Index: 52
331
+ Prompt: Give a sample document of USA L-1 Visa (Intracompany Transferee) with
332
+ fake data. Do not use any placeholder or *. Give just text
333
+ Class: USA
334
+ Subclass: L-1 Visa (Intracompany Transferee)
335
+ Quantization: true
336
+ - Index: 53
337
+ Prompt: Give a sample document of USA L-1 Visa (Intracompany Transferee) with
338
+ fake data. Do not use any placeholder or *. Give just text
339
+ Class: USA
340
+ Subclass: L-1 Visa (Intracompany Transferee)
341
+ Quantization: true
342
+ - Index: 54
343
+ Prompt: Give a sample document of USA Medical Marijuana Card (in states where
344
+ legalized) with fake data. Do not use any placeholder or *. Give just text
345
+ Class: USA
346
+ Subclass: Medical Marijuana Card (in states where legalized)
347
+ Quantization: true
348
+ - Index: 55
349
+ Prompt: Give a sample document of USA Medical Marijuana Card (in states where
350
+ legalized) with fake data. Do not use any placeholder or *. Give just text
351
+ Class: USA
352
+ Subclass: Medical Marijuana Card (in states where legalized)
353
+ Quantization: true
354
+ - Index: 56
355
+ Prompt: Give a sample document of USA Merchant Mariner Credential (MMC) with
356
+ fake data. Do not use any placeholder or *. Give just text
357
+ Class: USA
358
+ Subclass: Merchant Mariner Credential (MMC)
359
+ Quantization: true
360
+ - Index: 57
361
+ Prompt: Give a sample document of USA Merchant Mariner Credential (MMC) with
362
+ fake data. Do not use any placeholder or *. Give just text
363
+ Class: USA
364
+ Subclass: Merchant Mariner Credential (MMC)
365
+ Quantization: true
366
+ - Index: 58
367
+ Prompt: Give a sample document of USA Military ID Card with fake data. Do
368
+ not use any placeholder or *. Give just text
369
+ Class: USA
370
+ Subclass: Military ID Card
371
+ Quantization: true
372
+ - Index: 59
373
+ Prompt: Give a sample document of USA Military ID Card with fake data. Do
374
+ not use any placeholder or *. Give just text
375
+ Class: USA
376
+ Subclass: Military ID Card
377
+ Quantization: true
378
+ - Index: 60
379
+ Prompt: Give a sample document of USA NASA Access Card with fake data. Do
380
+ not use any placeholder or *. Give just text
381
+ Class: USA
382
+ Subclass: NASA Access Card
383
+ Quantization: true
384
+ - Index: 61
385
+ Prompt: Give a sample document of USA NASA Access Card with fake data. Do
386
+ not use any placeholder or *. Give just text
387
+ Class: USA
388
+ Subclass: NASA Access Card
389
+ Quantization: true
390
+ - Index: 62
391
+ Prompt: Give a sample document of USA National Guard ID Card with fake data.
392
+ Do not use any placeholder or *. Give just text
393
+ Class: USA
394
+ Subclass: National Guard ID Card
395
+ Quantization: true
396
+ - Index: 63
397
+ Prompt: Give a sample document of USA National Guard ID Card with fake data.
398
+ Do not use any placeholder or *. Give just text
399
+ Class: USA
400
+ Subclass: National Guard ID Card
401
+ Quantization: true
402
+ - Index: 64
403
+ Prompt: Give a sample document of USA Nexus Card with fake data. Do not use
404
+ any placeholder or *. Give just text
405
+ Class: USA
406
+ Subclass: Nexus Card
407
+ Quantization: true
408
+ - Index: 65
409
+ Prompt: Give a sample document of USA Nexus Card with fake data. Do not use
410
+ any placeholder or *. Give just text
411
+ Class: USA
412
+ Subclass: Nexus Card
413
+ Quantization: true
414
+ - Index: 66
415
+ Prompt: Give a sample document of USA O Visa (Individuals with Extraordinary
416
+ Ability or Achievement) with fake data. Do not use any placeholder or *.
417
+ Give just text
418
+ Class: USA
419
+ Subclass: O Visa (Individuals with Extraordinary Ability or Achievement)
420
+ Quantization: true
421
+ - Index: 67
422
+ Prompt: Give a sample document of USA O Visa (Individuals with Extraordinary
423
+ Ability or Achievement) with fake data. Do not use any placeholder or *.
424
+ Give just text
425
+ Class: USA
426
+ Subclass: O Visa (Individuals with Extraordinary Ability or Achievement)
427
+ Quantization: true
428
+ - Index: 68
429
+ Prompt: Give a sample document of USA Official U.S. Government Contractor
430
+ ID Card with fake data. Do not use any placeholder or *. Give just text
431
+ Class: USA
432
+ Subclass: Official U.S. Government Contractor ID Card
433
+ Quantization: true
434
+ - Index: 69
435
+ Prompt: Give a sample document of USA Official U.S. Government Contractor
436
+ ID Card with fake data. Do not use any placeholder or *. Give just text
437
+ Class: USA
438
+ Subclass: Official U.S. Government Contractor ID Card
439
+ Quantization: true
440
+ - Index: 70
441
+ Prompt: Give a sample document of USA Official Visa with fake data. Do not
442
+ use any placeholder or *. Give just text
443
+ Class: USA
444
+ Subclass: Official Visa
445
+ Quantization: true
446
+ - Index: 71
447
+ Prompt: Give a sample document of USA Official Visa with fake data. Do not
448
+ use any placeholder or *. Give just text
449
+ Class: USA
450
+ Subclass: Official Visa
451
+ Quantization: true
452
+ - Index: 72
453
+ Prompt: Give a sample document of USA P Visa (Internationally Recognized Athletes/Performers)
454
+ with fake data. Do not use any placeholder or *. Give just text
455
+ Class: USA
456
+ Subclass: P Visa (Internationally Recognized Athletes/Performers)
457
+ Quantization: true
458
+ - Index: 73
459
+ Prompt: Give a sample document of USA P Visa (Internationally Recognized Athletes/Performers)
460
+ with fake data. Do not use any placeholder or *. Give just text
461
+ Class: USA
462
+ Subclass: P Visa (Internationally Recognized Athletes/Performers)
463
+ Quantization: true
464
+ - Index: 74
465
+ Prompt: Give a sample document of USA Passport with fake data. Do not use
466
+ any placeholder or *. Give just text
467
+ Class: USA
468
+ Subclass: Passport
469
+ Quantization: true
470
+ - Index: 75
471
+ Prompt: Give a sample document of USA Passport with fake data. Do not use
472
+ any placeholder or *. Give just text
473
+ Class: USA
474
+ Subclass: Passport
475
+ Quantization: true
476
+ - Index: 76
477
+ Prompt: Give a sample document of USA Passport Card with fake data. Do not
478
+ use any placeholder or *. Give just text
479
+ Class: USA
480
+ Subclass: Passport Card
481
+ Quantization: true
482
+ - Index: 77
483
+ Prompt: Give a sample document of USA Passport Card with fake data. Do not
484
+ use any placeholder or *. Give just text
485
+ Class: USA
486
+ Subclass: Passport Card
487
+ Quantization: true
488
+ - Index: 78
489
+ Prompt: Give a sample document of USA Permanent Resident Card (Green Card)
490
+ with fake data. Do not use any placeholder or *. Give just text
491
+ Class: USA
492
+ Subclass: Permanent Resident Card (Green Card)
493
+ Quantization: true
494
+ - Index: 79
495
+ Prompt: Give a sample document of USA Permanent Resident Card (Green Card)
496
+ with fake data. Do not use any placeholder or *. Give just text
497
+ Class: USA
498
+ Subclass: Permanent Resident Card (Green Card)
499
+ Quantization: true
500
+ - Index: 80
501
+ Prompt: Give a sample document of USA Public Benefits Identification Card
502
+ (state-level ID for programs like SNAP) with fake data. Do not use any placeholder
503
+ or *. Give just text
504
+ Class: USA
505
+ Subclass: Public Benefits Identification Card (state-level ID for programs
506
+ like SNAP)
507
+ Quantization: true
508
+ - Index: 81
509
+ Prompt: Give a sample document of USA Public Benefits Identification Card
510
+ (state-level ID for programs like SNAP) with fake data. Do not use any placeholder
511
+ or *. Give just text
512
+ Class: USA
513
+ Subclass: Public Benefits Identification Card (state-level ID for programs
514
+ like SNAP)
515
+ Quantization: true
516
+ - Index: 82
517
+ Prompt: Give a sample document of USA Public School Teacher ID Card with fake
518
+ data. Do not use any placeholder or *. Give just text
519
+ Class: USA
520
+ Subclass: Public School Teacher ID Card
521
+ Quantization: true
522
+ - Index: 83
523
+ Prompt: Give a sample document of USA Public School Teacher ID Card with fake
524
+ data. Do not use any placeholder or *. Give just text
525
+ Class: USA
526
+ Subclass: Public School Teacher ID Card
527
+ Quantization: true
528
+ - Index: 84
529
+ Prompt: Give a sample document of USA Public Transportation Card (issued in
530
+ some states for public transit) with fake data. Do not use any placeholder
531
+ or *. Give just text
532
+ Class: USA
533
+ Subclass: Public Transportation Card (issued in some states for public transit)
534
+ Quantization: true
535
+ - Index: 85
536
+ Prompt: Give a sample document of USA Public Transportation Card (issued in
537
+ some states for public transit) with fake data. Do not use any placeholder
538
+ or *. Give just text
539
+ Class: USA
540
+ Subclass: Public Transportation Card (issued in some states for public transit)
541
+ Quantization: true
542
+ - Index: 86
543
+ Prompt: Give a sample document of USA R Visa (Religious Workers) with fake
544
+ data. Do not use any placeholder or *. Give just text
545
+ Class: USA
546
+ Subclass: R Visa (Religious Workers)
547
+ Quantization: true
548
+ - Index: 87
549
+ Prompt: Give a sample document of USA R Visa (Religious Workers) with fake
550
+ data. Do not use any placeholder or *. Give just text
551
+ Class: USA
552
+ Subclass: R Visa (Religious Workers)
553
+ Quantization: true
554
+ - Index: 88
555
+ Prompt: Give a sample document of USA Re-entry Permit with fake data. Do not
556
+ use any placeholder or *. Give just text
557
+ Class: USA
558
+ Subclass: Re-entry Permit
559
+ Quantization: true
560
+ - Index: 89
561
+ Prompt: Give a sample document of USA Re-entry Permit with fake data. Do not
562
+ use any placeholder or *. Give just text
563
+ Class: USA
564
+ Subclass: Re-entry Permit
565
+ Quantization: true
566
+ - Index: 90
567
+ Prompt: Give a sample document of USA Refugee Admission Approval Document
568
+ with fake data. Do not use any placeholder or *. Give just text
569
+ Class: USA
570
+ Subclass: Refugee Admission Approval Document
571
+ Quantization: true
572
+ - Index: 91
573
+ Prompt: Give a sample document of USA Refugee Admission Approval Document
574
+ with fake data. Do not use any placeholder or *. Give just text
575
+ Class: USA
576
+ Subclass: Refugee Admission Approval Document
577
+ Quantization: true
578
+ - Index: 92
579
+ Prompt: Give a sample document of USA Refugee Travel Document with fake data.
580
+ Do not use any placeholder or *. Give just text
581
+ Class: USA
582
+ Subclass: Refugee Travel Document
583
+ Quantization: true
584
+ - Index: 93
585
+ Prompt: Give a sample document of USA Refugee Travel Document with fake data.
586
+ Do not use any placeholder or *. Give just text
587
+ Class: USA
588
+ Subclass: Refugee Travel Document
589
+ Quantization: true
590
+ - Index: 94
591
+ Prompt: Give a sample document of USA S Visa (Witnesses/Informants) with fake
592
+ data. Do not use any placeholder or *. Give just text
593
+ Class: USA
594
+ Subclass: S Visa (Witnesses/Informants)
595
+ Quantization: true
596
+ - Index: 95
597
+ Prompt: Give a sample document of USA S Visa (Witnesses/Informants) with fake
598
+ data. Do not use any placeholder or *. Give just text
599
+ Class: USA
600
+ Subclass: S Visa (Witnesses/Informants)
601
+ Quantization: true
602
+ - Index: 96
603
+ Prompt: Give a sample document of USA School District Staff ID Card with fake
604
+ data. Do not use any placeholder or *. Give just text
605
+ Class: USA
606
+ Subclass: School District Staff ID Card
607
+ Quantization: true
608
+ - Index: 97
609
+ Prompt: Give a sample document of USA School District Staff ID Card with fake
610
+ data. Do not use any placeholder or *. Give just text
611
+ Class: USA
612
+ Subclass: School District Staff ID Card
613
+ Quantization: true
614
+ - Index: 98
615
+ Prompt: Give a sample document of USA Sentri Card with fake data. Do not use
616
+ any placeholder or *. Give just text
617
+ Class: USA
618
+ Subclass: Sentri Card
619
+ Quantization: true
620
+ - Index: 99
621
+ Prompt: Give a sample document of USA Sentri Card with fake data. Do not use
622
+ any placeholder or *. Give just text
623
+ Class: USA
624
+ Subclass: Sentri Card
625
+ Quantization: true
626
+ - Index: 100
627
+ Prompt: Give a sample document of USA Social Security Card with fake data.
628
+ Do not use any placeholder or *. Give just text
629
+ Class: USA
630
+ Subclass: Social Security Card
631
+ Quantization: true
632
+ - Index: 101
633
+ Prompt: Give a sample document of USA Social Security Card with fake data.
634
+ Do not use any placeholder or *. Give just text
635
+ Class: USA
636
+ Subclass: Social Security Card
637
+ Quantization: true
638
+ - Index: 102
639
+ Prompt: "Give a sample document of USA Standard Driver\u2019s License with\
640
+ \ fake data. Do not use any placeholder or *. Give just text"
641
+ Class: USA
642
+ Subclass: "Standard Driver\u2019s License"
643
+ Quantization: true
644
+ - Index: 103
645
+ Prompt: "Give a sample document of USA Standard Driver\u2019s License with\
646
+ \ fake data. Do not use any placeholder or *. Give just text"
647
+ Class: USA
648
+ Subclass: "Standard Driver\u2019s License"
649
+ Quantization: true
650
+ - Index: 104
651
+ Prompt: Give a sample document of USA State Fishing/Hunting License with fake
652
+ data. Do not use any placeholder or *. Give just text
653
+ Class: USA
654
+ Subclass: State Fishing/Hunting License
655
+ Quantization: true
656
+ - Index: 105
657
+ Prompt: Give a sample document of USA State Fishing/Hunting License with fake
658
+ data. Do not use any placeholder or *. Give just text
659
+ Class: USA
660
+ Subclass: State Fishing/Hunting License
661
+ Quantization: true
662
+ - Index: 106
663
+ Prompt: Give a sample document of USA State ID Card with fake data. Do not
664
+ use any placeholder or *. Give just text
665
+ Class: USA
666
+ Subclass: State ID Card
667
+ Quantization: true
668
+ - Index: 107
669
+ Prompt: Give a sample document of USA State ID Card with fake data. Do not
670
+ use any placeholder or *. Give just text
671
+ Class: USA
672
+ Subclass: State ID Card
673
+ Quantization: true
674
+ - Index: 108
675
+ Prompt: Give a sample document of USA State Professional Licenses (teaching,
676
+ law, etc.) with fake data. Do not use any placeholder or *. Give just text
677
+ Class: USA
678
+ Subclass: State Professional Licenses (teaching, law, etc.)
679
+ Quantization: true
680
+ - Index: 109
681
+ Prompt: Give a sample document of USA State Professional Licenses (teaching,
682
+ law, etc.) with fake data. Do not use any placeholder or *. Give just text
683
+ Class: USA
684
+ Subclass: State Professional Licenses (teaching, law, etc.)
685
+ Quantization: true
686
+ - Index: 110
687
+ Prompt: Give a sample document of USA State Voter Registration Card with fake
688
+ data. Do not use any placeholder or *. Give just text
689
+ Class: USA
690
+ Subclass: State Voter Registration Card
691
+ Quantization: true
692
+ - Index: 111
693
+ Prompt: Give a sample document of USA State Voter Registration Card with fake
694
+ data. Do not use any placeholder or *. Give just text
695
+ Class: USA
696
+ Subclass: State Voter Registration Card
697
+ Quantization: true
698
+ - Index: 112
699
+ Prompt: Give a sample document of USA T Visa (Victims of Human Trafficking)
700
+ with fake data. Do not use any placeholder or *. Give just text
701
+ Class: USA
702
+ Subclass: T Visa (Victims of Human Trafficking)
703
+ Quantization: true
704
+ - Index: 113
705
+ Prompt: Give a sample document of USA T Visa (Victims of Human Trafficking)
706
+ with fake data. Do not use any placeholder or *. Give just text
707
+ Class: USA
708
+ Subclass: T Visa (Victims of Human Trafficking)
709
+ Quantization: true
710
+ - Index: 114
711
+ Prompt: Give a sample document of USA Temporary Protected Status (TPS) with
712
+ fake data. Do not use any placeholder or *. Give just text
713
+ Class: USA
714
+ Subclass: Temporary Protected Status (TPS)
715
+ Quantization: true
716
+ - Index: 115
717
+ Prompt: Give a sample document of USA Temporary Protected Status (TPS) with
718
+ fake data. Do not use any placeholder or *. Give just text
719
+ Class: USA
720
+ Subclass: Temporary Protected Status (TPS)
721
+ Quantization: true
722
+ - Index: 116
723
+ Prompt: Give a sample document of USA Transit Visa with fake data. Do not
724
+ use any placeholder or *. Give just text
725
+ Class: USA
726
+ Subclass: Transit Visa
727
+ Quantization: true
728
+ - Index: 117
729
+ Prompt: Give a sample document of USA Transit Visa with fake data. Do not
730
+ use any placeholder or *. Give just text
731
+ Class: USA
732
+ Subclass: Transit Visa
733
+ Quantization: true
734
+ - Index: 118
735
+ Prompt: Give a sample document of USA Transportation Worker Identification
736
+ Credential (TWIC) with fake data. Do not use any placeholder or *. Give
737
+ just text
738
+ Class: USA
739
+ Subclass: Transportation Worker Identification Credential (TWIC)
740
+ Quantization: true
741
+ - Index: 119
742
+ Prompt: Give a sample document of USA Transportation Worker Identification
743
+ Credential (TWIC) with fake data. Do not use any placeholder or *. Give
744
+ just text
745
+ Class: USA
746
+ Subclass: Transportation Worker Identification Credential (TWIC)
747
+ Quantization: true
748
+ - Index: 120
749
+ Prompt: Give a sample document of USA Tribal ID Card with fake data. Do not
750
+ use any placeholder or *. Give just text
751
+ Class: USA
752
+ Subclass: Tribal ID Card
753
+ Quantization: true
754
+ - Index: 121
755
+ Prompt: Give a sample document of USA Tribal ID Card with fake data. Do not
756
+ use any placeholder or *. Give just text
757
+ Class: USA
758
+ Subclass: Tribal ID Card
759
+ Quantization: true
760
+ - Index: 122
761
+ Prompt: Give a sample document of USA U Visa (Victims of Crime) with fake
762
+ data. Do not use any placeholder or *. Give just text
763
+ Class: USA
764
+ Subclass: U Visa (Victims of Crime)
765
+ Quantization: true
766
+ - Index: 123
767
+ Prompt: Give a sample document of USA U Visa (Victims of Crime) with fake
768
+ data. Do not use any placeholder or *. Give just text
769
+ Class: USA
770
+ Subclass: U Visa (Victims of Crime)
771
+ Quantization: true
772
+ - Index: 124
773
+ Prompt: Give a sample document of USA Veteran Identification Card with fake
774
+ data. Do not use any placeholder or *. Give just text
775
+ Class: USA
776
+ Subclass: Veteran Identification Card
777
+ Quantization: true
778
+ - Index: 125
779
+ Prompt: Give a sample document of USA Veteran Identification Card with fake
780
+ data. Do not use any placeholder or *. Give just text
781
+ Class: USA
782
+ Subclass: Veteran Identification Card
783
+ Quantization: true
784
+ - Index: 126
785
+ Prompt: Give a sample document of USA Veterans Health Identification Card
786
+ with fake data. Do not use any placeholder or *. Give just text
787
+ Class: USA
788
+ Subclass: Veterans Health Identification Card
789
+ Quantization: true
790
+ - Index: 127
791
+ Prompt: Give a sample document of USA Veterans Health Identification Card
792
+ with fake data. Do not use any placeholder or *. Give just text
793
+ Class: USA
794
+ Subclass: Veterans Health Identification Card
795
+ Quantization: true
796
+ runtime_parameters_info:
797
+ - name: batch_size
798
+ optional: true
799
+ description: The number of rows that will contain the batches generated by
800
+ the step.
801
+ type_info:
802
+ module: distilabel.steps.generators.data
803
+ name: LoadDataFromDicts
804
+ name: load_dataset
805
+ - step:
806
+ name: generate_with_llama3_8B
807
+ input_mappings: {}
808
+ output_mappings: {}
809
+ input_batch_size: 50
810
+ llm:
811
+ generation_kwargs:
812
+ max_new_tokens: 1024
813
+ temperature: 0.7
814
+ stop_sequences:
815
+ - <|eot_id|>
816
+ - <|end_of_text|>
817
+ model_id: meta-llama/Meta-Llama-3-8B-Instruct
818
+ endpoint_name: null
819
+ endpoint_namespace: null
820
+ base_url: null
821
+ tokenizer_id: meta-llama/Meta-Llama-3-8B-Instruct
822
+ model_display_name: null
823
+ use_openai_client: false
824
+ type_info:
825
+ module: distilabel.llms.huggingface.inference_endpoints
826
+ name: InferenceEndpointsLLM
827
+ group_generations: false
828
+ num_generations: 1
829
+ runtime_parameters_info:
830
+ - name: input_batch_size
831
+ optional: true
832
+ description: The number of rows that will contain the batches processed by
833
+ the step.
834
+ - name: llm
835
+ runtime_parameters_info:
836
+ - name: generation_kwargs
837
+ description: The kwargs to be propagated to either `generate` or `agenerate`
838
+ methods within each `LLM`.
839
+ keys:
840
+ - name: max_new_tokens
841
+ optional: true
842
+ description: the maximum number of new tokens that the model will generate. Defaults
843
+ to `128`.
844
+ - name: frequency_penalty
845
+ optional: true
846
+ description: the repetition penalty to use for the generation. Defaults to
847
+ `0.0`. Only applies if `use_openai_client=True`.
848
+ - name: presence_penalty
849
+ optional: true
850
+ description: the presence penalty to use for the generation. Defaults
851
+ to `0.0`. Only applies if `use_openai_client=True`.
852
+ - name: repetition_penalty
853
+ optional: true
854
+ description: the repetition penalty to use for the generation. Defaults to
855
+ `None`. Only applies if `use_openai_client=False`.
856
+ - name: temperature
857
+ optional: true
858
+ description: the temperature to use for the generation. Defaults to `1.0`.
859
+ - name: do_sample
860
+ optional: true
861
+ description: whether to use sampling for the generation. Defaults to `False`. Only
862
+ applies if `use_openai_client=False`.
863
+ - name: top_k
864
+ optional: true
865
+ description: the top-k value to use for the generation. Defaults to `0.8`,
866
+ since neither `0.0` nor `1.0` are valid values in TGI.
867
+ - name: top_p
868
+ optional: true
869
+ description: the top-p value to use for the generation. Defaults to `1.0`.
870
+ - name: typical_p
871
+ optional: true
872
+ description: the typical-p value to use for the generation. Defaults to
873
+ `0.5`.
874
+ - name: stop_sequences
875
+ optional: true
876
+ description: either a single string or a list of strings containing the
877
+ sequences to stop the generation at. Defaults to `None`, but will be
878
+ set to the `tokenizer.eos_token` if available.
879
+ - name: endpoint_name
880
+ optional: true
881
+ description: The name of the Inference Endpoint to use for the LLM.
882
+ - name: endpoint_namespace
883
+ optional: true
884
+ description: The namespace of the Inference Endpoint to use for the LLM.
885
+ - name: base_url
886
+ optional: true
887
+ description: The base URL to use for the Inference Endpoints API requests.
888
+ - name: api_key
889
+ optional: true
890
+ description: The API key to authenticate the requests to the Inference Endpoints
891
+ API.
892
+ - name: num_generations
893
+ optional: true
894
+ description: The number of generations to be produced per input.
895
+ type_info:
896
+ module: distilabel.steps.tasks.text_generation
897
+ name: TextGeneration
898
+ name: generate_with_llama3_8B
899
+ - step:
900
+ name: generate_with_gpt_2
901
+ input_mappings: {}
902
+ output_mappings: {}
903
+ input_batch_size: 50
904
+ llm:
905
+ generation_kwargs:
906
+ max_new_tokens: 1024
907
+ temperature: 0.7
908
+ stop_sequences:
909
+ - <|eot_id|>
910
+ - <|end_of_text|>
911
+ model_id: meta-llama/Meta-Llama-3-8B-Instruct
912
+ endpoint_name: null
913
+ endpoint_namespace: null
914
+ base_url: null
915
+ tokenizer_id: meta-llama/Meta-Llama-3-8B-Instruct
916
+ model_display_name: null
917
+ use_openai_client: false
918
+ type_info:
919
+ module: distilabel.llms.huggingface.inference_endpoints
920
+ name: InferenceEndpointsLLM
921
+ group_generations: false
922
+ num_generations: 1
923
+ runtime_parameters_info:
924
+ - name: input_batch_size
925
+ optional: true
926
+ description: The number of rows that will contain the batches processed by
927
+ the step.
928
+ - name: llm
929
+ runtime_parameters_info:
930
+ - name: generation_kwargs
931
+ description: The kwargs to be propagated to either `generate` or `agenerate`
932
+ methods within each `LLM`.
933
+ keys:
934
+ - name: max_new_tokens
935
+ optional: true
936
+ description: the maximum number of new tokens that the model will generate. Defaults
937
+ to `128`.
938
+ - name: frequency_penalty
939
+ optional: true
940
+ description: the repetition penalty to use for the generation. Defaults to
941
+ `0.0`. Only applies if `use_openai_client=True`.
942
+ - name: presence_penalty
943
+ optional: true
944
+ description: the presence penalty to use for the generation. Defaults
945
+ to `0.0`. Only applies if `use_openai_client=True`.
946
+ - name: repetition_penalty
947
+ optional: true
948
+ description: the repetition penalty to use for the generation. Defaults to
949
+ `None`. Only applies if `use_openai_client=False`.
950
+ - name: temperature
951
+ optional: true
952
+ description: the temperature to use for the generation. Defaults to `1.0`.
953
+ - name: do_sample
954
+ optional: true
955
+ description: whether to use sampling for the generation. Defaults to `False`. Only
956
+ applies if `use_openai_client=False`.
957
+ - name: top_k
958
+ optional: true
959
+ description: the top-k value to use for the generation. Defaults to `0.8`,
960
+ since neither `0.0` nor `1.0` are valid values in TGI.
961
+ - name: top_p
962
+ optional: true
963
+ description: the top-p value to use for the generation. Defaults to `1.0`.
964
+ - name: typical_p
965
+ optional: true
966
+ description: the typical-p value to use for the generation. Defaults to
967
+ `0.5`.
968
+ - name: stop_sequences
969
+ optional: true
970
+ description: either a single string or a list of strings containing the
971
+ sequences to stop the generation at. Defaults to `None`, but will be
972
+ set to the `tokenizer.eos_token` if available.
973
+ - name: endpoint_name
974
+ optional: true
975
+ description: The name of the Inference Endpoint to use for the LLM.
976
+ - name: endpoint_namespace
977
+ optional: true
978
+ description: The namespace of the Inference Endpoint to use for the LLM.
979
+ - name: base_url
980
+ optional: true
981
+ description: The base URL to use for the Inference Endpoints API requests.
982
+ - name: api_key
983
+ optional: true
984
+ description: The API key to authenticate the requests to the Inference Endpoints
985
+ API.
986
+ - name: num_generations
987
+ optional: true
988
+ description: The number of generations to be produced per input.
989
+ type_info:
990
+ module: distilabel.steps.tasks.text_generation
991
+ name: TextGeneration
992
+ name: generate_with_gpt_2
993
+ - step:
994
+ name: combine_columns
995
+ input_mappings: {}
996
+ output_mappings: {}
997
+ input_batch_size: 50
998
+ columns:
999
+ - generation
1000
+ - model_name
1001
+ output_columns:
1002
+ - generations
1003
+ - generation_models
1004
+ runtime_parameters_info:
1005
+ - name: input_batch_size
1006
+ optional: true
1007
+ description: The number of rows that will contain the batches processed by
1008
+ the step.
1009
+ type_info:
1010
+ module: distilabel.steps.combine
1011
+ name: CombineColumns
1012
+ name: combine_columns
1013
+ - step:
1014
+ name: ultrafeedback
1015
+ input_mappings: {}
1016
+ output_mappings: {}
1017
+ input_batch_size: 50
1018
+ llm:
1019
+ generation_kwargs:
1020
+ max_new_tokens: 1024
1021
+ temperature: 0.1
1022
+ stop_sequences:
1023
+ - <|eot_id|>
1024
+ - <|end_of_text|>
1025
+ model_id: openai-community/gpt2
1026
+ endpoint_name: null
1027
+ endpoint_namespace: null
1028
+ base_url: null
1029
+ tokenizer_id: openai-community/gpt2
1030
+ model_display_name: null
1031
+ use_openai_client: false
1032
+ type_info:
1033
+ module: distilabel.llms.huggingface.inference_endpoints
1034
+ name: InferenceEndpointsLLM
1035
+ group_generations: false
1036
+ num_generations: 1
1037
+ aspect: overall-rating
1038
+ runtime_parameters_info:
1039
+ - name: input_batch_size
1040
+ optional: true
1041
+ description: The number of rows that will contain the batches processed by
1042
+ the step.
1043
+ - name: llm
1044
+ runtime_parameters_info:
1045
+ - name: generation_kwargs
1046
+ description: The kwargs to be propagated to either `generate` or `agenerate`
1047
+ methods within each `LLM`.
1048
+ keys:
1049
+ - name: max_new_tokens
1050
+ optional: true
1051
+ description: the maximum number of new tokens that the model will generate. Defaults
1052
+ to `128`.
1053
+ - name: frequency_penalty
1054
+ optional: true
1055
+ description: the repetition penalty to use for the generation. Defaults to
1056
+ `0.0`. Only applies if `use_openai_client=True`.
1057
+ - name: presence_penalty
1058
+ optional: true
1059
+ description: the presence penalty to use for the generation. Defaults
1060
+ to `0.0`. Only applies if `use_openai_client=True`.
1061
+ - name: repetition_penalty
1062
+ optional: true
1063
+ description: the repetition penalty to use for the generation. Defaults to
1064
+ `None`. Only applies if `use_openai_client=False`.
1065
+ - name: temperature
1066
+ optional: true
1067
+ description: the temperature to use for the generation. Defaults to `1.0`.
1068
+ - name: do_sample
1069
+ optional: true
1070
+ description: whether to use sampling for the generation. Defaults to `False`. Only
1071
+ applies if `use_openai_client=False`.
1072
+ - name: top_k
1073
+ optional: true
1074
+ description: the top-k value to use for the generation. Defaults to `0.8`,
1075
+ since neither `0.0` nor `1.0` are valid values in TGI.
1076
+ - name: top_p
1077
+ optional: true
1078
+ description: the top-p value to use for the generation. Defaults to `1.0`.
1079
+ - name: typical_p
1080
+ optional: true
1081
+ description: the typical-p value to use for the generation. Defaults to
1082
+ `0.5`.
1083
+ - name: stop_sequences
1084
+ optional: true
1085
+ description: either a single string or a list of strings containing the
1086
+ sequences to stop the generation at. Defaults to `None`, but will be
1087
+ set to the `tokenizer.eos_token` if available.
1088
+ - name: endpoint_name
1089
+ optional: true
1090
+ description: The name of the Inference Endpoint to use for the LLM.
1091
+ - name: endpoint_namespace
1092
+ optional: true
1093
+ description: The namespace of the Inference Endpoint to use for the LLM.
1094
+ - name: base_url
1095
+ optional: true
1096
+ description: The base URL to use for the Inference Endpoints API requests.
1097
+ - name: api_key
1098
+ optional: true
1099
+ description: The API key to authenticate the requests to the Inference Endpoints
1100
+ API.
1101
+ - name: num_generations
1102
+ optional: true
1103
+ description: The number of generations to be produced per input.
1104
+ type_info:
1105
+ module: distilabel.steps.tasks.ultrafeedback
1106
+ name: UltraFeedback
1107
+ name: ultrafeedback
1108
+ - step:
1109
+ name: keep_columns
1110
+ input_mappings: {}
1111
+ output_mappings: {}
1112
+ input_batch_size: 50
1113
+ columns:
1114
+ - instruction
1115
+ - generations
1116
+ - generation_models
1117
+ - ratings
1118
+ - rationales
1119
+ runtime_parameters_info:
1120
+ - name: input_batch_size
1121
+ optional: true
1122
+ description: The number of rows that will contain the batches processed by
1123
+ the step.
1124
+ type_info:
1125
+ module: distilabel.steps.keep
1126
+ name: KeepColumns
1127
+ name: keep_columns
1128
+ - step:
1129
+ name: push_to_argilla
1130
+ input_mappings: {}
1131
+ output_mappings: {}
1132
+ input_batch_size: 50
1133
+ dataset_name: govt_id
1134
+ dataset_workspace: admin
1135
+ api_url: https://rohit228-argilla-llm.hf.space
1136
+ num_generations: 2
1137
+ runtime_parameters_info:
1138
+ - name: input_batch_size
1139
+ optional: true
1140
+ description: The number of rows that will contain the batches processed by
1141
+ the step.
1142
+ - name: dataset_name
1143
+ optional: false
1144
+ description: The name of the dataset in Argilla.
1145
+ - name: dataset_workspace
1146
+ optional: true
1147
+ description: The workspace where the dataset will be created in Argilla. Defaultsto
1148
+ `None` which means it will be created in the default workspace.
1149
+ - name: api_url
1150
+ optional: true
1151
+ description: The base URL to use for the Argilla API requests.
1152
+ - name: api_key
1153
+ optional: true
1154
+ description: The API key to authenticate the requests to the Argilla API.
1155
+ type_info:
1156
+ module: distilabel.steps.argilla.preference
1157
+ name: PreferenceToArgilla
1158
+ name: push_to_argilla
1159
+ connections:
1160
+ - from: load_dataset
1161
+ to:
1162
+ - generate_with_llama3_8B
1163
+ - generate_with_gpt_2
1164
+ - from: generate_with_llama3_8B
1165
+ to:
1166
+ - combine_columns
1167
+ - from: generate_with_gpt_2
1168
+ to:
1169
+ - combine_columns
1170
+ - from: combine_columns
1171
+ to:
1172
+ - ultrafeedback
1173
+ - from: ultrafeedback
1174
+ to:
1175
+ - keep_columns
1176
+ - push_to_argilla
1177
+ - from: keep_columns
1178
+ to: []
1179
+ - from: push_to_argilla
1180
+ to: []
1181
+ type_info:
1182
+ module: distilabel.pipeline.local
1183
+ name: Pipeline