File tree 2 files changed +9
-1
lines changed
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -17,3 +17,11 @@ python preprocess_dataset.py --glove_file /path/to/your/glove --input_files /pat
17
17
``` bash
18
18
python train.py --glove_file /path/to/your/glove --input_train_file_pattern " /path/to/save/tfrecords/train-?????-of-?????" --input_valid_file_pattern " /path/to/save/tfrecords/valid-?????-of-?????" --train_dir /path/to/save/checkpoints
19
19
```
20
+
21
+ ## Experiment result
22
+ With the default settings in configurations.py, I obtained a dev accuracy of 83.72% in epoch 5,
23
+ 83.37% in epoch 10.
24
+
25
+ ## Tips for fine-tuning
26
+ Don't dropout too much. When the classifier and encoder dropout are both set to 0.5, both the
27
+ train and the dev accuracy is decreased below 70%.
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ def __init__(self):
14
14
self .shuffle = True
15
15
self .uniform_init_scale = 0.1
16
16
self .num_classes = 3
17
- self .nonlinear_classifier = False
17
+ self .nonlinear_classifier = True
18
18
self .encoder_dropout = 0.0
19
19
self .classifier_dropout = 0.0
20
20
You can’t perform that action at this time.
0 commit comments