Skip to content

Commit c8f625d

Browse files
committed
add example commandlines to README
1 parent 80e8dd3 commit c8f625d

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,20 @@ Code and data for paper ["Dialog Intent Induction with Deep Multi-View Clusterin
22

33
Data is available in the sub-directory [data](data), with a specific [LICENSE](data/LICENSE) file.
44

5+
To run AVK-means
6+
----------------
57

8+
- decompress the data files in `data`folder
9+
- download http://nlp.stanford.edu/data/glove.840B.300d.zip, and unzip `glove.840B.300d.txt` into `data` folder
10+
- then run one of:
11+
```
12+
# no pre-training
13+
python train.py --pre-epoch 0 --data-path data/airlines_processed.csv --num-epochs 50 --view1-col first_utterance --view2-col context
14+
15+
# ae pre-training
16+
python train.py --pre-model ae --pre-epoch 20 --data-path data/airlines_processed.csv --num-epochs 50 --view1-col first_utterance --view2-col context
17+
18+
# qt pre-training
19+
python train.py --pre-model qt --pre-epoch 10 --data-path data/airlines_processed.csv --num-epochs 50 --view1-col first_utterance --view2-col context
20+
```
21+
- to train on askubuntu, replace `airlines` with `askubuntu` in the above command-lines

0 commit comments

Comments
 (0)