Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
zliucr committed Nov 12, 2020
1 parent 5a38101 commit 0cb581e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
19 changes: 14 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,20 @@ This repository is for the ACL-2020 paper: [Coach: A Coarse-to-Fine Approach for

This code has been written using PyTorch. If you use any source codes or ideas included in this repository for your work, please cite the following paper.
<pre>
@article{liu2020coach,
title={Coach: A Coarse-to-Fine Approach for Cross-domain Slot Filling},
author={Zihan Liu and Genta Indra Winata and Peng Xu and Pascale Fung},
journal={arXiv preprint arXiv:2004.11727},
year={2020},
@inproceedings{liu2020coach,
title = "{C}oach: A Coarse-to-Fine Approach for Cross-domain Slot Filling",
author = "Liu, Zihan and
Winata, Genta Indra and
Xu, Peng and
Fung, Pascale",
booktitle = "Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics",
month = jul,
year = "2020",
address = "Online",
publisher = "Association for Computational Linguistics",
url = "https://www.aclweb.org/anthology/2020.acl-main.3",
doi = "10.18653/v1/2020.acl-main.3",
pages = "19--25",
}
</pre>

Expand Down
3 changes: 3 additions & 0 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,15 @@ python slu_main.py --exp_name coach_sum --exp_id atp_50 --bidirection --freeze_e
### Zero-shot
# baseline BiLSTM-CRF
python ner_baseline.py --exp_name lstm --exp_id ner_0 --bidirection --emb_file ./data/ner/emb/ner_embs.npy --emb_dim 300 --lr 1e-4 --bilstmcrf
python ner_baseline.py --exp_name lstm --exp_id ner_frozen_0 --bidirection --emb_file ./data/ner/emb/ner_embs.npy --emb_dim 300 --lr 1e-4 --bilstmcrf --freeze_emb

# baseline CT
python ner_baseline.py --exp_name ct --exp_id ner_0 --bidirection --emb_file ./data/ner/emb/ner_embs.npy --emb_dim 300 --lr 1e-4
python ner_baseline.py --exp_name ct --exp_id ner_frozen_0 --bidirection --emb_file ./data/ner/emb/ner_embs.npy --emb_dim 300 --lr 1e-4 --freeze_emb

# baseline RZT
python ner_baseline.py --exp_name rzt --exp_id ner_0 --bidirection --emb_file ./data/ner/emb/ner_embs.npy --emb_dim 300 --lr 1e-4 --hidden_dim 150 --use_example
python ner_baseline.py --exp_name rzt --exp_id ner_frozen_0 --bidirection --emb_file ./data/ner/emb/ner_embs.npy --emb_dim 300 --lr 1e-4 --hidden_dim 150 --use_example --freeze_emb

# coach
python ner_main.py --exp_name coach_lstmenc --exp_id ner_0 --bidirection --emb_file ./data/ner/emb/ner_embs.npy --emb_dim 300 --trs_hidden_dim 300 --lr 1e-4
Expand Down

0 comments on commit 0cb581e

Please sign in to comment.