KoCEM / README.md
pikaybh's picture
Update README.md
373f0a9 verified
|
raw
history blame
12.8 kB
---
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: 12457
num_examples: 3
- name: extra
num_bytes: 482201
num_examples: 1586
- name: test
num_bytes: 153280
num_examples: 464
- name: val
num_bytes: 43258
num_examples: 41
download_size: 691196
dataset_size: 268560
- 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: 13755
num_examples: 5
- name: extra
num_bytes: 1438058
num_examples: 3784
- name: test
num_bytes: 174323
num_examples: 377
- name: val
num_bytes: 49127
num_examples: 49
download_size: 1675263
dataset_size: 540048
- 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: 13509
num_examples: 5
- name: extra
num_bytes: 190170
num_examples: 481
- name: test
num_bytes: 159869
num_examples: 494
- name: val
num_bytes: 27966
num_examples: 34
download_size: 391514
dataset_size: 130320
- config_name: Industry_Jargon
splits:
- name: dev
num_bytes: 12725
num_examples: 6
- name: extra
num_bytes: 7772
num_examples: 1
- name: test
num_bytes: 48863
num_examples: 576
- name: val
num_bytes: 17389
num_examples: 57
download_size: 86749
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: extra
num_bytes: 175897
num_examples: 587
- name: test
num_bytes: 123934
num_examples: 359
- name: val
num_bytes: 40569
num_examples: 46
download_size: 353843
dataset_size: 128272
- 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: 37447
num_examples: 8
- name: extra
num_bytes: 1048115
num_examples: 4827
- name: test
num_bytes: 126253
num_examples: 408
- name: val
num_bytes: 24627
num_examples: 43
download_size: 1236442
dataset_size: 677136
- 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: 21290
num_examples: 5
- name: extra
num_bytes: 2070720
num_examples: 5330
- name: test
num_bytes: 181705
num_examples: 381
- name: val
num_bytes: 42755
num_examples: 41
download_size: 2316470
dataset_size: 737424
- config_name: Standard_Nomenclature
splits:
- name: dev
num_bytes: 13155
num_examples: 4
- name: extra
num_bytes: 8199764
num_examples: 41318
- name: test
num_bytes: 100197
num_examples: 447
- name: val
num_bytes: 21191
num_examples: 44
download_size: 8334307
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: 35354
num_examples: 2
- name: extra
num_bytes: 1048934
num_examples: 558
- name: test
num_bytes: 721525
num_examples: 358
- name: val
num_bytes: 85515
num_examples: 38
download_size: 1891328
dataset_size: 122896
configs:
- config_name: Architectural_Planning
data_files:
- split: dev
path: Architectural_Planning/dev_Architectural_Planning.parquet
- split: extra
path: Architectural_Planning/extra_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: extra
path: Building_System/extra_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: extra
path: Construction_Management/extra_Construction_Management.parquet
- split: test
path: Construction_Management/test_Construction_Management.parquet
- split: val
path: Construction_Management/val_Construction_Management.parquet
- config_name: Interior
data_files:
- split: dev
path: Interior/dev_Interior.parquet
- split: extra
path: Interior/extra_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: extra
path: Materials/extra_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: extra
path: Safety_Management/extra_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: extra
path: Structural_Engineering/extra_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