Skip to content

Latest commit

 

History

History
44 lines (42 loc) · 1.19 KB

README.md

File metadata and controls

44 lines (42 loc) · 1.19 KB

Requirements

Overview

├── root
│   └── dataset
│       ├── conll2003_train.json
│       ├── conll2003_tag_to_id.json
│       ├── politics_train.json
│       ├── politics_dev.json
│       ├── politics_test.json
│       ├── politics_tag_to_id.json
│       └── ...
│   └── models
│       ├── __init__.py
│       ├── modeling_span.py
│       └── modeling_type.py
│   └── utils
│       ├── __init__.py
│       ├── config.py
│       ├── data_utils.py
│       ├── eval.py
│       └── ...
│   └── ptms
│       └── ... (trained results, e.g., saved models, log file)
│   └── cached_models
│       └── ... (BERT pretrained model, which will be downloaded automatically)
│   └── run_script.py
│   └── run_script.sh

How to run

sh run_script.sh <GPU ID> <DATASET NAME> <span tau> <type tau> <mu>

e.g., in the music domain

sh run_script.sh 0 music 0.1 0.1 1.0