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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
---
language:
- ko
license: cc-by-nc-4.0
size_categories:
- 10K<n<100K
task_categories:
- question-answering
- multiple-choice
pretty_name: kocem
dataset_info:
- config_name: Architectural_Planning
  features:
  - name: id
    dtype: string
  - name: question
    dtype: string
  - name: options
    dtype: string
  - name: answer
    dtype: string
  - name: explanation
    dtype: string
  - name: image
    dtype: image
  - name: question_type
    dtype: string
  - name: field
    dtype: string
  - name: subfield
    dtype: string
  - name: korean_national_technical_certification
    dtype: string
  - name: exam
    dtype: string
  - name: date
    dtype: string
  - name: subject
    dtype: string
  - name: human_acc
    dtype: float32
  - name: difficulty
    dtype: string
  - name: answer_key
    dtype: string
  splits:
  - name: dev
    num_bytes: 12459
    num_examples: 3
  - name: test
    num_bytes: 109752
    num_examples: 431
  - name: val
    num_bytes: 26046
    num_examples: 35
  download_size: 148257
  dataset_size: 60428
- config_name: Building_System
  features:
  - name: id
    dtype: string
  - name: question
    dtype: string
  - name: options
    dtype: string
  - name: answer
    dtype: string
  - name: explanation
    dtype: string
  - name: image
    dtype: image
  - name: question_type
    dtype: string
  - name: field
    dtype: string
  - name: subfield
    dtype: string
  - name: korean_national_technical_certification
    dtype: string
  - name: exam
    dtype: string
  - name: date
    dtype: string
  - name: subject
    dtype: string
  - name: human_acc
    dtype: float32
  - name: difficulty
    dtype: string
  - name: answer_key
    dtype: string
  splits:
  - name: dev
    num_bytes: 13756
    num_examples: 5
  - name: test
    num_bytes: 93470
    num_examples: 334
  - name: val
    num_bytes: 23211
    num_examples: 40
  download_size: 130437
  dataset_size: 48908
- config_name: Construction_Management
  features:
  - name: id
    dtype: string
  - name: question
    dtype: string
  - name: options
    dtype: string
  - name: answer
    dtype: string
  - name: explanation
    dtype: string
  - name: image
    dtype: image
  - name: question_type
    dtype: string
  - name: field
    dtype: string
  - name: subfield
    dtype: string
  - name: korean_national_technical_certification
    dtype: string
  - name: exam
    dtype: string
  - name: date
    dtype: string
  - name: subject
    dtype: string
  - name: human_acc
    dtype: float32
  - name: difficulty
    dtype: string
  - name: answer_key
    dtype: string
  splits:
  - name: dev
    num_bytes: 13512
    num_examples: 5
  - name: test
    num_bytes: 117489
    num_examples: 480
  - name: val
    num_bytes: 22125
    num_examples: 32
  download_size: 153126
  dataset_size: 66572
- config_name: Domain_Reasoning
  splits:
  - name: dev
    num_bytes: 17442
    num_examples: 2
  - name: test
    num_bytes: 49166
    num_examples: 108
  - name: val
    num_bytes: 14919
    num_examples: 4
  download_size: 81527
  dataset_size: 15900
- config_name: Industry_Jargon
  splits:
  - name: dev
    num_bytes: 12717
    num_examples: 6
  - name: extra
    num_bytes: 7772
    num_examples: 1
  - name: test
    num_bytes: 48852
    num_examples: 576
  - name: val
    num_bytes: 17382
    num_examples: 57
  download_size: 86723
  dataset_size: 92632
- config_name: Interior
  features:
  - name: id
    dtype: string
  - name: question
    dtype: string
  - name: options
    dtype: string
  - name: answer
    dtype: string
  - name: explanation
    dtype: string
  - name: image
    dtype: image
  - name: question_type
    dtype: string
  - name: field
    dtype: string
  - name: subfield
    dtype: string
  - name: korean_national_technical_certification
    dtype: string
  - name: exam
    dtype: string
  - name: date
    dtype: string
  - name: subject
    dtype: string
  - name: human_acc
    dtype: float32
  - name: difficulty
    dtype: string
  - name: answer_key
    dtype: string
  splits:
  - name: dev
    num_bytes: 13443
    num_examples: 6
  - name: test
    num_bytes: 87305
    num_examples: 342
  - name: val
    num_bytes: 25254
    num_examples: 43
  download_size: 126002
  dataset_size: 50444
- config_name: Materials
  features:
  - name: id
    dtype: string
  - name: question
    dtype: string
  - name: options
    dtype: string
  - name: answer
    dtype: string
  - name: explanation
    dtype: string
  - name: image
    dtype: image
  - name: question_type
    dtype: string
  - name: field
    dtype: string
  - name: subfield
    dtype: string
  - name: korean_national_technical_certification
    dtype: string
  - name: exam
    dtype: string
  - name: date
    dtype: string
  - name: subject
    dtype: string
  - name: human_acc
    dtype: float32
  - name: difficulty
    dtype: string
  - name: answer_key
    dtype: string
  splits:
  - name: dev
    num_bytes: 15301
    num_examples: 7
  - name: test
    num_bytes: 101600
    num_examples: 398
  - name: val
    num_bytes: 24657
    num_examples: 43
  download_size: 141558
  dataset_size: 57740
- config_name: Safety_Management
  features:
  - name: id
    dtype: string
  - name: question
    dtype: string
  - name: options
    dtype: string
  - name: answer
    dtype: string
  - name: explanation
    dtype: string
  - name: image
    dtype: image
  - name: question_type
    dtype: string
  - name: field
    dtype: string
  - name: subfield
    dtype: string
  - name: korean_national_technical_certification
    dtype: string
  - name: exam
    dtype: string
  - name: date
    dtype: string
  - name: subject
    dtype: string
  - name: human_acc
    dtype: float32
  - name: difficulty
    dtype: string
  - name: answer_key
    dtype: string
  splits:
  - name: dev
    num_bytes: 15024
    num_examples: 4
  - name: test
    num_bytes: 111459
    num_examples: 353
  - name: val
    num_bytes: 22753
    num_examples: 40
  download_size: 149236
  dataset_size: 51212
- config_name: Standard_Nomenclature
  splits:
  - name: dev
    num_bytes: 13153
    num_examples: 4
  - name: extra
    num_bytes: 8199530
    num_examples: 41321
  - name: test
    num_bytes: 99615
    num_examples: 444
  - name: val
    num_bytes: 21190
    num_examples: 44
  download_size: 8333488
  dataset_size: 5687096
- config_name: Structural_Engineering
  features:
  - name: id
    dtype: string
  - name: question
    dtype: string
  - name: options
    dtype: string
  - name: answer
    dtype: string
  - name: explanation
    dtype: string
  - name: image
    dtype: image
  - name: question_type
    dtype: string
  - name: field
    dtype: string
  - name: subfield
    dtype: string
  - name: korean_national_technical_certification
    dtype: string
  - name: exam
    dtype: string
  - name: date
    dtype: string
  - name: subject
    dtype: string
  - name: human_acc
    dtype: float32
  - name: difficulty
    dtype: string
  - name: answer_key
    dtype: string
  splits:
  - name: dev
    num_bytes: 14779
    num_examples: 5
  - name: test
    num_bytes: 54713
    num_examples: 201
  - name: val
    num_bytes: 20339
    num_examples: 25
  download_size: 89831
  dataset_size: 29964
configs:
- config_name: Architectural_Planning
  data_files:
  - split: dev
    path: Architectural_Planning/dev_Architectural_Planning.parquet
  - split: test
    path: Architectural_Planning/test_Architectural_Planning.parquet
  - split: val
    path: Architectural_Planning/val_Architectural_Planning.parquet
- config_name: Building_System
  data_files:
  - split: dev
    path: Building_System/dev_Building_System.parquet
  - split: test
    path: Building_System/test_Building_System.parquet
  - split: val
    path: Building_System/val_Building_System.parquet
- config_name: Construction_Management
  data_files:
  - split: dev
    path: Construction_Management/dev_Construction_Management.parquet
  - split: test
    path: Construction_Management/test_Construction_Management.parquet
  - split: val
    path: Construction_Management/val_Construction_Management.parquet
- config_name: Domain_Reasoning
  data_files:
  - split: dev
    path: Domain_Reasoning/dev_Domain_Reasoning.parquet
  - split: test
    path: Domain_Reasoning/test_Domain_Reasoning.parquet
  - split: val
    path: Domain_Reasoning/val_Domain_Reasoning.parquet
- config_name: Interior
  data_files:
  - split: dev
    path: Interior/dev_Interior.parquet
  - split: test
    path: Interior/test_Interior.parquet
  - split: val
    path: Interior/val_Interior.parquet
- config_name: Industry_Jargon
  data_files:
  - split: dev
    path: Industry_Jargon/dev_Industry_Jargon.parquet
  - split: extra
    path: Industry_Jargon/extra_Industry_Jargon.parquet
  - split: test
    path: Industry_Jargon/test_Industry_Jargon.parquet
  - split: val
    path: Industry_Jargon/val_Industry_Jargon.parquet
- config_name: Materials
  data_files:
  - split: dev
    path: Materials/dev_Materials.parquet
  - split: test
    path: Materials/test_Materials.parquet
  - split: val
    path: Materials/val_Materials.parquet
- config_name: Safety_Management
  data_files:
  - split: dev
    path: Safety_Management/dev_Safety_Management.parquet
  - split: test
    path: Safety_Management/test_Safety_Management.parquet
  - split: val
    path: Safety_Management/val_Safety_Management.parquet
- config_name: Standard_Nomenclature
  data_files:
  - split: dev
    path: Standard_Nomenclature/dev_Standard_Nomenclature.parquet
  - split: extra
    path: Standard_Nomenclature/extra_Standard_Nomenclature.parquet
  - split: test
    path: Standard_Nomenclature/test_Standard_Nomenclature.parquet
  - split: val
    path: Standard_Nomenclature/val_Standard_Nomenclature.parquet
- config_name: Structural_Engineering
  data_files:
  - split: dev
    path: Structural_Engineering/dev_Structural_Engineering.parquet
  - split: test
    path: Structural_Engineering/test_Structural_Engineering.parquet
  - split: val
    path: Structural_Engineering/val_Structural_Engineering.parquet
tags:
- question-answering
- multiple-choice
- technical-certification
- architecture
- engineering
- construction
---





The KoCEM 1.0 is the original implementation of the dataset from the paper: ...
The benchmark is a collection of ... instances across 6 tasks: field_words, standard_nomenclature, domain_knowledge, ....
To replicate the studies from the paper, see below.


## Dataset Overview

| Task                        | Instances | Version | Explanation                                                                    |
|-----------------------------|-----------|---------|--------------------------------------------------------------------------------|
| industry_jargon             | 657       | v1.0    | Multiple-choice questions about the Jargon of Construction Management from ... |
| standard_nomenclature       | 41,813    | v1.0    | Multiple-choice questions about Standard Nomenclature from ...             |
| domain_knowledge            | 20,519    | v1.0    | Multiple-choice questions about Domain Knowledge from ...             |
| domain_reasoning            | ...       | v1.0    | Multiple-choice questions about Domain Knowledge from ...             |
| drawing_interpretation      | ...       | v1.0    | Multiple-choice questions about Domain Knowledge from ...             |
| comprehensive_reasoning     | ...       | v1.0    | Multiple-choice questions about Domain Knowledge from ...             |
| **Total**                   | **...**   |         |                                                                     |


## Evaluation Code

To perform the following process, installation of [this package](https://github.com/EleutherAI/lm-evaluation-harness) must be completed in advance.

### Utilizing Commercial API
```
export OPENAI_API_KEY=YOUR_KEY_HERE
lm_eval --model openai-completions \
        --model_args model=davinci-002 \
        --tasks kocem_standard_nomenclature \
        --log_samples \
        --output_path results
```

### Evaluating with HF SDK
```
lm_eval --model hf \
        --model_args pretrained=EleutherAI/polyglot-ko-12.8b \
        --tasks kocem_standard_nomenclature \
        --device cuda:0 \
        --batch_size auto:4 \
        --log_samples \
        --output_path results
```

## Contact

- pikaybh@snu.ac.kr