sileod commited on
Commit
a7c6fd6
·
verified ·
1 Parent(s): d293c9c

Add README.md

Browse files
Files changed (1) hide show
  1. README.md +44 -403
README.md CHANGED
@@ -14,439 +14,70 @@ tags:
14
  - procedural
15
  - synthetic
16
  configs:
17
- - config_name: business_document_extraction
18
  data_files:
19
  - split: train
20
- path: business_document_extraction/train-*
21
  - split: validation
22
- path: business_document_extraction/validation-*
23
  - split: test
24
- path: business_document_extraction/test-*
25
- - config_name: conditional_list_extraction
26
  data_files:
27
  - split: train
28
- path: conditional_list_extraction/train-*
29
  - split: validation
30
- path: conditional_list_extraction/validation-*
31
  - split: test
32
- path: conditional_list_extraction/test-*
33
- - config_name: html_extraction
34
  data_files:
35
  - split: train
36
- path: html_extraction/train-*
37
  - split: validation
38
- path: html_extraction/validation-*
39
  - split: test
40
- path: html_extraction/test-*
41
  - config_name: log_query_extraction
42
  data_files:
43
  - split: train
44
- path: log_query_extraction/train-*
45
  - split: validation
46
- path: log_query_extraction/validation-*
47
  - split: test
48
- path: log_query_extraction/test-*
49
- - config_name: nested_structure_extraction
50
  data_files:
51
  - split: train
52
- path: nested_structure_extraction/train-*
53
  - split: validation
54
- path: nested_structure_extraction/validation-*
55
  - split: test
56
- path: nested_structure_extraction/test-*
57
- - config_name: record_field_extraction
58
  data_files:
59
  - split: train
60
- path: record_field_extraction/train-*
61
  - split: validation
62
- path: record_field_extraction/validation-*
63
  - split: test
64
- path: record_field_extraction/test-*
65
- - config_name: state_update_extraction
66
  data_files:
67
  - split: train
68
- path: state_update_extraction/train-*
69
  - split: validation
70
- path: state_update_extraction/validation-*
71
  - split: test
72
- path: state_update_extraction/test-*
73
- - config_name: typed_mention_extraction
74
  data_files:
75
  - split: train
76
- path: typed_mention_extraction/train-*
77
  - split: validation
78
- path: typed_mention_extraction/validation-*
79
  - split: test
80
- path: typed_mention_extraction/test-*
81
- dataset_info:
82
- - config_name: business_document_extraction
83
- features:
84
- - name: id
85
- dtype: string
86
- - name: source
87
- dtype: string
88
- - name: split
89
- dtype: string
90
- - name: state
91
- dtype: string
92
- - name: fields
93
- list:
94
- - name: name
95
- dtype: string
96
- - name: type
97
- dtype: string
98
- - name: instruction
99
- dtype: string
100
- - name: answers
101
- list:
102
- - name: 'null'
103
- dtype: bool
104
- - name: values
105
- list:
106
- - name: text
107
- dtype: string
108
- - name: start
109
- dtype: int32
110
- - name: end
111
- dtype: int32
112
- - name: metadata
113
- dtype: string
114
- - name: level
115
- dtype: int32
116
- splits:
117
- - name: train
118
- num_bytes: 16716149
119
- num_examples: 10000
120
- - name: validation
121
- num_bytes: 819215
122
- num_examples: 500
123
- - name: test
124
- num_bytes: 808519
125
- num_examples: 500
126
- download_size: 8404950
127
- dataset_size: 18343883
128
- - config_name: conditional_list_extraction
129
- features:
130
- - name: id
131
- dtype: string
132
- - name: source
133
- dtype: string
134
- - name: split
135
- dtype: string
136
- - name: state
137
- dtype: string
138
- - name: fields
139
- list:
140
- - name: name
141
- dtype: string
142
- - name: type
143
- dtype: string
144
- - name: instruction
145
- dtype: string
146
- - name: answers
147
- list:
148
- - name: 'null'
149
- dtype: bool
150
- - name: values
151
- list:
152
- - name: text
153
- dtype: string
154
- - name: start
155
- dtype: int32
156
- - name: end
157
- dtype: int32
158
- - name: metadata
159
- dtype: string
160
- - name: level
161
- dtype: int32
162
- splits:
163
- - name: train
164
- num_bytes: 13497786
165
- num_examples: 10000
166
- - name: validation
167
- num_bytes: 668245
168
- num_examples: 500
169
- - name: test
170
- num_bytes: 692871
171
- num_examples: 500
172
- download_size: 7774812
173
- dataset_size: 14858902
174
- - config_name: html_extraction
175
- features:
176
- - name: id
177
- dtype: string
178
- - name: source
179
- dtype: string
180
- - name: split
181
- dtype: string
182
- - name: state
183
- dtype: string
184
- - name: fields
185
- list:
186
- - name: name
187
- dtype: string
188
- - name: type
189
- dtype: string
190
- - name: instruction
191
- dtype: string
192
- - name: answers
193
- list:
194
- - name: 'null'
195
- dtype: bool
196
- - name: values
197
- list:
198
- - name: text
199
- dtype: string
200
- - name: start
201
- dtype: int32
202
- - name: end
203
- dtype: int32
204
- - name: metadata
205
- dtype: string
206
- - name: level
207
- dtype: int32
208
- splits:
209
- - name: train
210
- num_bytes: 26013280
211
- num_examples: 10000
212
- - name: validation
213
- num_bytes: 1297215
214
- num_examples: 500
215
- - name: test
216
- num_bytes: 1283361
217
- num_examples: 500
218
- download_size: 15228195
219
- dataset_size: 28593856
220
- - config_name: log_query_extraction
221
- features:
222
- - name: id
223
- dtype: string
224
- - name: source
225
- dtype: string
226
- - name: split
227
- dtype: string
228
- - name: state
229
- dtype: string
230
- - name: fields
231
- list:
232
- - name: name
233
- dtype: string
234
- - name: type
235
- dtype: string
236
- - name: instruction
237
- dtype: string
238
- - name: answers
239
- list:
240
- - name: 'null'
241
- dtype: bool
242
- - name: values
243
- list:
244
- - name: text
245
- dtype: string
246
- - name: start
247
- dtype: int32
248
- - name: end
249
- dtype: int32
250
- - name: metadata
251
- dtype: string
252
- - name: level
253
- dtype: int32
254
- splits:
255
- - name: train
256
- num_bytes: 19772345
257
- num_examples: 10000
258
- - name: validation
259
- num_bytes: 972669
260
- num_examples: 500
261
- - name: test
262
- num_bytes: 996339
263
- num_examples: 500
264
- download_size: 10338297
265
- dataset_size: 21741353
266
- - config_name: nested_structure_extraction
267
- features:
268
- - name: id
269
- dtype: string
270
- - name: source
271
- dtype: string
272
- - name: split
273
- dtype: string
274
- - name: state
275
- dtype: string
276
- - name: fields
277
- list:
278
- - name: name
279
- dtype: string
280
- - name: type
281
- dtype: string
282
- - name: instruction
283
- dtype: string
284
- - name: answers
285
- list:
286
- - name: 'null'
287
- dtype: bool
288
- - name: values
289
- list:
290
- - name: text
291
- dtype: string
292
- - name: start
293
- dtype: int32
294
- - name: end
295
- dtype: int32
296
- - name: metadata
297
- dtype: string
298
- - name: level
299
- dtype: int32
300
- splits:
301
- - name: train
302
- num_bytes: 24554328
303
- num_examples: 10000
304
- - name: validation
305
- num_bytes: 1228224
306
- num_examples: 500
307
- - name: test
308
- num_bytes: 1222085
309
- num_examples: 500
310
- download_size: 12847825
311
- dataset_size: 27004637
312
- - config_name: record_field_extraction
313
- features:
314
- - name: id
315
- dtype: string
316
- - name: source
317
- dtype: string
318
- - name: split
319
- dtype: string
320
- - name: state
321
- dtype: string
322
- - name: fields
323
- list:
324
- - name: name
325
- dtype: string
326
- - name: type
327
- dtype: string
328
- - name: instruction
329
- dtype: string
330
- - name: answers
331
- list:
332
- - name: 'null'
333
- dtype: bool
334
- - name: values
335
- list:
336
- - name: text
337
- dtype: string
338
- - name: start
339
- dtype: int32
340
- - name: end
341
- dtype: int32
342
- - name: metadata
343
- dtype: string
344
- - name: level
345
- dtype: int32
346
- splits:
347
- - name: train
348
- num_bytes: 9610418
349
- num_examples: 10000
350
- - name: validation
351
- num_bytes: 489090
352
- num_examples: 500
353
- - name: test
354
- num_bytes: 483960
355
- num_examples: 500
356
- download_size: 5419845
357
- dataset_size: 10583468
358
- - config_name: state_update_extraction
359
- features:
360
- - name: id
361
- dtype: string
362
- - name: source
363
- dtype: string
364
- - name: split
365
- dtype: string
366
- - name: state
367
- dtype: string
368
- - name: fields
369
- list:
370
- - name: name
371
- dtype: string
372
- - name: type
373
- dtype: string
374
- - name: instruction
375
- dtype: string
376
- - name: answers
377
- list:
378
- - name: 'null'
379
- dtype: bool
380
- - name: values
381
- list:
382
- - name: text
383
- dtype: string
384
- - name: start
385
- dtype: int32
386
- - name: end
387
- dtype: int32
388
- - name: metadata
389
- dtype: string
390
- - name: level
391
- dtype: int32
392
- splits:
393
- - name: train
394
- num_bytes: 12841056
395
- num_examples: 10000
396
- - name: validation
397
- num_bytes: 639487
398
- num_examples: 500
399
- - name: test
400
- num_bytes: 640348
401
- num_examples: 500
402
- download_size: 7045933
403
- dataset_size: 14120891
404
- - config_name: typed_mention_extraction
405
- features:
406
- - name: id
407
- dtype: string
408
- - name: source
409
- dtype: string
410
- - name: split
411
- dtype: string
412
- - name: state
413
- dtype: string
414
- - name: fields
415
- list:
416
- - name: name
417
- dtype: string
418
- - name: type
419
- dtype: string
420
- - name: instruction
421
- dtype: string
422
- - name: answers
423
- list:
424
- - name: 'null'
425
- dtype: bool
426
- - name: values
427
- list:
428
- - name: text
429
- dtype: string
430
- - name: start
431
- dtype: int32
432
- - name: end
433
- dtype: int32
434
- - name: metadata
435
- dtype: string
436
- - name: level
437
- dtype: int32
438
- splits:
439
- - name: train
440
- num_bytes: 10840274
441
- num_examples: 10000
442
- - name: validation
443
- num_bytes: 551561
444
- num_examples: 500
445
- - name: test
446
- num_bytes: 551290
447
- num_examples: 500
448
- download_size: 7526866
449
- dataset_size: 11943125
450
  ---
451
 
452
  # procedural-extraction
@@ -454,9 +85,11 @@ dataset_info:
454
  Procedurally generated extraction requests: one text and several typed fields to fill from it in one pass, as
455
  extraction models (e.g. Cloudflare's Clairic) are asked. Each field is `text` (one span) or `list` (every
456
  matching span) and is answered with character spans of the text or null. Answers are computed by construction,
457
- so spans are exact and labels noise-free; nulls are earned (the text mentions a negated, proposed, former or
 
 
458
  other entity's value, not nothing). The tasks are generated by
459
- [reasoning-core](https://github.com/sileod/reasoning-core) (commit `38b6189`, see
460
  [provenance.json](provenance.json)) and are a procedural component of the `extraction` config of
461
  [tasksource-jev-typed-decisions](https://huggingface.co/datasets/tasksource/tasksource-jev-typed-decisions).
462
 
@@ -466,15 +99,23 @@ other entity's value, not nothing). The tasks are generated by
466
  | `state_update_extraction` | The value in force (or before the last change) of plan slots, from a timestamped chat of statements, proposals approved/rejected/pending, corrections and undos, out of order from level 2 |
467
  | `conditional_list_extraction` | Every order id or product meeting conjunctive, negated or numeric conditions after later updates, or the heaviest such order; prose, bullets or a table |
468
  | `log_query_extraction` | Every request id or user of log lines matching filters on level, exact service (auth vs auth-proxy), status, latency and user, or the latest/slowest match; plain, logfmt or JSON lines |
 
 
 
 
469
 
470
  Levels 0 to 4 are drawn uniformly; `level` is a column. Mean per-field score by level (0 / 1 / 2 / 3 / 4):
471
 
472
  | config | train | validation | test | DeepSeek-v4-flash | GLiNER-large |
473
  |---|---|---|---|---|---|
474
- | `record_field_extraction` | 10,000 | 500 | 500 | 1.00 / 0.91 / 0.84 / 0.67 / 0.58 | 0.76 / 0.64 / 0.46 / 0.41 / 0.38 |
475
  | `state_update_extraction` | 10,000 | 500 | 500 | 0.84 / 0.76 / 0.77 / 0.68 / 0.51 | 0.58 / 0.46 / 0.37 / 0.36 / 0.29 |
476
  | `conditional_list_extraction` | 10,000 | 500 | 500 | 0.88 / 0.79 / 0.70 / 0.64 / 0.52 | 0.29 / 0.17 / 0.12 / 0.05 / 0.10 |
477
  | `log_query_extraction` | 10,000 | 500 | 500 | 0.86 / 0.76 / 0.68 / 0.63 / 0.59 | 0.31 / 0.16 / 0.09 / 0.24 / 0.15 |
 
 
 
 
478
 
479
  ## Schema
480
 
 
14
  - procedural
15
  - synthetic
16
  configs:
17
+ - config_name: record_field_extraction
18
  data_files:
19
  - split: train
20
+ path: record_field_extraction/train-*.parquet
21
  - split: validation
22
+ path: record_field_extraction/validation-*.parquet
23
  - split: test
24
+ path: record_field_extraction/test-*.parquet
25
+ - config_name: state_update_extraction
26
  data_files:
27
  - split: train
28
+ path: state_update_extraction/train-*.parquet
29
  - split: validation
30
+ path: state_update_extraction/validation-*.parquet
31
  - split: test
32
+ path: state_update_extraction/test-*.parquet
33
+ - config_name: conditional_list_extraction
34
  data_files:
35
  - split: train
36
+ path: conditional_list_extraction/train-*.parquet
37
  - split: validation
38
+ path: conditional_list_extraction/validation-*.parquet
39
  - split: test
40
+ path: conditional_list_extraction/test-*.parquet
41
  - config_name: log_query_extraction
42
  data_files:
43
  - split: train
44
+ path: log_query_extraction/train-*.parquet
45
  - split: validation
46
+ path: log_query_extraction/validation-*.parquet
47
  - split: test
48
+ path: log_query_extraction/test-*.parquet
49
+ - config_name: typed_mention_extraction
50
  data_files:
51
  - split: train
52
+ path: typed_mention_extraction/train-*.parquet
53
  - split: validation
54
+ path: typed_mention_extraction/validation-*.parquet
55
  - split: test
56
+ path: typed_mention_extraction/test-*.parquet
57
+ - config_name: business_document_extraction
58
  data_files:
59
  - split: train
60
+ path: business_document_extraction/train-*.parquet
61
  - split: validation
62
+ path: business_document_extraction/validation-*.parquet
63
  - split: test
64
+ path: business_document_extraction/test-*.parquet
65
+ - config_name: nested_structure_extraction
66
  data_files:
67
  - split: train
68
+ path: nested_structure_extraction/train-*.parquet
69
  - split: validation
70
+ path: nested_structure_extraction/validation-*.parquet
71
  - split: test
72
+ path: nested_structure_extraction/test-*.parquet
73
+ - config_name: html_extraction
74
  data_files:
75
  - split: train
76
+ path: html_extraction/train-*.parquet
77
  - split: validation
78
+ path: html_extraction/validation-*.parquet
79
  - split: test
80
+ path: html_extraction/test-*.parquet
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
  ---
82
 
83
  # procedural-extraction
 
85
  Procedurally generated extraction requests: one text and several typed fields to fill from it in one pass, as
86
  extraction models (e.g. Cloudflare's Clairic) are asked. Each field is `text` (one span) or `list` (every
87
  matching span) and is answered with character spans of the text or null. Answers are computed by construction,
88
+ so spans are exact and labels noise-free (each generator samples a latent structure, such as a fact store,
89
+ a merged configuration tree or a DOM, and a solver computes the answer; independent readers of the rendered
90
+ texts recompute every answer in reasoning-core's tests); nulls are earned (the text mentions a negated, proposed, former or
91
  other entity's value, not nothing). The tasks are generated by
92
+ [reasoning-core](https://github.com/sileod/reasoning-core) (commit `2350820`, see
93
  [provenance.json](provenance.json)) and are a procedural component of the `extraction` config of
94
  [tasksource-jev-typed-decisions](https://huggingface.co/datasets/tasksource/tasksource-jev-typed-decisions).
95
 
 
99
  | `state_update_extraction` | The value in force (or before the last change) of plan slots, from a timestamped chat of statements, proposals approved/rejected/pending, corrections and undos, out of order from level 2 |
100
  | `conditional_list_extraction` | Every order id or product meeting conjunctive, negated or numeric conditions after later updates, or the heaviest such order; prose, bullets or a table |
101
  | `log_query_extraction` | Every request id or user of log lines matching filters on level, exact service (auth vs auth-proxy), status, latency and user, or the latest/slowest match; plain, logfmt or JSON lines |
102
+ | `typed_mention_extraction` | Named-entity style: every mention of each requested type, where one name (Jordan) is a person, place, organization or product by context; companies by a defined current role among former and unrelated relations; codes by a stated format among near-miss strings |
103
+ | `business_document_extraction` | The value in force on a date in an invoice, purchase order, contract or insurance policy: numbered amendments override printed values and each other, dated windows, schedule references that chain, near-miss keys (subtotal vs total) |
104
+ | `nested_structure_extraction` | Path, any-depth and predicate-filter queries on a JSON, YAML or XML configuration whose override layers deep-merge or replace whole blocks |
105
+ | `html_extraction` | Fields of the main item in raw HTML: scope (nested and related item cards), visibility (hidden, template, struck prices), dt/dd, label-for, attributes and spec tables with rowspan/colspan |
106
 
107
  Levels 0 to 4 are drawn uniformly; `level` is a column. Mean per-field score by level (0 / 1 / 2 / 3 / 4):
108
 
109
  | config | train | validation | test | DeepSeek-v4-flash | GLiNER-large |
110
  |---|---|---|---|---|---|
111
+ | `record_field_extraction` | 10,000 | 500 | 500 | 1.00 / 0.96 / 0.81 / 0.72 / 0.62 | 0.80 / 0.59 / 0.36 / 0.45 / 0.38 |
112
  | `state_update_extraction` | 10,000 | 500 | 500 | 0.84 / 0.76 / 0.77 / 0.68 / 0.51 | 0.58 / 0.46 / 0.37 / 0.36 / 0.29 |
113
  | `conditional_list_extraction` | 10,000 | 500 | 500 | 0.88 / 0.79 / 0.70 / 0.64 / 0.52 | 0.29 / 0.17 / 0.12 / 0.05 / 0.10 |
114
  | `log_query_extraction` | 10,000 | 500 | 500 | 0.86 / 0.76 / 0.68 / 0.63 / 0.59 | 0.31 / 0.16 / 0.09 / 0.24 / 0.15 |
115
+ | `typed_mention_extraction` | 10,000 | 500 | 500 | 0.85 / 0.80 / 0.79 / 0.69 / 0.66 | 0.40 / 0.42 / 0.49 / 0.34 / 0.39 |
116
+ | `business_document_extraction` | 10,000 | 500 | 500 | 0.90 / 0.91 / 0.90 / 0.84 / 0.80 | 0.82 / 0.53 / 0.56 / 0.44 / 0.43 |
117
+ | `nested_structure_extraction` | 10,000 | 500 | 500 | 0.93 / 0.88 / 0.94 / 0.86 / 0.86 | 0.18 / 0.20 / 0.20 / 0.20 / 0.18 |
118
+ | `html_extraction` | 10,000 | 500 | 500 | 0.98 / 0.96 / 0.94 / 0.98 / 0.90 | 0.35 / 0.31 / 0.30 / 0.27 / 0.39 |
119
 
120
  ## Schema
121