Skip to content

up700/Code2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published